diff --git a/.gitignore b/.gitignore index 3f9109d..2c969e7 100644 --- a/.gitignore +++ b/.gitignore @@ -105,3 +105,7 @@ typings/ # End of https://www.gitignore.io/api/node +# Minted +*/_minted* +*.pygtex +*.pygstyle diff --git a/css/theme/latex.css b/css/theme/latex.css index 38965e0..c85e5e2 100644 --- a/css/theme/latex.css +++ b/css/theme/latex.css @@ -436,3 +436,41 @@ kbd { border: 1px solid white !important; border-width: 1px 5px 5px 1px !important; padding: .2rem .5rem !important; } + +/* + * Emoji Fonts + * ============ + */ +@font-face { + font-family: 'Twemoji'; + src: url("../../lib/font/twemoji/TwitterColorEmoji-SVGinOT.ttf"); } + +.emoji { + font-family: "Twemoji"; } + +/* + * Links + * ============ + */ +p { + z-index: 1; } + +p a:link, p a:hover, p a:active, p a:visited { + text-decoration: none; + color: var(--secondary-dark); + font-weight: bold; + position: relative; + z-index: 1; } + p a:link::before, p a:hover::before, p a:active::before, p a:visited::before { + content: ''; + position: absolute; + width: 102%; + height: 0; + background-color: var(--secondary-light); + z-index: -1; + bottom: -5%; + left: -1%; + transition: .2s height ease; } + +p a:hover::before { + height: 110%; } diff --git a/css/theme/source/latex.scss b/css/theme/source/latex.scss index 0918f35..c504059 100644 --- a/css/theme/source/latex.scss +++ b/css/theme/source/latex.scss @@ -546,3 +546,54 @@ kbd { border-width: 1px 5px 5px 1px !important; padding: .2rem .5rem !important; } + +/* + * Emoji Fonts + * ============ + */ +@font-face { + font-family: 'Twemoji'; + src: url('../../lib/font/twemoji/TwitterColorEmoji-SVGinOT.ttf'); +} + +.emoji { + font-family: "Twemoji"; +} + +/* + * Links + * ============ + */ +p { + z-index: 1; +} + +p a { + &:link, + &:hover, + &:active, + &:visited { + text-decoration: none; + color: var(--secondary-dark); + font-weight: bold; + position: relative; + z-index: 1; + + &::before { + content: ''; + position: absolute; + width: 102%; + height: 0; + background-color: var(--secondary-light); + z-index: -1; + bottom: -5%; + left: -1%; + transition: .2s height ease; + } + } + + &:hover::before { + height: 110%; + + } +} diff --git a/lib/font/twemoji/TwitterColorEmoji-SVGinOT.ttf b/lib/font/twemoji/TwitterColorEmoji-SVGinOT.ttf new file mode 100644 index 0000000..f88c643 Binary files /dev/null and b/lib/font/twemoji/TwitterColorEmoji-SVGinOT.ttf differ diff --git a/sections/german/04/04.md b/sections/german/04/04.md index 35b6acb..a4437e4 100644 --- a/sections/german/04/04.md +++ b/sections/german/04/04.md @@ -24,7 +24,7 @@
-

Hauptdatei 👑

+

Hauptdatei 👑