-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathstyle.css
More file actions
111 lines (101 loc) · 1.64 KB
/
style.css
File metadata and controls
111 lines (101 loc) · 1.64 KB
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
/*
COLORS:
Light green: #7ed56f
Medium green: #55c57a
Dark green: #28b485
*/
*,
*::after,
*::before {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-size: 1rem;
font-family: "lato", "san-serif";
font-weight: 400;
line-height: 1.7;
color: #777;
height: 100vh;
width: 100vw;
padding: 1.5rem;
}
.header {
height: 95vh;
position: relative;
background-image: linear-gradient(to right bottom, #7ed56fc1, #28b485a1),
url(./img/hero.jpg);
background-position: top;
background-size: cover;
display: flex;
justify-content: center;
align-items: center;
clip-path: polygon(0 0, 100% 0%, 100% 78%, 0% 100%);
}
.logo-box {
position: absolute;
top: 40px;
left: 40px;
animation-name: movein;
animation-duration: 5s;
}
.logo {
height: 40px;
}
.heading-primary {
color: #fff;
text-transform: uppercase;
text-align: center;
}
.heading-primary-main {
display: block;
font-size: 5rem;
letter-spacing: 3.5rem;
font-weight: 400;
animation-name: slideinleft;
animation-duration: 3s;
}
.heading-primary-sub {
display: block;
font-size: 1.5rem;
letter-spacing: 1.7rem;
animation-name: slideinright;
animation-duration: 3s;
}
@keyframes movein {
from {
opacity: 0;
transform: translateX(0%);
}
50% {
}
to {
opacity: 1;
transform: translateX(0%);
}
}
@keyframes slideinleft {
from {
opacity: 0;
transform: translateX(-100%);
}
50% {
}
to {
opacity: 1;
transform: translateX(0%);
}
}
@keyframes slideinright {
from {
opacity: 0;
transform: translateX(100%);
}
50% {
}
to {
opacity: 1;
transform: translateX(0%);
}
}