Skip to content
Snippets Groups Projects
Verified Commit e3fa1bc6 authored by Jake's avatar Jake
Browse files

use em in .content

parent 4d095e58
No related branches found
No related tags found
No related merge requests found
...@@ -335,24 +335,24 @@ hr { ...@@ -335,24 +335,24 @@ hr {
.content dl, .content dl,
.content table, .content table,
.content pre { .content pre {
margin: 0 0 1rem 0; margin: 0 0 1em 0;
} }
.content ul, .content ul,
.content ol { .content ol {
padding-left: 2rem; padding-left: 2em;
} }
.content h1 { .content h1 {
padding-bottom: 0.3rem; padding-bottom: 0.3em;
font-size: 2rem; font-size: 2em;
border-bottom: 0.1rem solid var(--hline-color); border-bottom: 0.1em solid var(--hline-color);
} }
.content h2 { .content h2 {
padding-bottom: 0.3rem; padding-bottom: 0.3em;
font-size: 1.5rem; font-size: 1.5em;
border-bottom: 0.1rem solid var(--hline-color); border-bottom: 0.1em solid var(--hline-color);
} }
.content h1, .content h1,
...@@ -361,8 +361,8 @@ hr { ...@@ -361,8 +361,8 @@ hr {
.content h4, .content h4,
.content h5, .content h5,
.content h6 { .content h6 {
margin-top: 1.5rem; margin-top: 1.5em;
margin-bottom: 1rem; margin-bottom: 1em;
font-weight: 600; font-weight: 600;
line-height: 1.25; line-height: 1.25;
} }
...@@ -376,18 +376,18 @@ hr { ...@@ -376,18 +376,18 @@ hr {
.content .codeinline { .content .codeinline {
background-color: rgba(0, 0, 0, 0.04); background-color: rgba(0, 0, 0, 0.04);
color: inherit; color: inherit;
padding: 0.5rem 0.2rem; padding: 0.5em 0.2em;
} }
.content .codeblock { .content .codeblock {
background-color: #272822; background-color: #272822;
color: #f8f8f2; color: #f8f8f2;
padding: 0.5rem 1rem; padding: 0.5em 1em;
} }
.content blockquote { .content blockquote {
border-left: 0.25rem solid #ddd; border-left: 0.25em solid #ddd;
padding: 0 1rem; padding: 0 1em;
color: #777; color: #777;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment