Sass progress

This commit is contained in:
Michał Gdula 2022-08-12 11:28:19 +00:00
parent 4007f47e49
commit 302fe6c15e
9 changed files with 296 additions and 93 deletions

View file

@ -1,15 +1,28 @@
@mixin defaultDecoration($border) {
width: calc(100% - 2.4rem);
padding: 0.5rem;
margin-bottom: 1rem; padding: 0.5rem;
width: calc(100% - 1.4rem);
background-color: $bg; color: $fg;
border-radius: $rad;
border: 0.2rem solid $border;
box-shadow: $shadow;
>* {
margin-top: 0; margin-bottom: 0.5rem;
}
}
@mixin defaultFont() {
h1, h2, h3, h4, h5 {
font-family: $font-header;
}
p, a, button, input {
font-family: $font-body;
}
}
@mixin flexDown($justify) {