-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
136 lines (132 loc) · 2.57 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
html {
font-family: 'Satoshi', sans-serif;
}
body {
text-align: center;
font-family: 'Satoshi', sans-serif;
font-weight: 800;
}
header {
position: fixed;
left: 0;
top: 0;
right: 0;
overflow: hidden;
background-color: rgba(248, 248, 248,.9);
z-index: 2;
box-shadow:0 1px 0 rgba(0,0,0,.1),0 1px 2px rgba(0,0,0,.1);
}
h1 {
font-weight: 100;
font-size: 3em;
margin: 5px 0;
font-family: 'Clash Grotesk', sans-serif;
}
p {
margin: 0;
}
p.label {
margin-top: 80px;
}
div.eight-ball {
position: relative;
background-color: black;
border: 1px solid black;
border-radius: 50%;
width: 300px;
height: 300px;
margin: 0 auto;
box-shadow:0 1px 0 rgba(99, 15, 255, 0.1),0 1px 2px rgba(99, 15, 255, 0.1);
z-index: -2;
}
div.answer {
background-color: #14006e;
border: 1px solid transparent;
border-radius: 50%;
width: 50%;
height: 50%;
margin: 25% auto;
}
div.blur {
position: absolute;
left: 50%;
transform: translateX(-50%);
z-index: -1;
background-color: #2f00ff;
border: 1px solid transparent;
border-radius: 50%;
width: 50%;
height: 50%;
margin: 25% auto;
filter:blur(45px);
}
p#eight {
font-size: 5em;
margin: 13% auto;
color: white;
}
p#answer {
padding: 25px;
color: lightblue;
letter-spacing: 2px;
}
button ,input {
margin: 15px 2.5px;
padding: 10px;
background-color: white;
border: 1px solid black;
border-radius: 10px;
cursor: pointer;
font-size: 1.2em;
font-family: 'Satoshi', sans-serif;
font-weight: 800;
letter-spacing: 2px;
transition: .1s all;
}
button:hover {
background-color: black;
color: white;
}
.back {
display: fixed;
position: absolute;
bottom: 0;
left: 0;
font-family: Roboto, sans-serif;
font-weight: 700;
font-size: 16px;
text-transform: uppercase;
outline: none;
border: none;
border-radius: 8px;
color: white;
background: #000;
padding: 10px 20px;
background: linear-gradient(to bottom right, #e6e603, #f6951b);
text-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
transition: padding 0.2s;
}
.shake {
animation: shake 150ms 10 linear;
}
@keyframes shake {
0% {
transform: translate(3px, 0);
}
50% {
transform: translate(-3px, 0);
}
100% {
transform: translate(0, 0);
}
}
.wrapper {
display: flex;
flex-direction: column;
}
@media screen and (max-width: 337px) {
button, input {
font-size: 1.1em;
}
}