website-2018/sgawebsite/static/css/header.css
William Zhang 804245d7f7 init move
2018-05-02 15:40:31 -04:00

131 lines
2.3 KiB
CSS

header {
position: relative;
width: 100%;
}
#banner {
width: 100%;
display: flex;
justify-content: center;
background-color: #fff;
position: relative;
z-index: 3;
vertical-align: middle;
font-size: 2.5em;
font-weight: bold;
overflow: hidden;
}
#logo {
width: 15vh;
height: 12vh;
background-image: url('../img/logo.png');
background-size: 100%;
background-position: center;
background-repeat: no-repeat;
}
#menu-toggle {
cursor: pointer;
background-color: #fff;
outline: none;
display: none;
}
#menu-toggle:hover {
background-color: #f5f5f5;
}
#menu-toggle:active {
background-color: #e0e0e0;
}
#menu-toggle>i {
width: 48px;
height: 48px;
display: block;
background-image: url('../icons/menu.png');
background-size: 50%;
background-repeat: no-repeat;
background-position: center;
}
nav#menu {
width: 100%;
display: inline-flex;
flex-direction: row;
flex-wrap: nowrap;
justify-content: center;
border-bottom: 3px solid rgb(164, 38, 44);
}
a.menu-item {
width: 12vw;
color: #000;
font-size: 1em;
z-index: 10;
display: inline-block;
float: left;
}
button.menu-item {
cursor: pointer;
font-size: 1.8em;
width: 100%;
height: 100%;
outline: none;
color: #000;
background-color: transparent;
border: none;
}
button.menu-item:hover {
color: #767676;
}
button.menu-item:active {
font-size: 1.4em;
color: #9f9f9f;
}
#dome:before {
position: absolute;
width: 100%;
height: 40vh;
min-height: 280px;
top: 0vh;
content: '';
display: block;
background-color: rgba(255, 255, 255, 0.1);
-webkit-filter: blur(10px);
filter: blur(10px);
z-index: -1;
}
#dome {
position: relative;
width: 100%;
height: 40vh;
min-height: 280px;
color: #000;
background-color: rgba(255, 255, 255, 0.6);
}
#dome:after {
position: absolute;
width: 100%;
height: 40vh;
min-height: 280px;
top: 0vh;
content: '';
display: block;
background-color: #010318;
background-image: url('../img/bg.jpg');
background-size: cover;
background-position-x: center;
background-position-y: 0;
background-repeat: no-repeat;
background-attachment: fixed;
z-index: -2;
}