Skip to content

Commit f560e54

Browse files
committed
tweak website styling
1 parent 261be96 commit f560e54

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

website/theme/static/style.css

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ h3 {
4747

4848
code {
4949
background-color: #f5f5f5;
50-
padding: 0.25rem 0.5rem;
50+
padding: 0.15rem 0.25rem;
5151
border-radius: 4px;
5252
color: #c7254e;
5353
}
@@ -288,10 +288,8 @@ pre code {
288288
border: 1px solid #ddd;
289289
padding: 2rem;
290290
transition: transform 0.05s ease, box-shadow 0.05s ease;
291-
}
292-
293-
.article-card {
294291
cursor: pointer;
292+
box-shadow: 0 1.5px 4.5px rgba(0, 0, 0, 0.1);
295293
}
296294

297295
.article-card:hover {
@@ -309,10 +307,6 @@ pre code {
309307
color: var(--color-primary);
310308
}
311309

312-
.article-card__meta {
313-
margin-bottom: 1rem;
314-
}
315-
316310
.article-card-meta {
317311
display: flex;
318312
gap: 0.5rem;
@@ -402,7 +396,7 @@ pre code {
402396
}
403397

404398
.article-content {
405-
line-height: 1.7;
399+
line-height: 1.6;
406400
font-size: 1.125rem;
407401
color: var(--text-color);
408402
}

0 commit comments

Comments
 (0)