1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-04-26 14:28:25 -04:00
jarv.is/assets/sass/components/_footer.scss
Jake Jarvis 363b4edf1c
shift asset processing to webpack (#424)
also migrated SASS to latest syntax (via dart-sass) and vastly simplified light/dark theme logic
2021-06-19 17:19:01 -04:00

49 lines
910 B
SCSS

@use "../abstracts/settings";
@use "../abstracts/themes";
// Global Footer Styles
footer {
width: 100%;
letter-spacing: -0.005em;
padding: 1.25em 1.5em;
border-top: 1px solid;
@include themes.themed(color, "medium-dark");
@include themes.themed(border-color, "kinda-light");
a {
@include themes.themed(color, "medium-dark");
}
div.row {
display: flex;
width: 100%;
max-width: settings.$max-width;
margin: 0 auto;
justify-content: space-between;
font-size: 0.85em;
line-height: 2.3;
}
// underline View Source link
a#source {
padding-bottom: 2px;
border-bottom: 1px solid;
@include themes.themed(border-color, "light");
}
}
// Responsive
@mixin responsive() {
footer {
padding: 1em 1.25em 0 1.25em;
// stack columns on left instead of flexboxing across
div.row {
display: block;
line-height: 2;
}
}
}