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
8
app/static/css/partials/_menu.scss
Normal file → Executable file
8
app/static/css/partials/_menu.scss
Normal file → Executable file
|
|
@ -3,8 +3,8 @@
|
|||
background-color: #333;
|
||||
position: relative;
|
||||
height: 72px;
|
||||
padding-left: 16px;
|
||||
padding-top: 16px;
|
||||
padding-left: var(--spacing-2);
|
||||
padding-top: var(--spacing-2);
|
||||
@media screen and (max-width: 799px) {
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
|
|
@ -13,12 +13,12 @@
|
|||
nav {
|
||||
display: block;
|
||||
text-align: right;
|
||||
margin-right: 16px;
|
||||
margin-right: var(--spacing-2);
|
||||
@media screen and (max-width: 799px) {
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
margin-right: 0;
|
||||
margin-top: 16px;
|
||||
margin-top: var(--spacing-2);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue