mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-27 11:56:20 -04:00
for now, at least. tired of waiting on Chromium to fix system fonts on Catalina.... https://bugs.chromium.org/p/chromium/issues/detail?id=1005969 Roboto seems closest to San Francisco.
118 lines
2.0 KiB
SCSS
118 lines
2.0 KiB
SCSS
@charset "UTF-8";
|
|
|
|
// Home Styles
|
|
main#home {
|
|
font-size: 1.3em;
|
|
max-width: 980px;
|
|
padding: 1.5em 1.75em 0.5em 1.75em;
|
|
margin: 0 auto;
|
|
|
|
h2 {
|
|
margin: 0 0 0.6em 0;
|
|
font-size: 1.6em;
|
|
font-weight: 500;
|
|
line-height: 1.2;
|
|
|
|
span#wave {
|
|
display: inline-block;
|
|
animation-name: wave;
|
|
animation-duration: 2.5s;
|
|
animation-iteration-count: infinite;
|
|
transform-origin: 70% 70%;
|
|
}
|
|
}
|
|
|
|
h3 {
|
|
margin: 0.6em 0;
|
|
font-size: 1.3em;
|
|
font-weight: 400;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
p {
|
|
margin: 0.8em 0;
|
|
}
|
|
|
|
sup {
|
|
top: -0.5em;
|
|
font-size: 0.5em;
|
|
line-height: 0;
|
|
position: relative;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
// non-link colors
|
|
span {
|
|
&#serverless {
|
|
color: $color-serverless;
|
|
}
|
|
|
|
&#shh {
|
|
color: $color-medium-light;
|
|
}
|
|
}
|
|
|
|
a {
|
|
// Loop through $colors-home -- the main reason I switched to SASS :)
|
|
@each $id, $color in $colors-home {
|
|
&##{$id} {
|
|
color: $color;
|
|
background-image: underline-hack($color);
|
|
}
|
|
}
|
|
|
|
&#blog {
|
|
font-size: 0.9em;
|
|
margin-bottom: 0;
|
|
|
|
span {
|
|
margin-right: 0.2em;
|
|
}
|
|
}
|
|
|
|
// easter egg emoji cursor
|
|
&#birthday {
|
|
&:hover {
|
|
cursor: url(data:image/svg+xml;utf8;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMCIgaGVpZ2h0PSIzNiIgdmlld3BvcnQ9IjAgMCAxMDAgMTAwIiBzdHlsZT0iZm9udC1zaXplOjE4cHgiPjx0ZXh0IHk9IjUwJSI+8J+nmjwvdGV4dD48L3N2Zz4=) 5 5, auto;
|
|
}
|
|
}
|
|
}
|
|
|
|
img#me {
|
|
float: right;
|
|
margin: 0 0 0.5em 1em;
|
|
padding: 4px;
|
|
border: 1px solid $color-light;
|
|
border-radius: 50%;
|
|
width: 160px;
|
|
height: 160px;
|
|
}
|
|
}
|
|
|
|
|
|
// Responsive
|
|
@mixin responsive--home() {
|
|
main#home {
|
|
font-size: 1.1em;
|
|
line-height: 1.6;
|
|
padding: 1.2em 1.2em 0.2em 1.2em;
|
|
|
|
h2 {
|
|
font-size: 1.3em;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
h3 {
|
|
font-size: 1.1em;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
img#me {
|
|
width: 85px;
|
|
height: 85px;
|
|
margin: 0 0 0.3em 0.6em;
|
|
padding: 2px;
|
|
}
|
|
}
|
|
}
|