5
5
// Typography
6
6
7
7
a , table .table a {
8
- color : $ theme-color ;
8
+ color : var ( --global- theme-color) ;
9
9
& :hover {
10
- color : $ theme-color ;
10
+ color : var ( --global- theme-color) ;
11
11
text-decoration : underline ;
12
12
}
13
13
& :hover :after {
@@ -65,7 +65,7 @@ a, table.table a {
65
65
color : inherit ;
66
66
font-size : 0.875rem ;
67
67
& :hover {
68
- color : $ theme-color ;
68
+ color : var ( --global- theme-color) ;
69
69
text-decoration : none ;
70
70
}
71
71
}
@@ -78,6 +78,7 @@ a, table.table a {
78
78
box-shadow : none ;
79
79
border-bottom : 1px solid $grey-color-light ;
80
80
opacity : 0.95 ;
81
+ background-color : var (--global-bg-color );
81
82
}
82
83
.navbar.navbar-light {
83
84
// Remove link decoration
@@ -86,25 +87,27 @@ a, table.table a {
86
87
text-decoration : none ;
87
88
}
88
89
}
90
+ .navbar-brand {
91
+ color : var (--global-text-color );
92
+ }
89
93
.navbar-nav .nav-item .nav-link {
90
94
& :hover {
91
- color : $theme- color ;
95
+ color : var ( --global-hover- color) ;
92
96
}
93
97
}
94
98
.navbar-nav .nav-item.active >.nav-link {
95
99
background-color : inherit ;
96
- color : $theme-color ;
97
100
font-weight : bolder ;
101
+ color : var (--global-theme-color );
98
102
& :hover {
99
- color : $theme- color ;
103
+ color : var ( --global-hover- color) ;
100
104
}
101
105
}
102
106
.contact-icon {
103
107
font-size : 2rem ;
104
108
a {
105
- color : $grey-color-dark ;
106
109
& :hover {
107
- color : $theme- color ;
110
+ color : var ( --global-hover- color) ;
108
111
}
109
112
}
110
113
}
@@ -150,8 +153,12 @@ a, table.table a {
150
153
151
154
.news table td {
152
155
font-size : 1rem ;
156
+ color : var (--global-text-color );
153
157
}
154
158
159
+ .news table th {
160
+ color : var (--global-text-color );
161
+ }
155
162
156
163
// Social (bottom)
157
164
@@ -160,9 +167,9 @@ a, table.table a {
160
167
.contact-icon {
161
168
font-size : 4rem ;
162
169
a {
163
- color : $grey-color-dark ;
170
+ color : var ( --global-icon-color ) ;
164
171
& :hover {
165
- color : $ theme-color ;
172
+ color : var ( --global- theme-color) ;
166
173
}
167
174
}
168
175
}
@@ -173,19 +180,18 @@ a, table.table a {
173
180
174
181
175
182
// Footer
176
-
177
183
footer .fixed-bottom {
178
- color : lighten ( $grey- color, 25 % );
179
- background-color : $grey-color-dark ;
184
+ color : var ( --global-footer-text- color );
185
+ background-color : var ( --global-footer-bg-color ) ;
180
186
font-size : 0.75rem ;
181
187
.container {
182
188
padding-top : 9px ;
183
189
padding-bottom : 8px ;
184
190
}
185
191
a {
186
- color : white ;
192
+ color : var ( --global-footer-link-color ) ;
187
193
& :hover {
188
- color : lighten ( $theme-color , 25 % ) ;
194
+ color : pink ;
189
195
text-decoration : none ;
190
196
}
191
197
}
@@ -207,7 +213,7 @@ footer.sticky-bottom {
207
213
padding-top : 2rem ;
208
214
padding-bottom : 5rem ;
209
215
h1 {
210
- color : $ theme-color ;
216
+ color : var ( --global- theme-color) ;
211
217
font-size : 5rem ;
212
218
}
213
219
}
@@ -227,19 +233,19 @@ footer.sticky-bottom {
227
233
margin-bottom : 0 ;
228
234
}
229
235
a {
230
- color : black ;
236
+ color : var ( --global-text-color ) ;
231
237
text-decoration : none ;
232
238
& :hover {
233
- color : $ theme-color ;
239
+ color : var ( --global- theme-color) ;
234
240
}
235
241
}
236
242
}
237
243
}
238
244
239
245
.pagination .page-item.active .page-link {
240
- background-color : $ theme-color ;
246
+ background-color : var ( --global- theme-color) ;
241
247
& :hover {
242
- background-color : $ theme-color ;
248
+ background-color : var ( --global- theme-color) ;
243
249
}
244
250
}
245
251
@@ -248,7 +254,7 @@ footer.sticky-bottom {
248
254
249
255
.distill {
250
256
a :hover {
251
- border-bottom-color : $ theme-color ;
257
+ border-bottom-color : var ( --global- theme-color) ;
252
258
text-decoration : none ;
253
259
}
254
260
}
@@ -264,7 +270,7 @@ footer.sticky-bottom {
264
270
color : black ;
265
271
text-decoration : none ;
266
272
& :hover {
267
- color : $ theme-color ;
273
+ color : var ( --global- theme-color) ;
268
274
}
269
275
}
270
276
}
@@ -279,7 +285,7 @@ footer.sticky-bottom {
279
285
.publications {
280
286
margin-top : 2rem ;
281
287
h1 {
282
- color : $ theme-color ;
288
+ color : var ( --global- theme-color) ;
283
289
font-size : 2rem ;
284
290
text-align : center ;
285
291
margin-top : 1em ;
@@ -311,7 +317,7 @@ footer.sticky-bottom {
311
317
margin-bottom : 0.5rem ;
312
318
abbr {
313
319
display : inline-block ;
314
- background-color : $ theme-color ;
320
+ background-color : var ( --global- theme-color) ;
315
321
padding-left : 1rem ;
316
322
padding-right : 1rem ;
317
323
a {
@@ -322,16 +328,16 @@ footer.sticky-bottom {
322
328
}
323
329
}
324
330
.award {
325
- color : $ theme-color !important ;
326
- border : 1px solid $ theme-color ;
331
+ color : var ( --global- theme-color) !important ;
332
+ border : 1px solid var ( --global- theme-color) ;
327
333
}
328
334
}
329
335
.title {
330
336
font-weight : bolder ;
331
337
}
332
338
.author {
333
339
a {
334
- border-bottom : 1px dashed $ theme-color ;
340
+ border-bottom : 1px dashed var ( --global- theme-color) ;
335
341
& :hover {
336
342
border-bottom-style : solid ;
337
343
text-decoration : none ;
@@ -344,15 +350,15 @@ footer.sticky-bottom {
344
350
}
345
351
.links {
346
352
a .btn {
347
- color : $ text-color ;
348
- border : 1px solid $ text-color ;
353
+ color : var ( --global- text-color) ;
354
+ border : 1px solid var ( --global- text-color) ;
349
355
padding-left : 1rem ;
350
356
padding-right : 1rem ;
351
357
padding-top : 0.25rem ;
352
358
padding-bottom : 0.25rem ;
353
359
& :hover {
354
- color : $ theme-color ;
355
- border-color : $ theme-color ;
360
+ color : var ( --global- theme-color) ;
361
+ border-color : var ( --global- theme-color) ;
356
362
}
357
363
}
358
364
}
@@ -394,3 +400,16 @@ footer.sticky-bottom {
394
400
}
395
401
}
396
402
}
403
+
404
+ // Rouge Color Customization
405
+ code {
406
+ color : var (--global-theme-color );
407
+ }
408
+ // Transitioning Themes
409
+ html .transition ,
410
+ html .transition * ,
411
+ html .transition * :before ,
412
+ html .transition * :after {
413
+ transition : all 750ms !important ;
414
+ transition-delay : 0 !important ;
415
+ }
0 commit comments