Built initial navbar design

This commit is contained in:
2018-02-23 22:27:44 +11:00
parent 39c8716008
commit a383113644
4 changed files with 31 additions and 3 deletions

View File

@ -9,4 +9,5 @@
*/
.c-header {
border: 1px solid red;
position: relative;
}

View File

@ -3,12 +3,26 @@
* Styles for Navbar
*
* Dependencies:
* styles/tools/_box-shadow.scss
*
* Version:
* 1.0.0 - 2018/02/23
*/
$c-navbar--z-index: 100;
.c-navbar {
width: 100%;
width: 90%;
position: fixed;
top:3em;
left: 0;
background: white;
z-index: $c-navbar--z-index;
left: 1%;
@include t-box-shadow(-10px, 10px, 0px, rgba(0, 0, 0, 0.5));
}
.c-navbar__menu-button {
font-size: 2em;
padding: 0.5em 0.75em;
}