Improves block spacing
This commit is contained in:
@@ -156,6 +156,7 @@ h2 {
|
|||||||
h3, h4, h5, h6 {
|
h3, h4, h5, h6 {
|
||||||
font-size: var(--font-size-md);
|
font-size: var(--font-size-md);
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
|
margin-block-start: var(--spacing-block-lg);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Hyperlinks */
|
/** Hyperlinks */
|
||||||
@@ -191,6 +192,12 @@ figcaption {
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Lists */
|
||||||
|
|
||||||
|
:is(ol, ul) {
|
||||||
|
margin-inline-start: var(--spacing-inline-lg);
|
||||||
|
}
|
||||||
|
|
||||||
/** Navigation bar */
|
/** Navigation bar */
|
||||||
|
|
||||||
nav {
|
nav {
|
||||||
@@ -203,6 +210,7 @@ nav ul {
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
gap: var(--spacing-inline-md);
|
gap: var(--spacing-inline-md);
|
||||||
list-style: none;
|
list-style: none;
|
||||||
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: 36rem) {
|
@media (min-width: 36rem) {
|
||||||
@@ -220,6 +228,7 @@ nav ul {
|
|||||||
|
|
||||||
.h-feed ul {
|
.h-feed ul {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
|
margin-inline: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Block quotes */
|
/** Block quotes */
|
||||||
|
|||||||
@@ -78,6 +78,7 @@ header h1 {
|
|||||||
|
|
||||||
:is(.experience, .passions) :is(ol, ul) {
|
:is(.experience, .passions) :is(ol, ul) {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
|
margin-inline: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
:is(.experience, .passions) :is(ol, ul) li {
|
:is(.experience, .passions) :is(ol, ul) li {
|
||||||
|
|||||||
Reference in New Issue
Block a user