-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcustom.css
More file actions
160 lines (137 loc) · 3.38 KB
/
Copy pathcustom.css
File metadata and controls
160 lines (137 loc) · 3.38 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
/**
* 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.
*/
:root {
--primary: #AF788B;
--primary-dark: #8B5E6F;
--primary-deeper: #6E4556;
--primary-light: #C9A0AE;
--primary-soft: rgba(175, 120, 139, 0.12);
--text: #1e293b;
--text-light: #5a4a52;
--bg: #ffffff;
--bg-secondary: #F5EBEE;
--bg-offset: #F6F8FA;
--card-bg: #FAF5F7;
--border: #E2E8F0;
--code-bg: #0F172A;
--code-text: #E2E8F0;
--code-comment: #6272A4;
--code-keyword: #FF79C6;
--ifm-color-primary: #AF788B;
--ifm-color-primary-dark: #8B5E6F;
--ifm-color-primary-darker: #7a5062;
--ifm-color-primary-darkest: #6E4556;
--ifm-color-primary-light: #C9A0AE;
--ifm-color-primary-lighter: #d3b0bb;
--ifm-color-primary-lightest: #e8d0d8;
--ifm-code-font-size: 95%;
--docusaurus-highlighted-code-line-bg: rgba(175, 120, 139, 0.1);
}
[data-theme='dark'] {
--text: #EEF2FF;
--text-light: #8B9AB0;
--bg: #0A0C10;
--bg-secondary: #11151A;
--bg-offset: #11151A;
--card-bg: #11151A;
--border: #1E293B;
--primary-soft: rgba(201, 160, 174, 0.15);
--code-bg: #010409;
--code-text: #E2E8F0;
--code-comment: #6272A4;
--code-keyword: #FF79C6;
--ifm-color-primary: #C9A0AE;
--ifm-color-primary-dark: #b88d9d;
--ifm-color-primary-darker: #af7f91;
--ifm-color-primary-darkest: #96637A;
--ifm-color-primary-light: #d3b0bb;
--ifm-color-primary-lighter: #ddc0cb;
--ifm-color-primary-lightest: #ebd5dc;
--docusaurus-highlighted-code-line-bg: rgba(175, 120, 139, 0.2);
}
/* ===== Navbar ===== */
.navbar {
background-color: var(--bg) !important;
border-bottom: none !important;
box-shadow: none !important;
height: 68px !important;
padding: 0 1.5rem !important;
}
.navbar__inner {
height: 68px !important;
max-width: 1200px;
margin: 0 auto;
}
.navbar__brand {
height: 68px !important;
}
.navbar__title {
font-size: 1.4rem !important;
font-weight: 700 !important;
color: var(--text) !important;
letter-spacing: -0.01em;
}
.navbar__logo {
height: 36px;
margin-right: 0.6rem;
}
.navbar__link {
font-size: 0.95rem !important;
font-weight: 500 !important;
color: var(--text-light) !important;
transition: color 0.15s !important;
}
.navbar__link:hover {
color: var(--primary-dark) !important;
}
.navbar__link--active {
color: var(--primary-dark) !important;
}
[data-theme='dark'] .navbar {
background-color: var(--bg) !important;
border-bottom: none !important;
}
[data-theme='dark'] .navbar__title {
color: var(--text) !important;
}
[data-theme='dark'] .navbar__link {
color: var(--text-light) !important;
}
[data-theme='dark'] .navbar__link:hover {
color: var(--primary-light) !important;
}
[data-theme='dark'] .navbar__link--active {
color: var(--primary-light) !important;
}
/* ===== Footer ===== */
.footer {
background-color: transparent !important;
padding: 5rem 1.5rem 1.5rem;
}
.footer__title {
font-size: 0.85rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.08em;
color: var(--text);
margin-bottom: 1rem;
}
.footer__link-item {
font-size: 0.92rem;
color: var(--text-light);
line-height: 2;
transition: color 0.15s;
}
.footer__link-item:hover {
color: var(--primary);
}
.footer__link-item svg {
display: none;
}
.footer__copyright {
font-size: 0.88rem;
color: var(--text-light);
}