-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
138 lines (138 loc) · 3.14 KB
/
style.css
File metadata and controls
138 lines (138 loc) · 3.14 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
@font-face {
font-family: 'MyCustomFont3';
src: url('fonts/RUSTICROADWAY.OTF') format('opentype');
}
*{
margin: 0;
padding: 0;
}
body{
display: flex;
justify-content: center;
background-image: url("./images/background-image.jpeg");
background-size: cover;
overflow-y: hidden;
}
.main-text{
position: absolute;
font-size: 35px;
color: black;
font-family: 'MyCustomFont3';
margin-top: 30px;
}
.container{
position: absolute;
display: flex;
justify-content: center;
width: 60%;
height: 520px;
background-color: aliceblue;
border: 2px solid white;
border-radius: 15px;
margin-top: 120px;
}
#boss-image{
position: absolute;
width: 340px;
height: 270px;
margin-top: 80px;
}
#text-field{
position: absolute;
width: 60%;
height: 45px;
border-radius: 10px;
margin-top: 370px;
border: 2px solid black;
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
font-size: 23px;
}
.masks{
display: flex;
align-items: center;
position: absolute;
width: 60%;
height: 110px;
margin-top: 0px;
}
.mask{
position: absolute;
width: 40px;
height: 50px;
margin-left: 5%;
cursor: pointer;
}
.mask:hover{
transition: 0.7s ease;
transform: scale(1.2,1.2);
}
.mask:nth-child(1){
margin-left: 85%;
}
.mask:nth-child(2){
margin-left: 65%;
}
.mask:nth-child(3){
margin-left: 45%;
}
.mask:nth-child(4){
margin-left: 25%;
}
#dont-know-button{
position: absolute;
background-color: transparent;
color: black;
border-color: transparent;
font-size: 20px;
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
font-weight: 600;
margin-top: 450px;
cursor: pointer;
}
#result-text{
position: absolute;
background-color: transparent;
color: green;
border-color: transparent;
font-size: 20px;
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
font-weight: 600;
margin-top: 480px;
cursor: pointer;
}
.wrong-result-text{
position: absolute;
background-color: transparent;
color: red;
border-color: transparent;
font-size: 20px;
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
font-weight: 600;
margin-top: 550px;
cursor: pointer;
}
#timer-div{
position: absolute;
display: flex;
justify-content: center;
align-items: center;
width: 100px;
height: 100px;
margin-top: 420px;
margin-left: 70%;
}
#timer-counter{
position: absolute;
font-size: 30px;
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
margin-right: 40px;
}
#clock-icon{
font-size: 35px;
margin-left: 50px;
}
@media screen and (max-width: 1250px){
body{
background-size: 950px 700px;
}
}