figure, pre { margin: 0 0 $leading-height 0; } $main-width: columns-width(3); html, body { max-width: 100%; overflow-x: hidden; } div#grid { margin: 0 auto; padding: ($leading-height * 2) 0; width: $main-width; } @media screen and (max-width: $main-width + $gutter-width * 2) { body { padding-left: $gutter-width; padding-right: $gutter-width; } div#grid { width: 100%; } body header[role=banner] nav { text-align: left; } body header[role=banner] nav ul { display: inline; flex-direction: initial; } body header[role=banner] nav ul li { flex-grow: 0; display: inline; } body header[role=banner] nav ul li { text-align: left; margin-right: 1rem; } body header[role=banner] nav ul li a { display: inline; } } header h1 { margin-top: 0; } h2.post-date { margin-top: 0; } li h1, li h2 { margin-top: 0; } header[role=banner] { text-align: center; margin-bottom: $leading-height * 2; } header[role=banner] h1 { margin-bottom: $leading-height; } header[role=banner] h1 a { text-decoration: inherit; color: inherit; } header[role=banner] nav { width: 100%; } header[role=banner] nav ul { display: flex; flex-direction: row; margin: 0; } header[role=banner] nav ul li { list-style: none; flex-grow: 1; text-align: center; } header[role=banner] nav ul li a { display: block; } section#posts article { margin-bottom: $leading-height * 3; } .link h1, .link h2, .link h3 { line-height: $leading-height; margin-bottom: $leading-height; } #archive li, article header { margin-bottom: $leading-height; } section#archive > ul { margin-left: 0; list-style: outside none none; margin-bottom: $leading-height * 3; } article header time, h2.post-date { line-height: $line-height; margin-bottom: $leading-height; display: block; } pre code { display: block; } blockquote, pre { margin-left: $indent-width; } hr { border-top: 1px double #aaa; border-bottom: none; border-left: none; border-right: none; margin-bottom: $leading-height - 1; } sup { vertical-align: super; line-height: 0; } section hr { display: none; } article hr { display: block; } article img { vertical-align: middle; } article img, article video { max-width: 100%; }