Skip to content

Commit

Permalink
Update article typography
Browse files Browse the repository at this point in the history
  • Loading branch information
Kreades committed Dec 25, 2024
1 parent 5b2008d commit 9e23abd
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion assets/sass/_article.scss
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@
display: inline-block;
font-size: 1rem;
padding: 0 .375rem;
line-height: 1.75;
}

pre {
Expand All @@ -120,6 +121,14 @@
padding: .75rem 1rem;
text-align: left;
width: 50%;

&:first-child {
border-radius: $border-radius-default 0 0 $border-radius-default;
}

&:last-child {
border-radius: 0 $border-radius-default $border-radius-default 0;
}
}

td {
Expand All @@ -131,10 +140,15 @@
}

ol, ul {
padding-inline-start: 1.25rem;
padding-inline-start: 2rem;

li {
padding-left: .5rem;

&::marker {
font-size: 1rem;
color: $font-color-gray;
}
}
}
}

0 comments on commit 9e23abd

Please sign in to comment.