Change header margins

This commit is contained in:
Case Duckworth 2021-02-05 00:08:12 -06:00
parent 89f11b9e11
commit 272f5ba8f8
1 changed files with 13 additions and 2 deletions

View File

@ -15,7 +15,9 @@ main{
main > :last-child {
border-bottom: 2px solid;
margin-bottom: 2rem;}
margin-top: -1rem;
margin-bottom: 3rem;
}
main > :last-child::after {
content: "\2766";
@ -59,17 +61,20 @@ header a:hover,footer a:hover{
h1,h2,h3,h4,h5,h6 {
font: 1rem sans-serif;
margin: 0;
}
h1 {
text-transform: uppercase;
letter-spacing: 0.2rem;
font-weight: bold;
border-top: 2px solid;
margin: 0.5rem 0 0.8rem 0;
}
h2 {
font-style: italic;
font-weight: bold;
letter-spacing: 1px;
margin: 0.4rem 0 0.6rem 0;
}
h2::before {
content: "\261e"; /* index */
@ -79,18 +84,24 @@ h2::before {
}
h3 {
font-weight: bold;
margin: 0.3rem 0 0.4rem 0;
}
h3::before {
content: "\25ca"; /* lozenge */
position: relative;
font: 18px/1 normal normal;
margin-right: 1rem;
margin: 0 1rem;Web/acdw.net/S/
}
h4,h5,h6 { margin: 0.2rem 0 0.2rem 0; }
h4::before,
h5::before,
h6::before {
content: "\2022"; /* bullet */
margin-right: 1rem;
}
h4::before { margin-left: 2rem; }
h5::before { margin-left: 3rem; }
h6::before { margin-left: 4rem; }
pre,code {
font: 16px/1.2 monospace;