227 lines
No EOL
3.8 KiB
CSS
227 lines
No EOL
3.8 KiB
CSS
@import url(fonts.css);
|
|
|
|
html {
|
|
background-color: var(--c-bg);
|
|
scrollbar-color: var(--c-border) transparent
|
|
}
|
|
|
|
/* text, links and lists :3 */
|
|
|
|
t {
|
|
font-family: "mono";
|
|
font-weight: bold;
|
|
color: var(--c-title)
|
|
}
|
|
|
|
|
|
p {
|
|
font-family: "mono";
|
|
color: var(--c-fg);
|
|
margin-top: 0;
|
|
margin-bottom: 0
|
|
}
|
|
|
|
a {
|
|
font-family: "mono";
|
|
color: var(--c-highlight);
|
|
text-decoration: none;
|
|
}
|
|
|
|
a:hover {
|
|
color: var(--c-bg);
|
|
background-color: var(--c-highlight);
|
|
}
|
|
|
|
ul {
|
|
margin: 0 0 0 -16px;
|
|
}
|
|
|
|
li {
|
|
list-style: none;
|
|
}
|
|
|
|
/* lil text on the borders :3 */
|
|
|
|
.title, .credit, .skip-notice {
|
|
height: 24px;
|
|
background-color: var(--c-bg);
|
|
color: var(--c-title);
|
|
position: fixed;
|
|
padding: 0 4px;
|
|
font-family: "mono";
|
|
font-weight: bold;
|
|
}
|
|
|
|
.title {
|
|
top: 0;
|
|
left: 32px;
|
|
}
|
|
|
|
.credit {
|
|
top: calc(100vh - 1.5em);
|
|
right: 64px;
|
|
color: var(--c-fg)
|
|
}
|
|
|
|
.skip-notice {
|
|
bottom: 0;
|
|
right: 8px;
|
|
color: var(--c-fg);
|
|
background-color: transparent;
|
|
font-weight: normal
|
|
}
|
|
|
|
/* here are some @media rules to choose when to display ascii art */
|
|
|
|
.ascii, .splash {
|
|
font-family: "mono";
|
|
color: var(--c-fg);
|
|
white-space: pre;
|
|
display: none
|
|
}
|
|
|
|
@media screen and (min-width: 420px) {
|
|
.splash-1 {
|
|
display: block;
|
|
visibility: visible
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 420px) and (max-width: 649px) {
|
|
.ascii-2 {
|
|
display: block
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 650px) {
|
|
.ascii-1 {
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
/* styling for the basic border when no js */
|
|
|
|
body > .nojs {
|
|
width: calc(100vw - 16px);
|
|
height: calc(100vh - 16px);
|
|
box-sizing: border-box;
|
|
border: 8px double var(--c-border);
|
|
overflow: hidden
|
|
}
|
|
|
|
|
|
main {
|
|
overflow: hidden auto;
|
|
width: 100%;
|
|
height: 100%;
|
|
padding: 16px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* loading animation */
|
|
|
|
@keyframes appear {
|
|
0% {
|
|
visibility: visible;
|
|
display: block
|
|
}
|
|
99% {
|
|
visibility: hidden;
|
|
display: none
|
|
}
|
|
}
|
|
|
|
.nojs {
|
|
animation: 4.5s 1 reverse appear;
|
|
animation-delay: 4.5s;
|
|
animation-fill-mode: forwards;
|
|
visibility: hidden;
|
|
position: fixed
|
|
}
|
|
|
|
.credit {
|
|
animation: 4.5s 1 reverse appear;
|
|
animation-delay: 4.5s;
|
|
animation-fill-mode: forwards;
|
|
visibility: hidden;
|
|
position: fixed
|
|
}
|
|
|
|
.skip-animation {
|
|
animation: 4.5s 1 linear appear;
|
|
visibility: hidden;
|
|
position: fixed;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
top: 0;
|
|
left: 0;
|
|
}
|
|
|
|
.loading > p:first-child {
|
|
animation: 1s 1 linear appear;
|
|
animation-fill-mode: forwards;
|
|
visibility: hidden;
|
|
position: fixed
|
|
}
|
|
|
|
.loading > p:not(:first-child):not(:last-child) {
|
|
animation: 1s 1 linear appear;
|
|
animation-delay: 1s;
|
|
animation-fill-mode: forwards;
|
|
visibility: hidden;
|
|
position: fixed
|
|
}
|
|
|
|
.loading > p:last-child {
|
|
animation: 1s 1 linear appear;
|
|
animation-delay: 2s;
|
|
animation-fill-mode: forwards;
|
|
visibility: hidden;
|
|
position: fixed
|
|
}
|
|
|
|
@keyframes splash {
|
|
0%, 100% {
|
|
visibility: visible;
|
|
color: var(--c-bg);
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
}
|
|
}
|
|
|
|
.splash {
|
|
animation-duration: 1.5s, 1.5s;
|
|
animation-iteration-count: 1, 1;
|
|
animation-timing-function: linear, linear;
|
|
animation-name: appear, splash;
|
|
animation-delay: 3s, 3s;
|
|
visibility: hidden;
|
|
position: fixed
|
|
}
|
|
|
|
@keyframes splash-bg {
|
|
0%, 100% {
|
|
background-color: var(--c-splash);
|
|
}
|
|
}
|
|
|
|
html {
|
|
animation: 1.5s 1 linear splash-bg;
|
|
animation-delay: 3s
|
|
}
|
|
|
|
@keyframes splash-fg {
|
|
0%, 100% {
|
|
color: var(--c-bg);
|
|
}
|
|
}
|
|
|
|
.skip-notice {
|
|
animation-duration: 4.5s, 1.5s;
|
|
animation-iteration-count: 1, 1;
|
|
animation-timing-function: linear, linear;
|
|
animation-name: appear, splash-fg;
|
|
animation-delay: 0s, 3s;
|
|
visibility: hidden;
|
|
} |