Skip to content

Commit 93ee274

Browse files
Style blog components
1 parent 29da01d commit 93ee274

File tree

1 file changed

+70
-1
lines changed

1 file changed

+70
-1
lines changed

css/typography.css

Lines changed: 70 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,76 @@
11
h1 {
22
font-size: 2rem;
3-
margin: 20px 0;
3+
margin: 2rem 0;
4+
}
5+
h2 {
6+
margin: 1rem 0;
7+
}
8+
h1,
9+
h2,
10+
h3,
11+
h4,
12+
h5,
13+
h6 {
14+
font-family: monospace;
415
}
516
.minor {
617
color: var(--minor-text);
718
}
19+
20+
.blog-title {
21+
font-family: monospace;
22+
text-align: center;
23+
}
24+
25+
.blog-list a {
26+
font-family: monospace;
27+
display: block;
28+
text-align: center;
29+
font-size: 1.2rem;
30+
}
31+
32+
.post-nav {
33+
display: flex;
34+
justify-content: space-between;
35+
margin-top: 2rem;
36+
font-family: monospace;
37+
}
38+
.post-nav a {
39+
flex: 1;
40+
}
41+
.post-nav .prev {
42+
text-align: left;
43+
}
44+
.post-nav .next {
45+
text-align: right;
46+
}
47+
48+
.subscribe-container {
49+
display: flex;
50+
flex-wrap: wrap;
51+
gap: 0.5rem;
52+
align-items: center;
53+
margin-top: 1rem;
54+
}
55+
56+
.share-buttons {
57+
display: flex;
58+
gap: 0.5rem;
59+
margin-top: 1rem;
60+
}
61+
.share-buttons svg {
62+
width: 24px;
63+
height: 24px;
64+
fill: currentColor;
65+
}
66+
67+
.embeddable-buttondown-form {
68+
display: flex;
69+
flex-wrap: wrap;
70+
gap: 0.5rem;
71+
align-items: center;
72+
}
73+
.embeddable-buttondown-form input[type="email"] {
74+
flex: 1;
75+
min-width: 200px;
76+
}

0 commit comments

Comments
 (0)