GenderDysphoria.fyi/scss/_global.scss

43 lines
729 B
SCSS
Raw Permalink Normal View History

2020-02-20 14:38:25 -08:00
body {
font-family: $font-primary;
}
// Prevents the page header from blocking view of
// the element targeted by the fragment in the URL
[id] {
scroll-margin-top: 60px;
}
@media screen and (min-width: 500px) and (max-width: 800px) {
[id] {
scroll-margin-top: 100px;
}
}
h1:target, h2:target, h3:target, h4:target, h5:target, h6:target {
background-color: yellow !important;
}
2020-02-20 14:38:25 -08:00
span.svg-icon {
$size: 1.5em;
display: inline-block;
position: relative;
height: $size;
width: $size;
line-height: 1;
svg {
width: 100%;
height: 100%;
fill: currentColor;
2020-03-05 19:42:57 -08:00
vertical-align: baseline;
2020-02-20 14:38:25 -08:00
}
}
img.svg-icon {
height: 1.5em;
display: inline-block;
position: relative;
line-height: 1;
}