mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-26 14:38:30 -04:00
also migrated SASS to latest syntax (via dart-sass) and vastly simplified light/dark theme logic
60 lines
897 B
SCSS
60 lines
897 B
SCSS
@use "../abstracts/themes";
|
|
|
|
// Archive/List Styles
|
|
div.layout-list {
|
|
padding-top: 1.5em;
|
|
padding-bottom: 0.25em;
|
|
|
|
section.year {
|
|
font-size: 1.05em;
|
|
|
|
h2 {
|
|
font-size: 2em;
|
|
letter-spacing: -0.025em;
|
|
margin-top: 0;
|
|
margin-bottom: 0.4em;
|
|
}
|
|
|
|
ul {
|
|
list-style-type: none;
|
|
margin: 0;
|
|
padding-left: 0;
|
|
display: block;
|
|
}
|
|
|
|
li {
|
|
display: flex;
|
|
letter-spacing: -0.008em;
|
|
line-height: 1.75;
|
|
margin-bottom: 1em;
|
|
|
|
div.date {
|
|
width: 5.25em;
|
|
flex-shrink: 0;
|
|
|
|
@include themes.themed(color, "medium");
|
|
}
|
|
|
|
&:last-child {
|
|
margin-bottom: 1.6em;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Responsive
|
|
@mixin responsive() {
|
|
div.layout-list {
|
|
padding-top: 1em;
|
|
padding-bottom: 0;
|
|
|
|
section.year {
|
|
font-size: 1em;
|
|
|
|
h2 {
|
|
font-size: 1.75em;
|
|
}
|
|
}
|
|
}
|
|
}
|