-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
138 lines (129 loc) · 2.25 KB
/
main.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
129
130
131
132
133
134
135
136
137
138
html{
zoom: 90%;
}
*{
box-sizing: border-box;
}
body{
margin-top: 40px;
background-color: rgb(66, 82, 40);
color: white;
display: flex;
flex-direction: column;
align-items: center;
height: 80vh;
margin-right: 60px;
overflow: hidden;
}
.game-container{
padding: 20px 30px;
position: relative;
}
h2{
font-size: 30px;
font-weight: 100;
}
p{
font-size: 18px;
font-family: Georgia, 'Times New Roman', Times, serif;
}
.figure-container{
margin-bottom: 20px;
fill:transparent;
stroke:white;
stroke-linecap: round;
stroke-width: 3.5px;
stroke-opacity: 90%;
background-color: rgba(0, 0, 0, 0.192);
width: 470px;
padding-left: 120px;
height: 300px;
padding-top: 30px;
}
.fig-part{
display:none;
}
.wrong-word-container{
position: absolute;
top: 20px;
left: 580px;
}
#wrong-letter span{
font-size: 30px;
}
#wrong-letter p{
font-size: 22px;
}
.word{
display: flex;
position: absolute;
bottom: 10px;
font-size: 26px;
margin: 80px 0 0 150px;
}
.letter{
border-bottom:2px solid grey ;
display: inline-flex;
margin: 0 3px;
align-items: center;
justify-content: center;
width: 20px;
}
.wrap-word{
margin-top: 70px;
}
.popup{
color: white;
padding: 10px 40px;
padding-bottom: 20px;
border-radius: 10px;
position: fixed;
background-color:rgba(0, 0, 0, 0.655);
top: 0;
bottom: 0;
left: 0;
right: 0;
display: flex;
display: none;
align-items: center;
justify-content: center;
flex-direction: column;
}
.pop-modal{
background-color: white;
color: black;
padding: 100px;
}
.pop{
padding-bottom: 40px;
font-size: 30px;
font-weight: 100;
letter-spacing: 1.5px;
}
#popbtn{
margin-left:20px;
padding: 10px 30px;
background-color: transparent;
color: black;
border: 1px solid black;
border-radius: 5px;
outline: none;
cursor: pointer;
font-size: 15px;
width: 80%;
}
#popbtn:active{
transform: scaleX(1.2);
}
.notif{
background-color: rgba(0, 0, 0, 0.655);
border-radius: 10px 10px 0 0;
padding: 15px 20px;
position: absolute;
bottom: 0;
display: none;
}
.notif.show{
display: inline;
transform: translateY(-10px);
}