theme: streamline block margins #92

This commit is contained in:
Sören Weber 2021-09-29 00:02:34 +02:00
parent d20698eb0f
commit 89dab09410
No known key found for this signature in database
GPG key ID: 07D17FF580AE7589
4 changed files with 19 additions and 26 deletions

View file

@ -205,10 +205,6 @@ h6 {
margin: 0.5rem 0 0.2rem 0; margin: 0.5rem 0 0.2rem 0;
} }
p {
margin: 1rem 0;
}
figcaption h4 { figcaption h4 {
font-weight: 300 !important; font-weight: 300 !important;
opacity: .85; opacity: .85;

View file

@ -498,11 +498,11 @@ th {
width: 100%; } } width: 100%; } }
body { body {
font-size: 1.05rem; font-size: 1rem;
line-height: 1.7; } line-height: 1.5; }
h1, h2, h3, h4, h5, h6 { h1, h2, h3, h4, h5, h6 {
margin: 0.85rem 0 1.7rem 0; margin: 0.85rem 0 1rem 0;
text-rendering: optimizeLegibility; } text-rendering: optimizeLegibility; }
h1 { h1 {
@ -524,17 +524,17 @@ h6 {
font-size: 0.9rem; } font-size: 0.9rem; }
p { p {
margin: 1.7rem 0; } margin: 1rem 0; }
ul, ol { ul, ol {
margin-top: 1.7rem; margin-top: 1rem;
margin-bottom: 1.7rem; } margin-bottom: 1rem; }
ul ul, ul ol, ol ul, ol ol { ul ul, ul ol, ol ul, ol ol {
margin-top: 0; margin-top: 0;
margin-bottom: 0; } margin-bottom: 0; }
blockquote { blockquote {
margin: 1.7rem 0; margin: 1.5rem 0;
padding-left: 0.85rem; } padding-left: 0.85rem; }
cite { cite {
@ -544,7 +544,7 @@ cite {
content: "\2014 \0020"; } content: "\2014 \0020"; }
pre { pre {
margin: 1.7rem 0; margin: 1.5rem 0;
padding: 0.938rem; } padding: 0.938rem; }
code { code {
@ -557,12 +557,12 @@ hr {
border-left: none; border-left: none;
border-right: none; border-right: none;
border-top: none; border-top: none;
margin: 1.7rem 0; } margin: 1.5rem 0; }
fieldset { fieldset {
border: 0; border: 0;
padding: 0.938rem; padding: 0.938rem;
margin: 0 0 1.7rem 0; } margin: 0 0 1rem 0; }
input, input,
label, label,
@ -600,7 +600,7 @@ input[type="file"] {
select { select {
width: auto; width: auto;
max-width: 100%; max-width: 100%;
margin-bottom: 1.7rem; } margin-bottom: 1rem; }
button, button,
input[type="submit"] { input[type="submit"] {

View file

@ -33,8 +33,8 @@
} }
} }
#body .tab-panel { #body .tab-panel {
margin-top: 1.7rem; margin-top: 1.5rem;
margin-bottom: 2rem; margin-bottom: 1.5rem;
} }
#body .tab-content { #body .tab-content {
background-color: #fff; background-color: #fff;

View file

@ -287,7 +287,8 @@ textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[typ
min-height: 100%; min-height: 100%;
} }
#body img, #body .video-container { #body img, #body .video-container {
margin: 1.7rem auto; margin-left: auto;
margin-right: auto;
display: block; display: block;
text-align: center; text-align: center;
} }
@ -321,8 +322,8 @@ textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[typ
} }
} }
#body h1 + hr { #body h1 + hr {
margin-top: -1.7rem; margin-top: -1rem;
margin-bottom: 3rem; margin-bottom: 2rem;
} }
@media only all and (max-width: 59.938em) { @media only all and (max-width: 59.938em) {
#body #navigation { #body #navigation {
@ -464,15 +465,11 @@ div.notices {
color: #505050; color: #505050;
-webkit-print-color-adjust: exact; -webkit-print-color-adjust: exact;
color-adjust: exact; color-adjust: exact;
margin: 2rem 0; margin: 1.5rem 0;
padding-bottom: .1px; padding-bottom: .1px;
padding-left: 1rem; padding-left: 1rem;
padding-right: 1rem; padding-right: 1rem;
} }
div.notices > * {
margin-top: 1rem;
margin-bottom: 1rem;
}
div.notices > div.label { div.notices > div.label {
color: #fff; color: #fff;
font-weight: normal; font-weight: normal;
@ -522,7 +519,7 @@ div.attachments {
color: #505050; color: #505050;
-webkit-print-color-adjust: exact; -webkit-print-color-adjust: exact;
color-adjust: exact; color-adjust: exact;
margin: 2rem 0; margin: 1.5rem 0;
padding-left: 1rem; padding-left: 1rem;
padding-right: 1rem; padding-right: 1rem;
padding-bottom: .1px; padding-bottom: .1px;