Skip to content

Commit df54446

Browse files
committed
Apply prettier to css
1 parent 87fbe01 commit df54446

File tree

8 files changed

+26
-25
lines changed

8 files changed

+26
-25
lines changed

assets/css/common/footer.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
height: 42px;
4242
padding: 12px;
4343
border-radius: 64px;
44-
transition: visibility .5s, opacity .8s linear;
44+
transition: visibility 0.5s, opacity 0.8s linear;
4545
}
4646

4747
.top-link,

assets/css/common/header.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
height: 18px;
4141
}
4242

43-
button#theme-toggle {
43+
button#theme-toggle {
4444
font-size: 26px;
4545
margin: auto 4px;
4646
}
@@ -61,7 +61,7 @@ body:not(.dark) #sun {
6161
white-space: nowrap;
6262
}
6363

64-
#menu li+li {
64+
#menu li + li {
6565
margin-inline-start: var(--gap);
6666
}
6767

assets/css/common/main.css

+2-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ code {
4444
direction: ltr;
4545
}
4646

47-
div.highlight, pre {
47+
div.highlight,
48+
pre {
4849
position: relative;
4950
}
5051

assets/css/common/post-entry.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@
3939
padding: var(--gap);
4040
background: var(--entry);
4141
border-radius: var(--radius);
42-
transition: transform .1s;
42+
transition: transform 0.1s;
4343
border: 1px solid var(--border);
4444
}
4545

4646
.post-entry:active {
47-
transform: scale(.96);
47+
transform: scale(0.96);
4848
}
4949

5050
.tag-entry .entry-cover {

assets/css/common/post-single.css

+12-12
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171

7272
.post-content a,
7373
.toc a:hover {
74-
box-shadow: 0 1px 0;;
74+
box-shadow: 0 1px 0;
7575
}
7676

7777
.post-content a code {
@@ -123,8 +123,8 @@
123123
padding-inline-start: 10px;
124124
}
125125

126-
.post-content dd~dd,
127-
.post-content dt~dt {
126+
.post-content dd ~ dd,
127+
.post-content dt ~ dt {
128128
margin-top: 10px;
129129
}
130130

@@ -160,7 +160,7 @@
160160
border-radius: var(--radius);
161161
}
162162

163-
.post-content li>.highlight {
163+
.post-content li > .highlight {
164164
margin-inline-end: 0;
165165
}
166166

@@ -200,7 +200,7 @@
200200
.post-content code {
201201
margin: auto 4px;
202202
padding: 4px 6px;
203-
font-size: .78em;
203+
font-size: 0.78em;
204204
line-height: 1.5;
205205
background: var(--code-bg);
206206
border-radius: 2px;
@@ -210,7 +210,7 @@
210210
display: block;
211211
margin: auto 0;
212212
padding: 10px;
213-
color: rgba(255, 255, 255, .8);
213+
color: rgba(255, 255, 255, 0.8);
214214
background: 0 0;
215215
border-radius: 0;
216216
overflow-x: auto;
@@ -239,22 +239,22 @@
239239
border-radius: 4px;
240240
}
241241

242-
.post-content img[src*='#center'] {
242+
.post-content img[src*="#center"] {
243243
margin: auto;
244244
}
245245

246246
.post-content figure.align-center {
247247
text-align: center;
248248
}
249249

250-
.post-content figure>figcaption {
250+
.post-content figure > figcaption {
251251
color: var(--primary);
252252
font-size: 16px;
253253
font-weight: bold;
254254
margin: 8px 0 16px;
255255
}
256256

257-
.post-content figure>figcaption>p {
257+
.post-content figure > figcaption > p {
258258
color: var(--secondary);
259259
font-size: 14px;
260260
font-weight: normal;
@@ -265,7 +265,7 @@
265265
border: 1px solid var(--border);
266266
background: var(--code-bg);
267267
border-radius: var(--radius);
268-
padding: .4em;
268+
padding: 0.4em;
269269
}
270270

271271
.dark .toc {
@@ -352,11 +352,11 @@
352352
height: 30px;
353353
width: 30px;
354354
fill: currentColor;
355-
transition: transform .1s;
355+
transition: transform 0.1s;
356356
}
357357

358358
.share-buttons svg:active {
359-
transform: scale(.96);
359+
transform: scale(0.96);
360360
}
361361

362362
h1:hover .anchor,

assets/css/common/profile-mode.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@
3434
border-radius: var(--radius);
3535
margin: 8px;
3636
padding: 6px;
37-
transition: transform .1s;
37+
transition: transform 0.1s;
3838
}
3939

4040
.button-inner {
4141
padding: 0 8px;
4242
}
4343

4444
.button:active {
45-
transform: scale(.96);
45+
transform: scale(0.96);
4646
}

assets/css/common/search.css

+3-3
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
}
2727

2828
#searchResults li:active {
29-
transition: transform .1s;
30-
transform: scale(.98);
29+
transition: transform 0.1s;
30+
transform: scale(0.98);
3131
}
3232

3333
#searchResults a {
@@ -40,6 +40,6 @@
4040
}
4141

4242
#searchResults .focus {
43-
transform: scale(.98);
43+
transform: scale(0.98);
4444
border: 2px solid var(--tertiary);
4545
}

assets/css/common/terms.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
padding: 3px 10px;
1010
background: var(--tertiary);
1111
border-radius: 6px;
12-
transition: transform .1s;
12+
transition: transform 0.1s;
1313
}
1414

1515
.terms-tags a:active {
1616
background: var(--tertiary);
17-
transform: scale(.96);
17+
transform: scale(0.96);
1818
}

0 commit comments

Comments
 (0)