-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
99 lines (89 loc) · 2.14 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
/* CSS Document */
@keyframes moveinright {
0% {
opacity: 0;
transform: translateX(100px); }
80% {
transform: translateX(-10px); }
100% {
opacity: 1;
transform: translate(0); } }
@keyframes moveinleft {
0% {
opacity: 0;
transform: translateX(-100px); }
80% {
transform: translateX(10px); }
100% {
opacity: 1;
transform: translate(0); } }
@keyframes rot {
0% { }
100% {
opacity: 1;
transform: rotate(360deg); } }
.heading-primary {
text-transform: uppercase;
color: white; }
.heading-primary--main {
display: block;
font-size: 60px;
font-weight: 400;
letter-spacing: 35px;
animation-name: moveinright;
animation-duration: 3s; }
.heading-primary--sub {
display: block;
font-size: 20px;
font-weight: 700;
letter-spacing: 17px;
animation-name: moveinleft;
animation-duration: 3s; }
.btn:link, .btn:visited {
text-transform: uppercase;
text-decoration: none;
display: inline-block;
height: 50px;
border-radius: 20px;
padding-top: 15px;
padding-left: 10px;
padding-right: 10px;
margin: 20px;
left: 120px;
position: absolute; }
.btn--white {
background-color: white;
color: black; }
.btn:active {
transform: translateY(-1px); }
.btn:hover {
transform: translateY(-3px);
box-shadow: 0 10px 20px seagreen; }
.header {
height: 95vh;
background-size: cover;
background-image: linear-gradient(to right bottom, rgba(126, 213, 111, 0.8), rgba(40, 180, 133, 0.8)), url("video-games-car-vehicle-Dodge-Dodge-Challenger-sports-cr-259461-wallhere.com.jpg");
clip-path: polygon(0 0, 100% 0, 100% 75vh, 0 100%); }
.header__logo-box {
position: absolute;
top: 40px;
left: 40px; }
.header__logo {
height: 85px; }
.header__logo:hover {
animation-name: rot;
animation-duration: 3s; }
.header__text-box {
top: 25%;
left: 298px;
position: absolute; }
* {
margin: 0;
padding: 0;
box-sizing: border-box; }
body {
font-family: Gill Sans, Gill Sans MT, Myriad Pro, DejaVu Sans Condensed, Helvetica, Arial," sans-serif";
font-weight: 400;
font-size: 16px;
line-height: 1.7;
color: white; }