-
Notifications
You must be signed in to change notification settings - Fork 3
/
style.css
128 lines (110 loc) · 1.85 KB
/
style.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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&display=swap');
@import url('https://fonts.googleapis.com/css?family=lato:400,700,300');
html {
background-color: #dbad84;
height: 100%;
line-height: 1.5;
overflow-x: hidden;
overflow-y: scroll;
box-sizing: border-box;
color: #fff;
}
html, body {
font-family: "Lato", sans-serif;
font-size: 16px;
min-height: 100%;
-webkit-tap-highlight-color: transparent;
-webkit-touch-callout: none;
-webkit-text-size-adjust: 100%;
-webkit-font-smoothing: antialiased;
}
.section{
min-height: 100vh;
}
img {
max-width: 100%;
}
h1, h2, h3, h4 {
font-family: "Abril Fatface", sans-serif;
font-weight: 400;
letter-spacing: 1.5px;
}
h1 {
font-size: 9vw;
line-height: 1;
margin-top: 0;
}
.contain {
margin: 0 10%;
}
.hero-text {
width: 80%;
float: left;
}
.cat{
font-size: 18px;
letter-spacing: 2px;
position: relative;
display: inline-block;
text-transform: uppercase;
color: #FFF;
margin-top: 30px;
}
.cat:after {
position: absolute;
top: 50%;
left: 100%;
content: "";
width: 50px;
height: 1px;
background-color: #fff;
margin-left: 5px;
}
.cat.margin-bottom{
margin-bottom: 1rem;
}
.description {
letter-spacing: 1px;
width: 100%;
float: left;
margin-bottom: 1rem;
}
.description p {
font-family: "Lato", sans-serif;
font-size: 1.2rem;
}
#bg{
z-index: -1;
position: fixed;
top: 0%;
left: 0%;
width: 100%;
height: 100%;
}
#bg img {
position: absolute;
top: 40%;
left: 50%;
transform: translate(-50%, -40%);
max-width: 900px;
}
.image-one{
width: 80%;
float: left;
margin-right: 50%;
margin-bottom: 50px;
}
@media (min-width: 1280px) {
.description {
width: 50%;
}
}
@media (min-width: 600px) {
.hero-text {
width: 50%;
}
.image-one {
width: 100%;
padding-bottom: 20px;
}
}