-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
157 lines (136 loc) · 2.4 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
156
157
* {
box-sizing: border-box;
}
.box {
border-radius: 20px;
box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}
@media screen and (min-width: 600px) {
.box {
width: 80% !important;
}
}
.time {
font-weight: 600;
font-size: 20px;
}
.answers p:hover {
background-color: antiquewhite;
cursor: pointer;
}
button.disabled {
cursor: not-allowed;
}
.check_1 {
width: 18px;
min-width: 18px;
height: 18px;
}
.check_2 {
width: 8px;
height: 8px;
}
.answer.checked .check_1 {
background-color: forestgreen !important;
}
.wrapper button {
border-style: none;
letter-spacing: 3px;
outline: none;
position: relative;
overflow: hidden;
transition: all 0.5s;
}
.wrapper button span {
position: absolute;
}
.wrapper button span:nth-child(1) {
height: 3px;
width: 200px;
top: 0px;
left: -200px;
background: linear-gradient(to right, rgba(0, 0, 0, 0), #f6e58d);
border-top-right-radius: 1px;
border-bottom-right-radius: 1px;
animation: span1 2s linear infinite;
animation-delay: 1s;
}
@keyframes span1 {
0% {
left: -200px;
}
100% {
left: 200px;
}
}
.wrapper button span:nth-child(2) {
height: 70px;
width: 3px;
top: -70px;
right: 0px;
background: linear-gradient(to bottom, rgba(0, 0, 0, 0), #f6e58d);
border-bottom-left-radius: 1px;
border-bottom-right-radius: 1px;
animation: span2 2s linear infinite;
animation-delay: 2s;
}
@keyframes span2 {
0% {
top: -70px;
}
100% {
top: 70px;
}
}
.wrapper button span:nth-child(3) {
height: 3px;
width: 200px;
right: -200px;
bottom: 0px;
background: linear-gradient(to left, rgba(0, 0, 0, 0), #f6e58d);
border-top-left-radius: 1px;
border-bottom-left-radius: 1px;
animation: span3 2s linear infinite;
animation-delay: 3s;
}
@keyframes span3 {
0% {
right: -200px;
}
100% {
right: 200px;
}
}
.wrapper button span:nth-child(4) {
height: 70px;
width: 3px;
bottom: -70px;
left: 0px;
background: linear-gradient(to top, rgba(0, 0, 0, 0), #f6e58d);
border-top-right-radius: 1px;
border-top-left-radius: 1px;
animation: span4 2s linear infinite;
animation-delay: 4s;
}
@keyframes span4 {
0% {
bottom: -70px;
}
100% {
bottom: 70px;
}
}
@media screen and (max-width: 600px) {
.title,
.questionNumber {
font-size: 20px;
}
.question,
.check-question {
font-size: 16px;
}
.answer h6,
.check-answer h6 {
font-size: 13px;
}
}