aboutsummaryrefslogtreecommitdiff
path: root/sass
diff options
context:
space:
mode:
Diffstat (limited to 'sass')
-rw-r--r--sass/fonts/_Lato.scss17
-rw-r--r--sass/include/_nav.scss21
2 files changed, 21 insertions, 17 deletions
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")) {