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:
54
website/styles/header.css
Normal file
54
website/styles/header.css
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user