diff --git a/static/css/hugo-theme.css b/static/css/hugo-theme.css index b7e1c6fc4c..4428bdf31e 100644 --- a/static/css/hugo-theme.css +++ b/static/css/hugo-theme.css @@ -205,10 +205,6 @@ h6 { margin: 0.5rem 0 0.2rem 0; } -p { - margin: 1rem 0; -} - figcaption h4 { font-weight: 300 !important; opacity: .85; diff --git a/static/css/nucleus.css b/static/css/nucleus.css index c9e69ab6e5..f3a8c166ec 100644 --- a/static/css/nucleus.css +++ b/static/css/nucleus.css @@ -498,11 +498,11 @@ th { width: 100%; } } body { - font-size: 1.05rem; - line-height: 1.7; } + font-size: 1rem; + line-height: 1.5; } h1, h2, h3, h4, h5, h6 { - margin: 0.85rem 0 1.7rem 0; + margin: 0.85rem 0 1rem 0; text-rendering: optimizeLegibility; } h1 { @@ -524,17 +524,17 @@ h6 { font-size: 0.9rem; } p { - margin: 1.7rem 0; } + margin: 1rem 0; } ul, ol { - margin-top: 1.7rem; - margin-bottom: 1.7rem; } + margin-top: 1rem; + margin-bottom: 1rem; } ul ul, ul ol, ol ul, ol ol { margin-top: 0; margin-bottom: 0; } blockquote { - margin: 1.7rem 0; + margin: 1.5rem 0; padding-left: 0.85rem; } cite { @@ -544,7 +544,7 @@ cite { content: "\2014 \0020"; } pre { - margin: 1.7rem 0; + margin: 1.5rem 0; padding: 0.938rem; } code { @@ -557,12 +557,12 @@ hr { border-left: none; border-right: none; border-top: none; - margin: 1.7rem 0; } + margin: 1.5rem 0; } fieldset { border: 0; padding: 0.938rem; - margin: 0 0 1.7rem 0; } + margin: 0 0 1rem 0; } input, label, @@ -600,7 +600,7 @@ input[type="file"] { select { width: auto; max-width: 100%; - margin-bottom: 1.7rem; } + margin-bottom: 1rem; } button, input[type="submit"] { diff --git a/static/css/tabs.css b/static/css/tabs.css index acf95618cb..cea0126de9 100644 --- a/static/css/tabs.css +++ b/static/css/tabs.css @@ -33,8 +33,8 @@ } } #body .tab-panel { - margin-top: 1.7rem; - margin-bottom: 2rem; + margin-top: 1.5rem; + margin-bottom: 1.5rem; } #body .tab-content { background-color: #fff; diff --git a/static/css/theme.css b/static/css/theme.css index ecf006173d..95339368de 100644 --- a/static/css/theme.css +++ b/static/css/theme.css @@ -287,7 +287,8 @@ textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[typ min-height: 100%; } #body img, #body .video-container { - margin: 1.7rem auto; + margin-left: auto; + margin-right: auto; display: block; text-align: center; } @@ -321,8 +322,8 @@ textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[typ } } #body h1 + hr { - margin-top: -1.7rem; - margin-bottom: 3rem; + margin-top: -1rem; + margin-bottom: 2rem; } @media only all and (max-width: 59.938em) { #body #navigation { @@ -464,15 +465,11 @@ div.notices { color: #505050; -webkit-print-color-adjust: exact; color-adjust: exact; - margin: 2rem 0; + margin: 1.5rem 0; padding-bottom: .1px; padding-left: 1rem; padding-right: 1rem; } -div.notices > * { - margin-top: 1rem; - margin-bottom: 1rem; -} div.notices > div.label { color: #fff; font-weight: normal; @@ -522,7 +519,7 @@ div.attachments { color: #505050; -webkit-print-color-adjust: exact; color-adjust: exact; - margin: 2rem 0; + margin: 1.5rem 0; padding-left: 1rem; padding-right: 1rem; padding-bottom: .1px;