Set margin-top instead of margin-bottom for content elements
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
64ed10ab23
commit
27311d2456
|
@ -20,7 +20,6 @@ body {
|
|||
}
|
||||
|
||||
header {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
main {
|
||||
|
@ -51,8 +50,12 @@ footer {
|
|||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6, p, ul {
|
||||
margin-bottom: 0.5em;
|
||||
margin-top: 0.5em;
|
||||
padding: 0 0.5rem;
|
||||
|
||||
&:last-child {
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
|
@ -64,7 +67,7 @@ h1 {
|
|||
}
|
||||
|
||||
figure {
|
||||
margin-bottom: 1rem;
|
||||
margin: 1rem 0;
|
||||
|
||||
img {
|
||||
max-width: 100%;
|
||||
|
|
Loading…
Reference in New Issue