GenderDysphoria.fyi/scss/_global.scss
G Queiroz efe9c502cf
Add Portuguese translation (light version) (#111)
* 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
2022-10-23 10:49:09 -07:00

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;
}