Skip to content

Commit

Permalink
style: add .md class to smol.css
Browse files Browse the repository at this point in the history
  • Loading branch information
neurosnap committed Jan 16, 2024
1 parent ad03bda commit 5b5d6ee
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 40 deletions.
40 changes: 0 additions & 40 deletions static/post.css
Original file line number Diff line number Diff line change
@@ -1,43 +1,3 @@
/* ==== MARKDOWN ==== */

.md h1,
.md h2,
.md h3,
.md h4 {
margin: 1.5rem 0;
font-weight: bold;
border-bottom: 2px solid var(--grey);
padding-bottom: 15px;
}

.md h1 a,
.md h2 a,
.md h3 a,
.md h4 a {
color: var(--grey-light);
text-decoration: none;
}

.md h1 {
font-size: 1.60rem;
line-height: 1.15;
}

.md h2 {
font-size: 1.45rem;
line-height: 1.15;
}

.md h3 {
font-size: 1.20rem;
}

.md h4 {
font-size: 1rem;
}

/* ==== POST ==== */

main {
overflow-y: scroll;
}
Expand Down
38 changes: 38 additions & 0 deletions static/smol.css
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,44 @@ figure {
text-align: right;
}

/* ==== MARKDOWN ==== */

.md h1,
.md h2,
.md h3,
.md h4 {
margin: 1.5rem 0;
font-weight: bold;
border-bottom: 2px solid var(--grey);
padding-bottom: 15px;
}

.md h1 a,
.md h2 a,
.md h3 a,
.md h4 a {
color: var(--grey-light);
text-decoration: none;
}

.md h1 {
font-size: 1.60rem;
line-height: 1.15;
}

.md h2 {
font-size: 1.45rem;
line-height: 1.15;
}

.md h3 {
font-size: 1.20rem;
}

.md h4 {
font-size: 1rem;
}

/* ==== HELPERS ==== */

.logo-header {
Expand Down

0 comments on commit 5b5d6ee

Please sign in to comment.