-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
127 lines (109 loc) · 2.07 KB
/
style.css
File metadata and controls
127 lines (109 loc) · 2.07 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
*, *::before, *::after {
box-sizing: border-box;
font-family: Gotham Rounded;
}
body {
padding: 0;
margin: 0;
display: flex;
width: 100vw;
height: 100vh;
justify-content: center;
align-items: center;
background: linear-gradient(to right,#2895d4,#d888b4);
}
body.correct {
background:#169b28;
}
body.wrong {
background: #f33737;
}
p{
display: flex;
}
.container {
width: 600px;
max-width: 80%;
background-color: white;
border-radius: 5px;
padding: 30px;
box-shadow: 0 0 10px 2px;
display: block;
}
.btn-grid {
display: grid;
grid-template-columns: repeat(2, auto);
gap: 10px;
margin: 20px 0;
}
.btn {
border: 1px solid #2895d4;
background-color: linear-gradient(to right,#2895d4,#d888b4);
border-radius: 5px;
padding: 5px 10px;
color: black;
outline: none;
}
.btn:hover {
border-color: black;
}
.btn.correct {
background:#169b28;
color: black;
}
.btn.wrong {
background: #f33737;
}
.start-btn, .next-btn {
font-size: 1.5rem;
font-weight: bold;
padding: 10px 20px;
}
.controls {
display: flex;
justify-content: center;
align-items: center;
}
.hide {
display: none;
}
.modals{
position:absolute;
top:50%;
left:50%;
transform:translate(-50%,-50%);
padding:40px;
align-items: center;
justify-items: center;
display:none;
height:500px;
height:500px;
background:#fff;
border:10px solid #000;
}
.modals h1{
text-align:center;
font-weight:700;
}
.modals .btn{
border: 1px solid #2895d4;
background-color: linear-gradient(to right,#2895d4,#d888b4);
border-radius: 5px;
padding: 5px 10px;
color: black;
outline: none;
display:block;
align-items: center;
}
.modals .restart-btn{
font-size: 1.5rem;
font-weight: bold;
padding: 10px 20px;
margin-top:20px;
}
.modals .btn:hover {
border-color: black;
}
.modals.active{
display:block;
}