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;
}
p {
margin: 1rem 0;
}
figcaption h4 {
font-weight: 300 !important;
opacity: .85;

View file

@ -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"] {

View file

@ -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;

View file

@ -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;