1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-23 21:02:09 +00:00

Size: remove some unused styles

This commit is contained in:
rohan kumar 2020-11-30 13:17:15 -08:00
parent 243238be28
commit 6ede1a393f
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479

View file

@ -60,73 +60,25 @@ main#content h1 {
main#content h2 { main#content h2 {
font-size: 1.25rem; font-size: 1.25rem;
} }
main#content h3 { main#content h3 {
font-size: 1.125rem; font-size: 1.125rem;
} }
main#content #toc {
margin: 1rem 0;
padding: 0.5rem 1rem;
}
main#content #toc nav#TableOfContents {
margin-top: 0.25rem;
}
main#content #toc ul {
list-style-type: none;
}
main#content #toc ol {
counter-reset: item;
}
main#content #toc ol li {
display: block;
}
main#content img { main#content img {
max-width: 100%; max-width: 100%;
margin: 0 auto; margin: 0 auto;
} }
main#content figure {
margin: 16px 0;
}
main#content figure img {
display: block;
max-width: 100%;
margin: 0 auto;
}
main#content figure figcaption {
font-size: 0.92em;
font-style: italic;
line-height: 1.5rem;
text-align: center;
padding: 0 1rem;
}
main#content figure figcaption h4 {
font-style: normal;
display: inline;
margin: 0;
}
main#content figure figcaption p {
display: inline;
margin: 0;
padding-left: 0.5rem;
}
main#content code { main#content code {
font-size: 16px; font-size: 16px;
} }
main#content pre, main#content pre,
main#content code { main#content code {
border: 1px solid #e3e3e3; border: 1px solid #e3e3e3;
} }
main#content pre code { main#content pre code {
border: none; border: none;
} }