Skip to content

Commit 89ec1ce

Browse files
committed
fix: line-height of site description was too large
1 parent 9ab2b73 commit 89ec1ce

File tree

1 file changed

+22
-16
lines changed

1 file changed

+22
-16
lines changed

themes/pure/assets/css/notablog.css

+22-16
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@
2323
text-decoration: none;
2424
}
2525

26-
.Navbar a:last-child>.Navbar__Btn {
26+
.Navbar a:last-child > .Navbar__Btn {
2727
/* .nav padding 20px */
2828
margin-right: 20px;
2929
}
3030

3131
.Navbar__Btn {
32-
border-radius: 5px;
32+
border-radius: 0.25rem;
3333
padding: 0 6px;
3434
line-height: 1.8125;
3535
transition: background 120ms ease-in 0s;
@@ -42,11 +42,11 @@
4242
background: rgba(55, 53, 47, 0.08);
4343
}
4444

45-
.Navbar__Btn>span {
45+
.Navbar__Btn > span {
4646
white-space: nowrap;
4747
}
4848

49-
.Navbar__Btn>span:not(:first-child) {
49+
.Navbar__Btn > span:not(:first-child) {
5050
margin-left: 6px;
5151
}
5252

@@ -57,15 +57,19 @@
5757

5858
/* Common */
5959

60-
.Header, .PageRoot, .ArticleList {
60+
.Header,
61+
.PageRoot,
62+
.ArticleList {
6163
width: 900px;
6264
max-width: 100%;
6365
margin: 0px auto;
6466
padding: 0px 96px;
6567
}
6668

6769
@media only screen and (max-width: 900px) {
68-
.Header, .PageRoot, .ArticleList {
70+
.Header,
71+
.PageRoot,
72+
.ArticleList {
6973
max-width: 87.5%;
7074
padding-left: 0px;
7175
padding-right: 0px;
@@ -88,7 +92,7 @@
8892
z-index: -1;
8993
}
9094

91-
.Header__Cover>img {
95+
.Header__Cover > img {
9296
height: calc(30vh + 50px);
9397
width: 100%;
9498
object-fit: cover;
@@ -116,12 +120,13 @@
116120
font-weight: 700;
117121
}
118122

119-
.Header>*:last-child {
123+
.Header > *:last-child {
120124
margin-bottom: 2.5rem;
121125
}
122126

123127
.Header__DescBigQuoteMark {
124128
font-size: 1.5em;
129+
line-height: 0;
125130
}
126131

127132
/* DateTagBar */
@@ -136,7 +141,7 @@
136141
margin-right: 10px;
137142
margin-bottom: 0.5rem;
138143
padding: 2px 6px;
139-
border-radius: 3px;
144+
border-radius: 0.25rem;
140145
}
141146

142147
.DateTagBar__Date {
@@ -191,7 +196,7 @@
191196
background: rgba(255, 0, 26, 0.2);
192197
}
193198

194-
.DateTagBar__Tag>a {
199+
.DateTagBar__Tag > a {
195200
border: none;
196201
}
197202

@@ -214,12 +219,12 @@
214219
font-weight: 700;
215220
}
216221

217-
.Article__Title>a {
222+
.Article__Title > a {
218223
margin-left: 5px;
219224
border-bottom: 2px solid hsl(45, 8%, 85%);
220225
}
221226

222-
.Article__Title>a:hover {
227+
.Article__Title > a:hover {
223228
border-bottom: 2px solid hsl(45, 8%, 55%);
224229
}
225230

@@ -246,7 +251,7 @@
246251
color: rgba(55, 53, 47, 0.6);
247252
}
248253

249-
.Footer>div:nth-child(2) {
254+
.Footer > div:nth-child(2) {
250255
margin: 0 3px;
251256
}
252257

@@ -267,12 +272,13 @@
267272
.Header__Icon {
268273
font-size: 55px;
269274
}
270-
.Header__Cover>img {
275+
.Header__Cover > img {
271276
height: calc(30vh + 30px);
272277
}
273278
}
274279

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))) {
276282
.Navbar {
277283
background-color: white;
278284
}
@@ -283,4 +289,4 @@
283289
/* Setting width prevents content shifting after image loaded. */
284290
width: 1.2em;
285291
vertical-align: sub;
286-
}
292+
}

0 commit comments

Comments
 (0)