This repository has been archived by the owner on Nov 14, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
156 lines (133 loc) · 2.94 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
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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
/* importing google fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
@font-face {
font-family: "Digitalt";
src:
local("../fonts/Digitalt"),
url("../fonts/Digitalt/Digitalt.otf") format("opentype"),
url("../fonts/Digitalt/Digitalt.ttf") format("truetype");
}
@font-face {
font-family: "Play-Bold";
src:
local("../fonts"),
url("../../fonts/Play-Bold.ttf") format("truetype");
}
@font-face {
font-family: "Play-Regular";
src:
local("../fonts"),
url("../../fonts/Play-Regular.ttf") format("truetype");
}
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Play-Bold";
}
body{
background: #1AAC9F
;
}
::selection{
color: #fff;
background: #1AAC9F
;
}
section{
padding: 25px 30px 100px 30px;
background: #fff;
position: fixed;
bottom: 0;
left: 0;
/* Rectangle 47 */
background: #FFFFFF;
box-shadow: 0px -1px 20px rgba(0, 0, 0, 0.05);
border-radius: 18px 18px 0px 0px;
width: 100vw;
}
section .que_text{
font-family: "Play-Bold";
font-size: 25px;
font-weight: 600;
}
section .option_list{
padding: 20px 0px;
display: block;
position: relative;
}
section .option_list .option{
box-sizing: border-box;
width: 40vw;
height: 140px;
background: #FFFFFF;
border: 2px solid #FE99AC;
box-shadow: 0px 6px 0px #FE99AC;
border-radius: 18px;
padding:15px;
float: left;
margin-bottom: 30px;
margin-right: 2vw;
}
section .option_list .option:last-child{
margin-bottom: 0px;
}
section .option_list .option:hover{
color: #004085;
background: #cce5ff;
border: 1px solid #b8daff;
}
section .option_list .option.correct{
color: #155724;
background: #d4edda;
border: 1px solid #c3e6cb;
/* card -game */
box-sizing: border-box;
background: #65FF90;
border: 3px solid #3D9956;
box-shadow: 0px 6px 0px #3D9956;
border-radius: 18px;
}
section .option_list .option.incorrect{
color: #721c24;
background: #f8d7da;
border: 1px solid #f5c6cb;
background: #FF6565;
border: 3px solid #993D3D;
box-shadow: 0px 6px 0px #993D3D;
border-radius: 18px;
}
section .option_list .option.disabled{
pointer-events: none;
}
section .option_list .option .icon{
height: 26px;
width: 26px;
border: 2px solid transparent;
border-radius: 50%;
text-align: center;
font-size: 13px;
pointer-events: none;
transition: all 0.3s ease;
line-height: 24px;
margin-top: 30px;
right: -80px;
}
.option_list .option .icon.tick{
color: #23903c;
border-color: #23903c;
background: #d4edda;
}
.option_list .option .icon.cross{
color: #a42834;
background: #f8d7da;
border-color: #a42834;
}
footer{
height: 60px;
padding: 0 30px;
display: flex;
align-items: center;
justify-content: space-between;
border-top: 1px solid lightgrey;
}