File tree Expand file tree Collapse file tree 2 files changed +19
-22
lines changed Expand file tree Collapse file tree 2 files changed +19
-22
lines changed Original file line number Diff line number Diff line change 1
1
: root {
2
+ --accent : # 2d9cdb ;
3
+ --grey : # 444 ;
2
4
--bg : # fff ;
3
5
--fg : # 000 ;
4
6
--panelbg : # 1b1a21 ;
@@ -239,13 +241,29 @@ mark {
239
241
text-indent : -2em ;
240
242
line-height : 1.65rem ;
241
243
}
242
- .call-out ::before {
244
+ .call-out ::before {
243
245
content : '⚠️' ;
244
246
position : relative;
245
247
right : -105% ;
246
248
top : -1.5rem ;
247
249
font-size : 2em ;
248
250
}
251
+ a [href ] {
252
+ color : var (--accent );
253
+ text-decoration : none;
254
+ font-weight : bold;
255
+ padding : 0 2px ;
256
+ }
257
+ a [href ]: hover {
258
+ background-color : var (--accent );
259
+ color : var (--bg );
260
+ border-radius : 4px ;
261
+ }
262
+ a [href ]: focus {
263
+ outline : 2px solid var (--accent );
264
+ outline-offset : 4px ;
265
+ }
266
+
249
267
@media not speech {
250
268
.sr-only {
251
269
display : none !important ;
Original file line number Diff line number Diff line change 1
- : root {
2
- --accent : # 2d9cdb ;
3
- --grey : # 444 ;
4
- }
5
-
6
1
html {
7
2
font-size : 100% ;
8
3
scroll-behavior : smooth;
@@ -56,22 +51,6 @@ main {
56
51
margin-bottom : 8px ;
57
52
}
58
53
59
- a [href ] {
60
- color : var (--accent );
61
- text-decoration : none;
62
- font-weight : bold;
63
- }
64
-
65
- a [href ]: hover {
66
- background-color : var (--accent );
67
- color : var (--grey );
68
- }
69
-
70
- a [href ]: focus {
71
- outline : 2px solid var (--accent );
72
- outline-offset : 4px ;
73
- }
74
-
75
54
.footnotes {
76
55
font-size : 0.8em ;
77
56
}
You can’t perform that action at this time.
0 commit comments