-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.css
More file actions
45 lines (40 loc) · 826 Bytes
/
header.css
File metadata and controls
45 lines (40 loc) · 826 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
header,
header .container {
height: 100%;
}
header, header * {
text-align: center;
}
header:before{
content: ' ';
position: fixed;
width: 100%;
height: 100%;
top: 0;
left: 0;
background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url("subtle-patterns/symphony.png");
background-repeat: repeat;
background-position: center center;
will-change: transform;
z-index: 0;
}
#id_div_header {
height: 100%;
margin-bottom: 0;
background: initial;
}
#id_div_header_content {
height: 100%;
width: 100%;
}
#id_div_header_content > img {
max-height:100%;
position: absolute;
top: 50%;
left: 50%;
-ms-transform: translate(-50%, -50%);
-webkit-transform: translate(-50%, -50%);
-moz-transform: translate(-50%, -50%);
-o-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
}