moved footer to layout. changed some css

This commit is contained in:
t1enne
2022-10-22 10:45:54 +02:00
parent f6e158ab88
commit 917248fc5b
13 changed files with 60 additions and 29 deletions

View File

@@ -4,10 +4,14 @@
@import '@fontsource/open-sans/800.css';
@import '@fontsource/poppins/400.css';
@import '@fontsource/poppins/600.css';
@import './mixins.scss';
:root {
--content-padding: 12px;
--module-spacing: 12px; // margin size between lines of stuff, if needed
--header-height: 4rem; // needed for making main content scrollable;
--footer-height: 2.5rem; // needed for making main content scrollable;
--content-height: calc(100vh - var(--header-height) - var(--footer-height));
}
::selection {

View File

@@ -3,3 +3,16 @@
justify-content: center;
align-items: center;
}
@mixin screen ($breakpoint) {
@if $breakpoint == desktop {
@media only screen and (min-width: 768px) {
@content;
}
}
@if $breakpoint == mobile {
@media only screen and (max-width: 481px) {
@content;
}
}
}