aboutsummaryrefslogtreecommitdiff
path: root/assets/styles/components/navgiation.scss
diff options
context:
space:
mode:
Diffstat (limited to 'assets/styles/components/navgiation.scss')
-rw-r--r--assets/styles/components/navgiation.scss178
1 files changed, 178 insertions, 0 deletions
diff --git a/assets/styles/components/navgiation.scss b/assets/styles/components/navgiation.scss
new file mode 100644
index 0000000..53ff6b8
--- /dev/null
+++ b/assets/styles/components/navgiation.scss
@@ -0,0 +1,178 @@
+nav {
+ width: 100%;
+ background: #0f0f0f;
+ height: 80px;
+ position: fixed;
+ z-index: 1;
+}
+
+nav #brand {
+ float: left;
+ display: block;
+ margin-left: 82px;
+ line-height: 80px;
+ font-weight: bold;
+}
+
+nav #brand a {
+ color: #fff;
+ transition: all 0.3s ease-out;
+}
+
+nav #brand a:hover {
+ text-decoration: none;
+}
+
+nav #menu {
+ float: left;
+ right: 80px;
+ position: fixed;
+}
+
+nav #menu li {
+ padding-left: 30px; /* 40px */
+ display: inline-block;
+ cursor: pointer;
+ font-weight: 300;
+ line-height: 80px;
+ position: relative;
+ transition: all 0.3s ease-out;
+}
+
+nav #menu li span {
+ font-weight: 700;
+}
+
+nav #menu li a {
+ color: #fff;
+ transition: 0.5s;
+}
+
+nav #menu li a:hover {
+ text-decoration: none;
+ transition: 0.5s;
+}
+
+#menu-item-1:hover { letter-spacing: 1px; font-family: cursive; }
+#menu-item-2:hover { font-weight: bold; font-family: monospace; }
+#menu-item-3:hover { font-style: italic; font-family: Arial, Helvetica, sans-serif; }
+#menu-item-4:hover { text-decoration: underline !important; font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif; }
+#menu-item-5:hover { font-style: bold; font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif; }
+
+#toggle {
+ position: absolute;
+ right: 30px;
+ top: 20px;
+ font-weight: 300;
+ z-index: 2;
+ width: 30px;
+ height: 30px;
+ cursor: pointer;
+ float: right;
+ transition: all 0.3s ease-out;
+ visibility: hidden;
+ opacity: 0;
+}
+
+.close-btn {
+ position: absolute;
+ right: 16px;
+ font-weight: 300;
+ z-index: 2;
+ cursor: pointer;
+ top: -2px;
+ line-height: 80px;
+}
+
+#resize {
+ z-index: 1;
+ top: 0; // px
+ position: fixed;
+ background: #0f0f0f;
+ width: 100%;
+ height: 100%;
+ visibility: hidden;
+ opacity: 0;
+ transition: all 1s ease-out;
+}
+
+#resize #menu {
+ height: 90px;
+ position: absolute;
+ left: 43%;
+ transform: translateX(-40%);
+ text-align: center;
+ display: table-cell;
+ vertical-align: center;
+}
+
+#resize #menu li {
+ display: block;
+ text-align: center;
+ padding: 10px 0;
+ font-size: 50px;
+ min-height: 50px;
+ font-weight: bold;
+ cursor: pointer;
+ transition: all 0.3s ease-out;
+}
+
+#resize li:nth-child(1) {
+ margin-top: 100px; /* 140px */
+}
+
+#resize #menu li a {
+ color: #fff;
+}
+
+#resize #menu li a:hover {
+ text-decoration: none;
+}
+
+#resize.active {
+ visibility: visible;
+ opacity: 1;
+}
+
+@media(max-width: 768px) {
+ #toggle {
+ visibility: visible;
+ opacity: 1;
+ margin-top: 6px;
+ margin-right: 4px;
+ }
+
+ nav #brand {
+ margin-left: 24px;
+ }
+
+ #menu a {
+ font-size: 20px;
+ font-weight: 300;
+ }
+
+ #resize li span {
+ font-weight: bolder;
+ }
+
+ nav #menu {
+ display: none;
+ }
+}
+
+@media(min-width: 768px) {
+ #resize {
+ visibility: hidden !important;
+ }
+}
+
+/* .blur {
+ position: fixed;
+ top: 0;
+ width: 100%;
+ min-height: 50px;
+ margin-bottom: 20px;
+ background: rgba(15, 15, 15, 1);
+ z-index: 1010;
+ filter: blur(20px);
+} */