mirror of
https://github.com/GenderDysphoria/GenderDysphoria.fyi.git
synced 2025-01-30 23:06:18 +00:00
efe9c502cf
* fix(es): syntax error that prevented compilation * feat(pt): add main text translation * feat(pt): add tweets translation * feat(pt): add PDF generation to GitHub workflow * fix(pt): add misisng translations and formatting fixes * fix(css): link fragment overlap with page header * fix(css): add font Inter before Gothic A1 The Gothic A1 font lacks a few characters necessary for writing Portuguese, namely: á, í, ó, ú, ã, õ, and their upper case versions. * fix(pt): remove 'Glossário' entry from _menu.hbs * fix(build): slugify.js * fix(pt): various typos and a few missing translations. * chore: add .vscode to .gitignore
43 lines
729 B
SCSS
43 lines
729 B
SCSS
|
|
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;
|
|
}
|
|
|
|
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;
|
|
vertical-align: baseline;
|
|
}
|
|
}
|
|
|
|
img.svg-icon {
|
|
height: 1.5em;
|
|
display: inline-block;
|
|
position: relative;
|
|
line-height: 1;
|
|
}
|