From 2d0788c3981328f1fbd9de4274d2925bf9586e03 Mon Sep 17 00:00:00 2001 From: Jieiku Date: Mon, 22 May 2023 22:39:16 -0700 Subject: Add multi-lingual Support --- sass/fonts/_Lato.scss | 17 ----------------- sass/include/_nav.scss | 21 +++++++++++++++++++++ 2 files changed, 21 insertions(+), 17 deletions(-) delete mode 100644 sass/fonts/_Lato.scss (limited to 'sass') diff --git a/sass/fonts/_Lato.scss b/sass/fonts/_Lato.scss deleted file mode 100644 index 70c3d49..0000000 --- a/sass/fonts/_Lato.scss +++ /dev/null @@ -1,17 +0,0 @@ -@font-face { - font-family: 'Lato'; - src: local("Lato"), url("font/Lato.woff2");//latin regular - font-display: swap; -} -@font-face { - font-family: 'Lato'; - src: local("Lato-Italic"), url("font/Lato-Italic.woff2");//latin italic - font-style: italic; - font-display: swap; -} -@font-face { - font-family: 'Lato'; - src: local("Lato-Bold"), url("font/Lato-Bold.woff2");//latin bold - font-weight: bold; - font-display: swap; -} diff --git a/sass/include/_nav.scss b/sass/include/_nav.scss index f3a9b29..be98892 100644 --- a/sass/include/_nav.scss +++ b/sass/include/_nav.scss @@ -96,6 +96,27 @@ footer nav { margin: 0 .2rem .4rem; } } +//dropdown menu used for lang, etc. +.dropdown { + display: inline-block; + position: relative; + vertical-align: -3px; + font-weight: var(--fh); + font-size: 1.3rem; +} +.dropdown-content { + display: none; + position: absolute; + z-index: 9; + font-weight: var(--fh); + font-size: 1.3rem; +} +.dropdown:hover .dropdown-content { + display: block; + a { + text-decoration: none; + } +} // breakpoint makes header responsive for mobile layouts @if map-get($breakpoints, "md") { @media (max-width: map-get($breakpoints, "md")) { -- cgit v1.3.1