Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
TheGameCenter
GitHub Repository: TheGameCenter/TheGameCenter.github.io
Path: blob/main/page-not-found.css
6902 views
1
@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro&display=swap');
2
@import url('https://fonts.googleapis.com/css2?family=Inter&display=swap');
3
4
* {
5
margin: 0;
6
padding: 0;
7
}
8
9
body {
10
box-sizing: border-box;
11
font-family: 'Inter', sans-serif;
12
min-height: 100vh;
13
background: var(--bg)
14
}
15
16
:is(:link, :visited, a, a:active, ul, li) {
17
color: inherit!important;
18
text-decoration: none;
19
}
20
21
.header {
22
padding: 0.45em;
23
margin-bottom: 3em;
24
background: var(--ktTheme);
25
display: flex;
26
}
27
28
.header a {
29
display: inline;
30
flex: 1 1 auto;
31
text-align: center;
32
color: #E8F0FE !important;
33
font-size: 18px;
34
font-weight: 800;
35
line-height: 1.2;
36
}
37
38
h1.type {
39
font-size: clamp(1rem, 3vw + 1rem, 3rem);
40
font-family: 'Source Code Pro', monospace;
41
text-align: center;
42
margin: auto;
43
position: relative;
44
width: max-content;
45
color: white;
46
}
47
48
h1.type::before,
49
h1.type::after {
50
content: '';
51
position: absolute;
52
top: 0;
53
right: 0;
54
bottom: 0;
55
left: 0;
56
}
57
58
h1.type::before {
59
background: var(--bg);
60
animation: type var(--typeSpeed) steps(var(--ErrurlSteps)) var(--preWait) forwards;
61
}
62
63
h1.type::after {
64
width: 0.125em;
65
background: var(--ktTheme);
66
animation: type var(--typeSpeed) steps(var(--ErrurlSteps)) var(--preWait) forwards,
67
blink var(--blinkSpeed) steps(var(--ErrurlSteps)) infinite;
68
}
69
70
.subtitle {
71
color: var(--ktTheme)!important;
72
font-size: 2rem;
73
font-weight: 400;
74
margin: auto;
75
margin-top: 1em;
76
text-align: center;
77
opacity: 0;
78
transform: translateY(var(--YaxisDown));
79
animation: fadeUp 2s ease calc(var(--typeSpeed) + 1100ms) forwards;
80
}
81
82
@keyframes type {
83
to {
84
left: 100%;
85
}
86
}
87
88
@keyframes blink {
89
to {
90
background: transparent;
91
}
92
}
93
94
@keyframes fadeUp {
95
to {
96
opacity: 1;
97
transform: translateY(0);
98
}
99
}
100
101
dialog {
102
margin: auto;
103
margin-top: 1em;
104
}
105