add CSS variable for spacing + double spacing
This commit is contained in:
parent
6eebf2f555
commit
797902e90a
4 changed files with 24 additions and 21 deletions
|
|
@ -41,7 +41,7 @@ main > .texts {
|
|||
}
|
||||
|
||||
.text {
|
||||
margin: 8px;
|
||||
margin: var(--spacing);
|
||||
h1 {
|
||||
font-weight: bold;
|
||||
font-size: 20px;
|
||||
|
|
@ -49,9 +49,9 @@ main > .texts {
|
|||
}
|
||||
@media screen and (max-width: 799px) {
|
||||
.text {
|
||||
margin-bottom: 16px;
|
||||
margin-bottom: var(--spacing-2);
|
||||
h2 {
|
||||
margin-bottom: 8px;
|
||||
margin-bottom: var(--spacing);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue