-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
176 lines (166 loc) · 3.21 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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
@import url('https://fonts.googleapis.com/css2?family=Orbitron&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Space+Mono&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
color:white;
background: rgb(46, 45, 45);
width: 100w;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
flex-direction: row;
gap: 40px;
font-family: helvetica;
transition: ease .8s;
}
.input-container{
width: 500px;
height: auto;
display: flex;
gap: 10px;
flex-direction: column;
font-family: 'Orbitron', sans-serif;
}
.input-container p{
font-family: 'Space Mono';
display: none;
}
textarea{
background: rgb(46, 45, 45);
color:white;
width: 100%;
height: 50px;
padding: 10px;
transition: ease .3s;
outline: none;
}
.choice-container{
background: rgb(46, 45, 45);
width: 500px;
height: 80%;
position: relative;
transition: ease 1s;
display: none;
animation-name: fade;
animation-duration: .6s;
justify-content: space-between;
flex-direction: column;
border-radius: 10px;
}
.choices{
height: 90%;
overflow-y: auto;
overflow-x: hidden;
padding: 10px;
margin: 15px;
}
.choice{
display: inline-block;
margin: 5px 7px ;
color: black;
background: white;
padding: 5px 8px;
font-weight: bold;
font-size: 1.4rem;
border-radius: 5px;
}
.choice.highlight{
background: rgb(97, 96, 96);
color: rgb(255, 251, 251);
}
.instruction{
font-family: 'Space Mono';
color: white;
text-align: center;
border: 1px solid white;
padding: 5px;
}
.chosen{
position: absolute;
top: 0;
left:0;
height: 100%;
width: 0;
background: white;
z-index: 2;
font-family: 'Orbitron';
font-size: 3rem;
display: flex;
font-weight: bolder;
justify-content: center;
align-items: center;
transition: ease 2s;
text-align: center;
}
@keyframes fade{
0% {
opacity: 0;
transform: translate3d(100%, 0, 0);
transform: translate3d(100%, 0, 0);
height: 100px;
}
70%{
height: 100px;
}
100% {
opacity: 1;
transform: none;
transform: none;
}
}
@keyframes fadeoutwhite{
0%{ display: block;
opacity: 1;
box-shadow: inset 0 0px 0px rgb(0, 0, 0);
}
80%{
opacity: 1;
box-shadow: inset 0px 100px 0px rgb(0, 0, 0);
}
100%{
opacity: 0;
display: none;
}
}
@keyframes showresult{
0%{
width: 0;
}
30%{
width: 100%;
height: 100%;
}
70%{
width: 100%;
height: 100%;
}
100%{
width: 0;
}
}
@media (max-width: 800px) {
body{
flex-direction: column;
padding: 20px;
}
.input-container{
width: 90%;
}
.input-container p{
font-size: .8rem;
}
textarea{
max-height: 80px;
}
.instruction{
font-size: .7rem;
}
.choice-container{
width: 90%;
}
}