forked from chitimbwasc/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
181 lines (152 loc) · 3.45 KB
/
styles.css
File metadata and controls
181 lines (152 loc) · 3.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
@import "tailwindcss";
@theme {
--color-prisma-a: #cd5aff;
--color-prisma-b: #8067ff;
--color-prisma-c: #ef64ff;
--color-prisma-d: #ff4b85;
--color-prisma-e: #7faec2;
--color-prisma-f: #02b4ff;
--font-custom: "Custom", sans-serif;
--font-custom-bold: "CustomBold", sans-serif;
--font-squid: "Squid", sans-serif;
}
:root {
--nextra-content-width: 100% !important;
}
.nextra-breadcrumb {
@apply max-w-[850px] w-full mx-auto;
}
/* Load the actual font */
@font-face {
font-family: "CustomBold";
src: url("/fonts/BebasNeue-Regular.woff2") format("woff2");
font-weight: 700;
font-style: normal;
}
/* Load the actual font */
@font-face {
font-family: "Custom";
src: url("/fonts/SpaceGrotesk-VariableFont_wght.woff2") format("woff2");
font-weight: 400;
font-style: normal;
}
/* Load the actual font */
@font-face {
font-family: "Squid";
src: url("/fonts/Game_Of_Squids.woff2") format("woff2");
font-weight: 400;
font-style: normal;
}
/* Set the background color for the whole page */
.dark body {
background-color:rgb(0, 0, 0); /* Change this to your desired background color */
color: #ffffff;
}
/* Light theme styles when Nextra switches to light mode */
html:not(.dark) body {
background-color: #ffffff;
color: #333333;
}
/* Set font style for headings */
.dark h1, .dark h2, .dark h3, .dark h4, .dark h5, .dark h6 {
font-family: 'Space Grotesk', sans-serif;
color:rgb(249, 249, 249);
}
/* Set font style for links */
a {
color: #7faec2;
text-decoration: none;
}
/* Add hover effect to links */
a:hover {
color: #c362ff;
text-decoration: none;
}
.aspect {
animation: moveAround linear infinite;
transform-origin: center;
animation-play-state: running; /* Default to running */
opacity: 1;
transition: opacity 0.5s ease; /* Smooth transition */
}
.aspectAnti {
animation: moveAroundAnti linear infinite;
transform-origin: center;
animation-play-state: running;
opacity: 1;
transition: opacity 0.5s ease;
}
.aspect:hover {
opacity: 1;
transition: opacity 0.5s ease;
}
.aspectAnti:hover {
opacity: 1;
transition: opacity 0.5s ease;
}
.level:hover .aspect {
animation-play-state: paused;
}
.level:hover .aspectAnti {
animation-play-state: paused;
}
.highlighted {
opacity: 1;
transition: opacity 2s ease;
}
.unhighlighted {
opacity: 0.2;
transition: opacity 2s ease;
}
@keyframes moveAround {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
@keyframes moveAroundAnti {
from {
transform: rotate(360deg);
}
to {
transform: rotate(0deg);
}
}
.animated-rect {
transition: stroke 0.5s ease-in-out;
}
.animated-link:hover .animated-rect {
stroke: #cd5aff;
}
.linked-path {
fill: none;
stroke-width: 1.6;
stroke-linejoin: miter;
transition: stroke 0.5s ease;
pointer-events: none;
}
/* Hover Area */
.hover-area-link:hover .linked-path {
stroke: #cd5aff; /* Change the stroke color to red when hovered */
transition: stroke 0.3s ease; /* Smooth transition for stroke color change */
}
.hover-area-link {
position: relative;
}
.hover-path {
pointer-events: auto; /* Ensure the invisible hover path can be interacted with */
z-index: 1; /* Ensure it sits on top of the link */
}
/* styles/glow.css or similar */
@keyframes dashFlow {
to {
stroke-dashoffset: -7;
}
}
.animate-path {
stroke-dasharray: 6 1;
stroke-dashoffset: 0;
animation: dashFlow 2s linear infinite;
}