-
Notifications
You must be signed in to change notification settings - Fork 1
/
style1.css
116 lines (101 loc) · 1.96 KB
/
style1.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
@import url('https://fonts.googleapis.com/css2?family=Space+Mono:ital,wght@0,400;1,700&display=swap');
* {
margin: 0;
padding: 0;
font-family: 'Space Mono',
monospace;
}
.back {
background-image: url(assets/background.png);
height: 100vh;
width: 100%;
background-size: cover;
background-position: center;
position: relative;
overflow-x: hidden;
}
.wrapper {
height: 17vh;
display: flex;
align-items: center;
justify-content: center;
}
.typing-demo {
width: 11ch;
animation: typing 2s steps(11), blink .5s step-end infinite alternate;
white-space: nowrap;
overflow: hidden;
border-right: 3px solid;
font-family: 'Space Mono', monospace;
font-size: 5em;
color: yellow;
}
@keyframes typing {
from {
width: 0
}
}
@keyframes blink {
50% {
border-color: transparent
}
}
.btncontainer {
text-align: center;
padding-top: 27.5vh;
}
.btn1 {
background-color: grey;
color: yellow;
border-radius: 8px;
font-size: 20pt;
padding: 15px 55px;
bottom: 132px;
}
.btn2 {
background-color: grey;
color: yellow;
border-radius: 8px;
font-size: 20pt;
padding: 15px 30px;
bottom: 132px;
}
.btn1:hover {
background-color: black;
font-weight: bolder;
}
.btn2:hover {
background-color: black;
font-weight: bolder;
}
.land {
background-image: url(assets/dirt.png);
height: 38%;
width: 100%;
display: block;
position: absolute;
bottom: 0;
left: 0;
right: 0;
}
.roadlp {
background-image: url(assets/road_landing_page.png);
background-repeat: no-repeat;
background-position: center;
height: 125%;
width: 100%;
display: block;
position: absolute;
bottom: 0px;
left: 0px;
right: 0;
}
.knights {
width: 200px;
left: 48%;
bottom: 300px;
transform: translateX(-50%);
position: absolute;
background-position: center;
z-index: 2;
}