Style tweaks

This commit is contained in:
Magnus Hoff 2017-09-27 19:46:16 +02:00
parent f205de053a
commit eaba024c3a

View file

@ -22,26 +22,49 @@ h1 {
line-height: 54px; line-height: 54px;
} }
h2 { h2, h3 {
font-family: inherit; font-family: inherit;
font-weight: bold;
font-style: normal;
font-size: 18px; font-size: 18px;
line-height: 32px; line-height: 32px;
margin-top: 32px; margin-top: 32px;
margin-bottom: 0; margin-bottom: 0;
} }
h2 {
font-weight: bold;
font-style: normal;
}
h3 {
font-weight: normal;
font-style: italic;
}
ul, ol {
padding-left: 24px;
}
h2+*, h3+* {
margin-top: 0;
}
hr {
border: none;
border-top: 1px solid black;
width: 70%;
margin: 20px auto;
}
header, article { header, article {
box-sizing: border-box; box-sizing: border-box;
max-width: 612px; max-width: 612px;
width: 100%; width: 100%;
padding-left: 6px; padding-left: 8px;
padding-right: 6px; padding-right: 8px;
} }
header { header {
margin: 60px auto 0 auto; margin: 0 auto 0 auto;
} }
article { article {
@ -204,6 +227,10 @@ h1>input {
} }
@media (min-width: 600px) { @media (min-width: 600px) {
header {
margin-top: 60px;
}
.editor-controls { .editor-controls {
position: fixed; position: fixed;
left: auto; left: auto;