215 lines
No EOL
3.7 KiB
CSS
215 lines
No EOL
3.7 KiB
CSS
@import url(fonts.css);
|
|
|
|
:root {
|
|
--vh: 1vh
|
|
}
|
|
|
|
html {
|
|
background-color: var(--c-bg);
|
|
scrollbar-color: var(--c-border) transparent;
|
|
scrollbar-width: thin;
|
|
}
|
|
|
|
/* text, links and lists :3 */
|
|
|
|
t {
|
|
font-family: "mono";
|
|
font-weight: bold;
|
|
color: var(--c-title)
|
|
}
|
|
|
|
|
|
p, d {
|
|
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:focus {
|
|
color: var(--c-bg);
|
|
background-color: var(--c-highlight);
|
|
}
|
|
|
|
a:hover {
|
|
cursor: pointer
|
|
}
|
|
|
|
:is(a, d) + p {
|
|
display: none
|
|
}
|
|
|
|
ul {
|
|
margin: 0 0 0 -16px;
|
|
}
|
|
|
|
li {
|
|
list-style: none;
|
|
}
|
|
|
|
/* lil text on the borders :3 */
|
|
|
|
.title, .title2, .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(var(--vh) * 100 - 1.5em);
|
|
right: 64px;
|
|
color: var(--c-fg)
|
|
}
|
|
|
|
.skip-notice {
|
|
bottom: 0;
|
|
right: 8px;
|
|
color: var(--c-fg);
|
|
background-color: transparent;
|
|
font-weight: normal;
|
|
opacity: 0
|
|
}
|
|
|
|
/* here are some @media rules to choose when to display ascii art */
|
|
|
|
.ascii > div, .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 !important
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 650px) {
|
|
.ascii-1 {
|
|
display: block !important
|
|
}
|
|
}
|
|
|
|
/* styling for the basic border when no js */
|
|
|
|
body > .nojs {
|
|
width: calc(100vw - 16px);
|
|
height: calc(var(--vh) * 100 - 16px);
|
|
box-sizing: border-box;
|
|
border: 8px double var(--c-border);
|
|
overflow: hidden
|
|
}
|
|
|
|
main, .js > div > div {
|
|
overflow: hidden auto;
|
|
width: 100%;
|
|
height: 100%;
|
|
padding: 16px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* styling for the js mode! */
|
|
.js {
|
|
visibility: hidden;
|
|
border: 2px solid var(--c-border);
|
|
box-sizing: border-box;
|
|
position: fixed;
|
|
width: calc(100vw - 16px);
|
|
height: calc(var(--vh) * 100 - 16px);
|
|
top: 8px;
|
|
left: 8px
|
|
}
|
|
|
|
.js > div {
|
|
box-sizing: border-box;
|
|
border: 2px solid var(--c-border);
|
|
overflow: hidden;
|
|
position: fixed;
|
|
}
|
|
|
|
@media screen and (min-aspect-ratio: 1/1) {
|
|
.js > div:first-child {
|
|
width: calc(50vw - 4px - 11px);
|
|
height: calc(var(--vh) * 100 - 16px - 10px);
|
|
top: 13px;
|
|
left: 13px
|
|
}
|
|
.js > div:last-child {
|
|
width: calc(50vw - 4px - 11px);
|
|
height: calc(var(--vh) * 100 - 16px - 10px);
|
|
top: 13px;
|
|
right: 13px
|
|
}
|
|
.title2 {
|
|
top: 0;
|
|
left: calc(50vw + 32px);
|
|
}
|
|
}
|
|
|
|
@media screen and (max-aspect-ratio: 1000/1001) {
|
|
.js > div:first-child {
|
|
width: calc(100vw - 16px - 10px);
|
|
height: calc(var(--vh) * 50 - 4px - 11px);
|
|
top: 13px;
|
|
left: 13px
|
|
}
|
|
.js > div:last-child {
|
|
width: calc(100vw - 16px - 10px);
|
|
height: calc(var(--vh) * 50 - 4px - 11px);
|
|
bottom: 13px;
|
|
left: 13px
|
|
}
|
|
.title2 {
|
|
top: calc(var(--vh) * 50 - 12px);
|
|
left: 32px;
|
|
}
|
|
}
|
|
|
|
.js > div:only-child {
|
|
width: calc(100vw - 16px - 10px);
|
|
height: calc(var(--vh) * 100 - 16px - 10px);
|
|
top: 13px;
|
|
left: 13px
|
|
}
|
|
|
|
.buttons {
|
|
white-space: pre;
|
|
margin-left: 24px
|
|
}
|
|
|
|
.back {
|
|
margin-bottom: 8px;
|
|
display: inline-block
|
|
}
|
|
|
|
:focus {
|
|
outline: none
|
|
}
|
|
|
|
.f {
|
|
color: var(--c-bg);
|
|
background-color: var(--c-focus-secondary)
|
|
} |