Added a header

Logo, searchbar without functionality and a profile picture. Also gave the content a margin downward because of the header.
This commit is contained in:
Lars van Hijfte
2017-01-10 16:43:16 +01:00
parent 9f7832ed6a
commit f8d66720bd
12 changed files with 113 additions and 248 deletions

54
website/styles/header.css Normal file
View File

@@ -0,0 +1,54 @@
.header {
position: fixed;
top: 0;
left: 0;
height: 80px;
width: 100%;
color: white;
background-color: #845663;
box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}
#header-logo img {
height: 80px;
vertical-align: middle;
}
#header-search {
padding-left: 48px;
}
#header-search input[type="text"] {
padding: 5px 10px;
height: 19px;
border-top-left-radius: 3px;
border-bottom-left-radius: 3px;
}
#header-search input[type="submit"] {
margin: 0 0 0 -4px;
padding: 5px;
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
}
.header div {
display: inline-block;
}
.profile-menu {
font-size: 21px;
}
.profile-menu img {
padding: 8px;
height: 64px;
vertical-align: middle;
}