forked from glitchdotcom/website-to-compute
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
178 lines (161 loc) · 3.35 KB
/
style.css
File metadata and controls
178 lines (161 loc) · 3.35 KB
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
:root {
--wrapper-height: 100vh;
--font-family: roboto;
--font-family-list: monospace;
--color-bg: #000000; /* Used for the page body background */
--color-bg-alt: #434343; /* Used for social icons on hover */
--color-text-main: #ffffff; /* List text ann social icons on hover */
--color-primary: #ffffff; /* Headers and borders */
--color-highlight: #d0d0d0; /* Highlights */
}
* {
box-sizing: border-box;
}
[hidden] {
display: none !important;
}
button {
background-color: rgb(0, 0, 0);
color: #ffffff;
padding: 30px 65px;
position: relative;
border: none;
border-radius: 2rem;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
cursor: pointer;
font-size: 4rem;
backdrop-filter: blur(3px) saturate(180%);
-webkit-backdrop-filter: blur(6px);
box-shadow: 0 8px 25px rgba(0,0,0,0.33);
border: 2.3px solid rgba(255, 255, 255, 0.8);
box-shadow: 0 8px 32px rgba(31, 38, 135, 0.2),
inset 0 1.2px 20px rgba(255, 255, 255, 0.3);
transition: all 0.4s ease;
}
/* i tried to make liquid glass :( */
button:hover{
border-radius: 2rem;
backdrop-filter: blur(1px);
opacity: 0.6;
box-shadow: inset -10px -8px 19px -11px rgba(255, 255, 255, 1),
inset 0px -9px 0px -8px rgba(255, 255, 255, 1);
}
body {
font-family: var(--font-family);
background-color: var(--color-bg);
text-align: left;
margin: 0;
font-size:2.8rem;
}
.wrapper {
min-height: var(--wrapper-height);
display: grid;
place-items: center;
margin: 0;
padding:1rem 2rem;
}
.content {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.illustration {
max-width:30%;
margin:1rem 0 2rem 0;
animation: 1s ease-out 1s 1 bounce;
}
@keyframes spinIn {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
@keyframes bounce {
0% {
transform: translate(0 px, 0 px);
}
100% {
transform: translate(60 px, 0 px);
}
}
.illustration-404 {
max-width:30%;
margin:1rem 0 2rem 0;
animation: 1s ease-out 0s 1 spinUp;
filter: grayscale(100%);
animation-fill-mode: forwards;
}
@keyframes spinUp {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(180deg);
}
}
p {
margin: 1rem;
line-height: 1.3em;
}
p,
h1,
h2,
h3,
h4,
h5 {
color: var(--color-text-main);
}
h1 {
display: inline-flex;
color: var(--color-primary);
justify-content: center;
}
a:link,
a:visited {
text-decoration: none;
border-bottom: 2px solid var(--color-primary);
color: var(--color-primary);
transition: background 0.2s linear;
font-weight: bold;
}
a:hover,
a:active,
a:focus {
background: var(--color-primary);
color:var(--color-highlight);
}
.footer {
display: flex;
justify-content: space-between;
margin: 2rem auto 0;
padding: 1.5rem 0 0.5rem 0;
width: 100%;
flex-wrap: wrap;
display: flex;
justify-content: flex-end;
}
a.github {
background: var(--color-bg-alt);
color:var(--color-highlight);
border: 2px solid var(--color-highlight);
border-radius: 5px;
padding:0.5rem;
font-weight:bold;
}
a.github:hover {
background: var(--color-primary);
color:var(--color-highlight);
font-weight: lighter;
}
.timer-danger {
color: #FF0000;
}
.timer-warning {
color: #FFA500 !important;
}
.timer-normal {
color: #ffffff;
}