23
23
text-decoration : none;
24
24
}
25
25
26
- .Navbar a : last-child > .Navbar__Btn {
26
+ .Navbar a : last-child > .Navbar__Btn {
27
27
/* .nav padding 20px */
28
28
margin-right : 20px ;
29
29
}
30
30
31
31
.Navbar__Btn {
32
- border-radius : 5 px ;
32
+ border-radius : 0.25 rem ;
33
33
padding : 0 6px ;
34
34
line-height : 1.8125 ;
35
35
transition : background 120ms ease-in 0s ;
42
42
background : rgba (55 , 53 , 47 , 0.08 );
43
43
}
44
44
45
- .Navbar__Btn > span {
45
+ .Navbar__Btn > span {
46
46
white-space : nowrap;
47
47
}
48
48
49
- .Navbar__Btn > span : not (: first-child ) {
49
+ .Navbar__Btn > span : not (: first-child ) {
50
50
margin-left : 6px ;
51
51
}
52
52
57
57
58
58
/* Common */
59
59
60
- .Header , .PageRoot , .ArticleList {
60
+ .Header ,
61
+ .PageRoot ,
62
+ .ArticleList {
61
63
width : 900px ;
62
64
max-width : 100% ;
63
65
margin : 0px auto;
64
66
padding : 0px 96px ;
65
67
}
66
68
67
69
@media only screen and (max-width : 900px ) {
68
- .Header , .PageRoot , .ArticleList {
70
+ .Header ,
71
+ .PageRoot ,
72
+ .ArticleList {
69
73
max-width : 87.5% ;
70
74
padding-left : 0px ;
71
75
padding-right : 0px ;
88
92
z-index : -1 ;
89
93
}
90
94
91
- .Header__Cover > img {
95
+ .Header__Cover > img {
92
96
height : calc (30vh + 50px );
93
97
width : 100% ;
94
98
object-fit : cover;
116
120
font-weight : 700 ;
117
121
}
118
122
119
- .Header > * : last-child {
123
+ .Header > * : last-child {
120
124
margin-bottom : 2.5rem ;
121
125
}
122
126
123
127
.Header__DescBigQuoteMark {
124
128
font-size : 1.5em ;
129
+ line-height : 0 ;
125
130
}
126
131
127
132
/* DateTagBar */
136
141
margin-right : 10px ;
137
142
margin-bottom : 0.5rem ;
138
143
padding : 2px 6px ;
139
- border-radius : 3 px ;
144
+ border-radius : 0.25 rem ;
140
145
}
141
146
142
147
.DateTagBar__Date {
191
196
background : rgba (255 , 0 , 26 , 0.2 );
192
197
}
193
198
194
- .DateTagBar__Tag > a {
199
+ .DateTagBar__Tag > a {
195
200
border : none;
196
201
}
197
202
214
219
font-weight : 700 ;
215
220
}
216
221
217
- .Article__Title > a {
222
+ .Article__Title > a {
218
223
margin-left : 5px ;
219
224
border-bottom : 2px solid hsl (45 , 8% , 85% );
220
225
}
221
226
222
- .Article__Title > a : hover {
227
+ .Article__Title > a : hover {
223
228
border-bottom : 2px solid hsl (45 , 8% , 55% );
224
229
}
225
230
246
251
color : rgba (55 , 53 , 47 , 0.6 );
247
252
}
248
253
249
- .Footer > div : nth-child (2 ) {
254
+ .Footer > div : nth-child (2 ) {
250
255
margin : 0 3px ;
251
256
}
252
257
267
272
.Header__Icon {
268
273
font-size : 55px ;
269
274
}
270
- .Header__Cover > img {
275
+ .Header__Cover > img {
271
276
height : calc (30vh + 30px );
272
277
}
273
278
}
274
279
275
- @supports (not (backdrop-filter : blur (20px ))) and (not (-webkit-backdrop-filter : blur (20px ))) {
280
+ @supports (not (backdrop-filter : blur (20px ))) and
281
+ (not (-webkit-backdrop-filter : blur (20px ))) {
276
282
.Navbar {
277
283
background-color : white;
278
284
}
283
289
/* Setting width prevents content shifting after image loaded. */
284
290
width : 1.2em ;
285
291
vertical-align : sub;
286
- }
292
+ }
0 commit comments