Skip to content

Commit 74c4389

Browse files
authored
Merge pull request #109 from freedomofpress/fix-style
Enhance articles
2 parents 78fc2f0 + 4d419cc commit 74c4389

File tree

1 file changed

+7
-12
lines changed

1 file changed

+7
-12
lines changed

src/assets/css/style.css

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,11 @@ html {
4848

4949
body {
5050
background-color: var(--color-background);
51+
font-size: 1.2rem;
5152
}
5253

5354
h1 {
54-
font-size: 3.5rem;
55+
font-size: 2.8rem;
5556
line-height: 5.25rem;
5657
margin-bottom: 1rem;
5758
}
@@ -67,11 +68,10 @@ h2 {
6768
}
6869

6970
h3 {
70-
font-size: 1.2rem;
71+
font-size: 1.6rem;
7172
}
7273

7374
p {
74-
font-size: 1rem;
7575
line-height: 1.5rem;
7676
}
7777

@@ -450,12 +450,6 @@ footer .onion img {
450450
font-size: small;
451451
}
452452

453-
/* Restore numbering for ordered lists */
454-
ol {
455-
list-style-type: decimal;
456-
margin-left: 1.5em;
457-
padding-left: 1.5em;
458-
}
459453

460454
.post-time {
461455
font-weight: bold;
@@ -500,11 +494,12 @@ ul,
500494
ol {
501495
margin-top: 1rem;
502496
margin-bottom: 1rem;
503-
padding-left: 1rem;
504-
font-style: normal;
505-
font-weight: 400;
497+
margin-left: 1.5em;
498+
padding-left: 1.5em;
499+
line-height: 1.5rem;
506500
}
507501

502+
508503
/* Unordered list style */
509504
ul li {
510505
list-style-type: disc;

0 commit comments

Comments
 (0)