aboutsummaryrefslogtreecommitdiff
path: root/_scss
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2019-03-24 21:10:30 +0300
committerValentin Popov <info@valentineus.link>2019-03-24 21:12:28 +0300
commit949f289d3cc3df778088f462dcaec3a2d8933ecc (patch)
tree68555e5cef3b843493c3a561b783a9b586f31dd1 /_scss
parent9f1e42d5253bb58f2543cbc93a1ef4b128849f9f (diff)
downloadpopov.link-949f289d3cc3df778088f462dcaec3a2d8933ecc.tar.xz
popov.link-949f289d3cc3df778088f462dcaec3a2d8933ecc.zip
Add a header in the navbar
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to '_scss')
-rw-r--r--_scss/components/_navigation.scss45
1 files changed, 25 insertions, 20 deletions
diff --git a/_scss/components/_navigation.scss b/_scss/components/_navigation.scss
index 19d37f2..4edf502 100644
--- a/_scss/components/_navigation.scss
+++ b/_scss/components/_navigation.scss
@@ -13,6 +13,30 @@
width: 100%;
}
+.navigation {
+ background: $color-bg;
+ border-left: 1px solid $color-bg-alt;
+ border-right: 1px solid $color-bg-alt;
+ height: 100%;
+ left: 0;
+ margin: auto;
+ max-width: 52em;
+ padding: 0;
+ position: fixed;
+ right: 0;
+ top: 100px;
+ transform: scale(.1, 0);
+ transform-origin: 100% 0%;
+ transition: none;
+ width: 100%;
+}
+
+.navigation-header {
+ margin: 30px;
+ position: fixed;
+ text-transform: uppercase;
+}
+
.toggle-button {
display: none;
@@ -42,9 +66,8 @@
.toggle-label {
float: right;
height: 20px;
+ margin: 40px;
position: relative;
- right: 40px;
- top: 40px;
width: 15px;
&:hover {
@@ -67,21 +90,3 @@
}
}
}
-
-.navigation {
- background: $color-bg;
- border-left: 1px solid $color-bg-alt;
- border-right: 1px solid $color-bg-alt;
- height: 100%;
- left: 0;
- margin: auto;
- max-width: 52em;
- padding: 0;
- position: fixed;
- right: 0;
- top: 100px;
- transform: scale(.1, 0);
- transform-origin: 100% 0%;
- transition: none;
- width: 100%;
-}