-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
215 lines (179 loc) · 3.76 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
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
:root {
--black: #171321;
--dkblue: #0d314b;
--plum: #4b0d49;
--hotmag: #ff17e4;
--magenta: #e310cb;
--aqua: #86fbfb;
--white: #f7f8fa;
--font-size: 1.3rem;
--mono: "Oxygen mono", monospace;
--sans: Oxygen, sans-serif;
}
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
body {
/* height: 100vh; */
background-image: url("./imgs/download.jpeg");
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
#form {
width: 75%;
height: 75vh;
color: white;
border-top: 5px solid cyan;
border-right: 4px solid cyan;
padding: 10px;
margin: auto auto;
border-radius: 10px;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
margin-bottom: 30px;
}
#form h1 {
text-align: center;
}
#form .message {
width: 75%;
display: flex;
justify-content: center;
}
#form .message textarea {
padding: 30px;
width: 75%;
}
#form .message textarea {
color: var(--white);
background: none;
border-radius: 6px;
}
button {
padding: 9px;
border: none;
border-radius: 3px;
margin-top: 10px;
text-align: center;
font-size: 18px;
font-weight: bold;
}
@keyframes rainbow-background {
0% {
background-color: #ff0000;
}
8.333% {
background-color: #ff8000;
}
16.667% {
background-color: #ffff00;
}
25.000% {
background-color: #80ff00;
}
33.333% {
background-color: #00ff00;
}
41.667% {
background-color: #00ff80;
}
50.000% {
background-color: #00ffff;
}
58.333% {
background-color: #0080ff;
}
66.667% {
background-color: #0000ff;
}
75.000% {
background-color: #8000ff;
}
83.333% {
background-color: #ff00ff;
}
91.667% {
background-color: #ff0080;
}
100.00% {
background-color: #ff0000;
}
}
.animate-character {
background-image: linear-gradient(-225deg, #231557 0%, #44107a 29%, #ff1361 67%, #fff800 100%);
/*background-size: auto auto;*/
/*background-clip: border-box;*/
background-size: 200% auto;
color: white;
background-clip: text;
/*-webkit-text-fill-color: transparent;*/
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
animation: textclip 2s linear infinite;
display: inline-block;
/*font-size: 50px;*/
}
@keyframes textclip {
to {
background-position: 200% center;
}
}
.RainbowBackground {
animation: rainbow-background 5s infinite;
}
.accordion {
/* background: url(./imgs/IMG_20191005_125144.jpg) no-repeat center center/cover; */
display: flexbox;
justify-content: center;
align-items: center;
width: 65%;
padding: 30px;
border-radius: 30px;
color: white;
}
.accordion .accordion-title {
margin-bottom: 30px;
text-align: center;
}
.accordion .content-container .question {
padding: 18px 0;
font-size: 22px;
cursor: pointer;
border-bottom: 1px solid #000;
position: relative;
}
.accordion .content-container .question::after {
content: '+';
position: absolute;
right: -5px;
}
.accordion .content-container .answer {
padding-top: 15px;
font-size: 22px;
line-height: 1.5;
width: 100%;
height: 0px;
overflow: hidden;
transition: .5s;
}
/* Javascript Styling Link */
.accordion .content-container.active .answer {
height: 150px;
color: #80ff00;
font-size: 18px;
}
.accordion .content-container.active .question {
font-size: 18px;
transition: .5s;
}
.accordion .content-container.active .question::after {
content: '-';
font-size: 30px;
transition: .5s;
}