-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
107 lines (93 loc) · 1.8 KB
/
main.css
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
html,
body {
margin: 0;
padding: 0;
font-family: sans-serif;
}
* {
box-sizing: border-box;
}
.static-header {
position: relative;
display: flex;
align-items: center;
width: 100%;
height: 100vh;
min-height: 400px;
justify-content: center;
flex-direction: column;
background-color: #000;
overflow: hidden;
}
.static-header__video {
position: absolute;
width: 100%;
height: 100%;
z-index: 0;
margin: 0 auto;
object-fit: cover;
object-position: center center;
pointer-events: none;
}
.static-header:after {
display: block;
content: '';
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
background-color:rgba(0, 0, 0, .2);
z-index: 0;
}
.static-header__content {
position: relative;
padding: 0 10px;
text-align: center;
z-index: 1;
}
.static-header h2 {
display: none;
}
.btns .charcoal-btn {
min-width: 130px;
padding: 0.5em 1em;
color: #FFFFFF;
background-color: #2E3131;
font-weight: 500;
border-radius: 3px;
text-decoration: none;
transition: background-color .25s;
}
.btns .charcoal-btn:not(:first-child) {
margin-left: 15px;
}
.btns .charcoal-btn:hover {
background-color: #00b3bf;
}
.static-header h1 {
color: #fff;
padding-bottom: 15px;
font-size: 3.3rem;
max-width: 15em;
line-height: 1.2em;
}
.static-header h2 {
max-width: 30em;
color: rgba(255, 255, 255, .7);
}
@media (max-width: 1150px) {
.static-header h1 {
font-size: 2.3rem;
}
}
@media only screen and (max-width: 768px) {
.static-header {
background: url("_img/tptg-bg.jpg");
background-position: center center;
background-size: cover;
}
.static-header__video {
display: none;
}
}