mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-27 05:38:26 -04:00
* prepare dark mode stuffs * themed all global colors * store preference in local storage * toggle styling * lightbulb position * minify bundled script with uglify-js instead of hugo * detect whether user has an OS-wide dark mode preference and use that by default * two different colors for each homepage link * inline bulb SVGs into stylesheet * fingerprint and cache styles for a year * fix lightbulb positioning with weird magic numbers, will come back to that * themed syntax highlighting * use terser instead of uglify-js (b/c of ES6)
57 lines
742 B
SCSS
57 lines
742 B
SCSS
@charset "UTF-8";
|
|
|
|
// Video Styles
|
|
main#video {
|
|
margin: 0 auto;
|
|
padding: 1.5em 0;
|
|
text-align: center;
|
|
|
|
h1 {
|
|
margin-top: 0;
|
|
letter-spacing: -0.005em;
|
|
|
|
a {
|
|
color: inherit;
|
|
}
|
|
}
|
|
|
|
p {
|
|
font-size: 0.85em;
|
|
letter-spacing: -0.005em;
|
|
line-height: 1.5;
|
|
margin: 1.25em 1em 0 1em;
|
|
|
|
@include themed() {
|
|
color: t(color-medium-light);
|
|
}
|
|
|
|
a {
|
|
font-weight: bold;
|
|
letter-spacing: 0.001em;
|
|
}
|
|
}
|
|
|
|
video {
|
|
width: 100%;
|
|
max-width: 975px;
|
|
height: auto;
|
|
}
|
|
}
|
|
|
|
// Responsive
|
|
@mixin responsive--videos() {
|
|
main#video {
|
|
padding: 1em 0;
|
|
|
|
h1 {
|
|
font-size: 1.6em;
|
|
padding: 0 0.6em;
|
|
}
|
|
|
|
video {
|
|
width: 100%;
|
|
height: auto;
|
|
}
|
|
}
|
|
}
|