-
Notifications
You must be signed in to change notification settings - Fork 137
Expand file tree
/
Copy pathcustom.css
More file actions
184 lines (163 loc) · 4.41 KB
/
custom.css
File metadata and controls
184 lines (163 loc) · 4.41 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
182
183
/**
* Any CSS included here will be global. The classic template
* bundles Infima by default. Infima is a CSS framework designed to
* work well for content-centric websites.
*/
/* You can override the default Infima variables here. */
@import "tailwindcss";
:root {
--ifm-color-primary: #2e8555;
--ifm-color-primary-dark: #29784c;
--ifm-color-primary-darker: #277148;
--ifm-color-primary-darkest: #205d3b;
--ifm-color-primary-light: #33925d;
--ifm-color-primary-lighter: #359962;
--ifm-color-primary-lightest: #3cad6e;
--ifm-code-font-size: 95%;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
}
/* For readability concerns, you should choose a lighter palette in dark mode. */
[data-theme='dark'] {
--ifm-color-primary: #25c2a0;
--ifm-color-primary-dark: #21af90;
--ifm-color-primary-darker: #1fa588;
--ifm-color-primary-darkest: #1a8870;
--ifm-color-primary-light: #29d5b0;
--ifm-color-primary-lighter: #32d8b4;
--ifm-color-primary-lightest: #4fddbf;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
}
@media screen and (min-width: 997px) {
.nav-emoji {
display: none;
}
}
@media screen and (min-width: 1205px) {
.nav-emoji {
display: inline-block;
}
}
.dropdown_grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 10px;
}
.dropbtn {
width: 110px;
background-color: transparent;
color: var(--ifm-color-primary);
padding: 14px;
font-size: 18px;
border: none;
cursor: pointer;
border-right: 1px solid #4e8da0db;
margin: 2px;
}
.nav__icons img {
width: 35px;
height: 35px;
border-radius: 50%;
}
.dropdown-content {
position: relative;
min-width: 180px;
}
.dropdown-content a:hover {
text-decoration: none;
background: linear-gradient(
90deg,
transparent 0%,
rgba(252, 176, 69, 0.285) 50%,
rgba(253, 29, 29, 0.33) 100%
);
border-radius: 50% 40%;
}
.no-scrollbar::-webkit-scrollbar {
display: none;
}
/* Force left alignment for all tabs */
.tabs,
[class*='tabs--'] {
display: flex !important;
justify-content: flex-start !important;
text-align: left !important;
margin-left: 0 !important;
padding-left: 0 !important;
width: 100% !important;
}
/* Target all possible tab item variations */
.tabs__item,
[class*='tabs__item'],
.tabItem_LNqP,
[role='tab'] {
text-align: left !important;
justify-content: flex-start !important;
margin-right: 1rem !important;
padding: 0.5rem 1rem !important;
border: 1px solid transparent !important;
border-bottom: none !important;
cursor: pointer !important;
display: inline-flex !important;
align-items: center !important;
}
/* Active tab styles */
.tabs__item--active,
[class*='tabs__item--active'],
.tabItem_LNqP[aria-selected='true'],
[role='tab'][aria-selected='true'] {
border-color: var(--ifm-toc-border-color) !important;
border-bottom-color: var(--ifm-background-color) !important;
background: var(--ifm-background-color) !important;
color: var(--ifm-color-primary) !important;
font-weight: bold !important;
}
/* Hover state */
.tabs__item:not(.tabs__item--active):hover,
[class*='tabs__item']:not([class*='--active']):hover,
[role='tab']:not([aria-selected='true']):hover {
background-color: var(--ifm-menu-color-background-active) !important;
}
/* Remove any right margin/padding that might be pushing content */
.tabs-container,
[class*='tabs-container'] {
width: 100% !important;
margin: 0 !important;
padding: 0 !important;
}
/* Ensure tab list takes full width */
[role='tablist'] {
width: 100% !important;
display: flex !important;
justify-content: flex-start !important;
margin: 0 !important;
padding: 0 !important;
}
/* Gradient text utility */
.gradient-text {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
color: transparent;
}
/* Light mode background and text fix */
[data-theme='light'] {
--ifm-background-color: #ffffff; /* white background */
--ifm-font-color-base: #000000; /* black text */
background-color: var(--ifm-background-color);
color: var(--ifm-font-color-base);
}
/* Dark mode overrides (already there, ensure it's working) */
[data-theme='dark'] {
background-color: #121212;
color: #ffffff;
}
html.theme-light .bg-white {
background-color: #ffffff !important;
}
html.theme-light .text-black {
color: #000000 !important;
}
html.theme-light .text-gray-900 {
color: #1a1a1a !important;
}