-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
241 lines (203 loc) · 4.47 KB
/
Copy pathstyles.css
File metadata and controls
241 lines (203 loc) · 4.47 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
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
/* Modernized site styling */
:root {
--kb-primary: #1F4E79; /* deep blue */
--kb-secondary: #C7D8E2; /* dusty light blue */
--kb-accent: #BA9393; /* muted terracotta accent */
--kb-bg: #F7FAFC; /* soft off-white background */
--kb-surface: #FFFFFF; /* cards / panels */
--kb-text: #24323D; /* main text */
--kb-muted: #5C6B76; /* secondary text */
--kb-border: #D9E4EA; /* soft border */
}
:root {
--bs-primary: var(--kb-primary);
--bs-secondary: var(--kb-secondary);
--bs-body-bg: var(--kb-bg);
--bs-body-color: var(--kb-text);
--bs-link-color: var(--kb-primary);
--bs-link-hover-color: var(--kb-accent);
}
body {
font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
color: var(--kb-text);
background-color: var(--kb-bg);
line-height: 1.65;
}
/* Headings */
h1, h2, h3, h4 {
color: var(--kb-primary);
font-weight: 700;
letter-spacing: -0.02em;
margin-top: 1.2rem;
margin-bottom: 0.6rem;
}
h1 {
font-size: 2.2rem;
}
h2 {
font-size: 1.5rem;
border-bottom: 1px solid var(--kb-border);
padding-bottom: 0.25rem;
}
h3 {
font-size: 1.15rem;
}
/* Body text */
p, li {
font-size: 1rem;
color: var(--kb-text);
}
/* Links */
a {
color: var(--kb-primary);
text-decoration: none;
transition: color 0.2s ease, border-color 0.2s ease;
}
a:hover {
color: var(--kb-accent);
text-decoration: none;
}
/* Sidebar */
nav.sidebar {
background: linear-gradient(180deg, #D3E1E8 0%, #C7D8E2 100%) !important;
color: var(--kb-primary);
padding: 1.25rem;
border-right: 1px solid var(--kb-border);
}
nav.sidebar * {
color: var(--kb-primary) !important;
}
nav.sidebar a {
color: var(--kb-primary) !important;
text-decoration: none;
font-weight: 600;
border-radius: 8px;
padding: 0.25rem 0.4rem;
display: inline-block;
transition: background-color 0.2s ease, color 0.2s ease;
}
nav.sidebar a:hover {
background-color: rgba(255, 255, 255, 0.45);
color: var(--kb-accent) !important;
text-decoration: none;
}
/* Main content area */
main.content {
padding-top: 1.5rem;
}
/* About / hero block */
.about-entity {
background-color: var(--kb-surface);
border: 1px solid var(--kb-border);
border-radius: 18px;
padding: 1.5rem;
box-shadow: 0 8px 24px rgba(31, 78, 121, 0.08);
}
.about-links .about-link {
background-color: var(--kb-primary);
color: white !important;
border-radius: 999px;
padding: 0.45rem 0.85rem;
margin-right: 0.45rem;
font-weight: 600;
transition: transform 0.15s ease, background-color 0.2s ease;
}
.about-links .about-link:hover {
background-color: var(--kb-accent);
color: white !important;
transform: translateY(-1px);
}
/* Profile image */
.about-image {
border-radius: 16px !important;
box-shadow: 0 8px 24px rgba(31, 78, 121, 0.12);
}
/* Listings */
.listing {
margin-bottom: 1rem;
padding: 0;
}
.listing-item {
margin-bottom: 1rem;
padding: 1rem;
background-color: var(--kb-surface);
border: 1px solid var(--kb-border);
border-radius: 14px;
box-shadow: 0 4px 14px rgba(31, 78, 121, 0.05);
}
.listing-item img {
height: 150px;
width: auto;
display: block;
border-radius: 10px;
}
.listing-item h3,
.listing-item p {
margin-top: 0.35rem;
margin-bottom: 0.35rem;
}
/* Footer */
.footer,
.nav-footer {
border-top: 1px solid var(--kb-border);
color: var(--kb-muted);
font-size: 0.95rem;
}
/* Slightly nicer blockquote styling if you ever use them */
blockquote {
border-left: 4px solid var(--kb-secondary);
padding-left: 1rem;
color: var(--kb-muted);
}
/* Mobile tweaks */
@media (max-width: 768px) {
h1 {
font-size: 1.8rem;
}
.about-entity {
padding: 1rem;
border-radius: 14px;
}
nav.sidebar {
padding: 1rem;
}
}
/* ================================
Sidebar font size (FIX)
================================ */
nav.sidebar {
font-size: 1.05rem;
}
/* sidebar links */
nav.sidebar a {
font-size: 2rem;
font-weight: 600;
}
/* sidebar section text */
nav.sidebar * {
font-size: 1.5rem;
}
/* ================================
Homepage typography
================================ */
main.content {
font-size: 1.15rem;
line-height: 1.85;
}
/* paragraph text in hero section */
#hero-heading p {
font-size: 1.2rem;
}
#hero-heading p:last-of-type {
margin-bottom: 2rem;
}
:root {
font-size: 18px !important;
}
/* Force Quarto content areas */
main.content,
div.content,
.quarto-container {
font-size: 1.05rem !important;
line-height: 1.75 !important;
}