-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
223 lines (200 loc) · 3.87 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
216
217
218
219
220
221
222
223
/*
Josh's Custom CSS Reset
https://www.joshwcomeau.com/css/custom-css-reset/
*/
*,
*::before,
*::after {
box-sizing: border-box;
}
* {
margin: 0;
}
img,
picture,
video,
canvas,
svg {
display: block;
max-width: 100%;
}
input,
button,
textarea,
select {
font: inherit;
}
#root,
#__next {
isolation: isolate;
}
body {
background: linear-gradient(to right, rgb(77, 243, 12), rgb(9, 175, 226));
color: rgba(0, 0, 0, 0.5);
font-family: Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
sans-serif;
letter-spacing: 0.3em;
padding: 30px;
text-align: center;
overflox: hidden;
}
.linear-gradient button {
background: none;
border: none;
cursor: pointer;
}
label[for="property"] {
margin-top: 40px;
}
.random {
margin-top: 80px;
}
.random button {
outline: 0;
border: 0;
cursor: pointer;
transition: box-shadow 0.15s ease, transform 0.15s ease;
will-change: box-shadow, transform;
background: #fcfcfd;
box-shadow: 0px 2px 4px rgb(45 35 66 / 40%),
0px 7px 13px -3px rgb(45 35 66 / 30%), inset 0px -3px 0px #d6d6e7;
height: 48px;
padding: 0 32px;
font-size: 18px;
border-radius: 6px;
color: #36395a;
text-transform: uppercase;
}
.random button:hover {
box-shadow: 0px 4px 8px rgb(45 35 66 / 40%),
0px 7px 13px -3px rgb(45 35 66 / 30%), inset 0px -3px 0px #d6d6e7;
transform: translateY(-2px);
}
.random button:active {
box-shadow: inset 0px 3px 7px #d6d6e7;
transform: translateY(2px);
}
i {
color: rgba(0, 0, 0, 0.7);
margin-left: 5px;
padding: 0 5px;
}
i:hover {
color: inherit;
}
label {
display: block;
font-size: 1.5rem;
padding: 30px 10px;
margin-top: 18px;
text-transform: uppercase;
font-weight: 600;
}
.color-input {
display: flex;
}
input[type="color"] {
margin: 5px;
}
.linear-gradient {
display: flex;
justify-content: center;
box-shadow: 2.8px 2.8px 2.2px rgba(0, 0, 0, 0.02),
6.7px 6.7px 5.3px rgba(0, 0, 0, 0.028),
12.5px 12.5px 10px rgba(0, 0, 0, 0.035),
22.3px 22.3px 17.9px rgba(0, 0, 0, 0.042),
41.8px 41.8px 33.4px rgba(0, 0, 0, 0.05),
100px 100px 80px rgba(0, 0, 0, 0.07);
align-items: center;
background: #fcfcfd;
/*color: #000;*/
color: rgba(0, 0, 0, 0.7);
letter-spacing: 0;
font-family: monospace;
/* font-family: 'Iosevka';*/
font-weight: bold;
font-size: 1.3rem;
padding: 30px 20px;
border-radius: 10px;
margin: auto;
max-width: 900px;
}
h1 {
color: #fff;
font-family: "Courier";
font-size: 1.5em;
font-weight: 800;
letter-spacing: 3px;
text-shadow: rgba(13, 0, 77, 0.08) 0 2px 4px, rgba(13, 0, 77, 0.08) 0 3px 6px,
rgba(13, 0, 77, 0.08) 0 8px 16px;
text-transform: uppercase;
}
.container {
display: flex;
flex-direction: column;
font-size: 2.3rem;
justify-content: center;
align-items: center;
margin: 5vw 0 auto;
padding-top: 10px;
}
.tooltip {
position: relative;
}
.tooltip .tooltiptext {
visibility: hidden;
width: 140px;
background-color: #555;
color: #fff;
text-align: center;
border-radius: 6px;
padding: 5px;
position: absolute;
z-index: 1;
bottom: 150%;
left: 50%;
margin-left: -75px;
opacity: 0;
transition: opacity 0.3s;
}
.tooltip .tooltiptext::after {
border-color: #555 transparent transparent transparent;
border-style: solid;
border-width: 5px;
content: "";
left: 50%;
margin-left: -5px;
position: absolute;
top: 100%;
}
.tooltip:hover .tooltiptext {
opacity: 1;
visibility: visible;
}
@media screen and (max-width: 768px) and (min-width: 481px) {
.container {
font-size: 1.4rem;
margin: 16vw 0 auto;
padding-top: 45px;
}
}
@media screen and (max-width: 480px) {
.container {
margin: 0;
font-size: 1.1rem;
margin: 12vw 0 auto;
padding-top: 20px;
}
body {
letter-spacing: 0;
}
label {
font-size: 1.1rem;
}
.random {
margin-top: 40px;
}
label[for="property"] {
margin-top: 18px;
}
}