-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
52 lines (44 loc) · 837 Bytes
/
Copy pathstyles.css
File metadata and controls
52 lines (44 loc) · 837 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
46
47
48
49
50
51
52
body {
margin: 0;
}
/* Header */
.large-header {
position: relative;
width: 100%;
background: #333;
overflow: hidden;
background-size: cover;
background-position: center center;
z-index: 1;
}
.demo-2 .large-header {
background-image: url('background.png');
background-position: 50% 70%;
}
.main-title {
position: absolute;
margin: 0;
padding: 0;
color: #f9f1e9;
text-align: center;
top: 50%;
left: 50%;
-webkit-transform: translate3d(-50%,-50%,0);
transform: translate3d(-50%,-50%,0);
}
.demo-2 .main-title {
font-family: 'Lato', sans-serif;
font-weight: normal;
font-size: 5vw;
letter-spacing: 1.5vw;
padding-left: 10px;
text-shadow: 0vw 0.5vw 0.5vw rgba(0, 0, 0, 0.9);
}
.main-title .thin {
font-weight: 200;
}
@media only screen and (max-width : 768px) {
.demo-2 .main-title {
font-size: 4em;
}
}