160 lines
No EOL
3 KiB
CSS
160 lines
No EOL
3 KiB
CSS
@import url("/assets/styles/fade-in.css");
|
|
@import url("/assets/styles/fader.css");
|
|
|
|
@font-face {
|
|
font-family: "Red Hat Display";
|
|
src: url("/assets/fonts/RHD/RedHatDisplay.ttf");
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "Red Hat Text";
|
|
src: url("/assets/fonts/RHT/RedHatText.ttf");
|
|
}
|
|
|
|
body {
|
|
--bg: 255, 255, 255;
|
|
background-color: white;
|
|
color: black;
|
|
font-family: "Red Hat Text";
|
|
}
|
|
|
|
body::after {
|
|
display: inline-block;
|
|
content: "";
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
image-rendering: pixelated;
|
|
background:
|
|
linear-gradient(to left, white, transparent calc(50% - 384px)),
|
|
linear-gradient(to right, white, transparent calc(50% - 384px)),
|
|
linear-gradient(to top, white 1rem, transparent 5rem),
|
|
url("/assets/imgs/stylistic/bg_pattern.png");
|
|
background-position: 50% 0;
|
|
/* background-size: 3840px 1080px; */
|
|
mask-image: url("/assets/imgs/stylistic/bg_dust.png");
|
|
mask-repeat: repeat;
|
|
mask-composite: exclude;
|
|
mask-size: 960px 270px;
|
|
mask-position: 50% 0;
|
|
opacity: 0.25;
|
|
z-index: -1;
|
|
pointer-events: none;
|
|
user-select: none;
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
font-family: "Red Hat Display";
|
|
}
|
|
|
|
main .cakeView {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: flex-end;
|
|
min-height: calc(100svh - 14rem);
|
|
margin-bottom: calc((100vh - 100svh) + 4rem);
|
|
}
|
|
|
|
main .cakeView section {
|
|
background-color: rgba(var(--bg), 1);
|
|
box-shadow: 0px 0px 4rem 4rem rgba(var(--bg), 1);
|
|
}
|
|
|
|
/* @media (prefers-color-scheme: dark) {
|
|
main .cakeView section {
|
|
background-color: transparent;
|
|
box-shadow: none;
|
|
}
|
|
} */
|
|
|
|
main .cakeView h2 {
|
|
font-size: 3em;
|
|
/* word-wrap: break-word; */
|
|
-webkit-hyphens: auto;
|
|
-moz-hyphens: auto;
|
|
-ms-hyphens: auto;
|
|
hyphens: auto;
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
body {
|
|
--bg: 0,0,0;
|
|
background-color: black;
|
|
color: white;
|
|
}
|
|
|
|
img:not(.screen),
|
|
body::after {
|
|
filter: invert(100%) hue-rotate(180deg);
|
|
}
|
|
}
|
|
|
|
.yesNoListView {
|
|
border: 1px solid currentColor;
|
|
padding-top: 0;
|
|
padding-left: 1rem;
|
|
padding-right: 0;
|
|
padding-bottom: 0.5rem;
|
|
}
|
|
|
|
.yesNoListView img {
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
.linkView {
|
|
margin: 0 1em;
|
|
}
|
|
|
|
input[type=submit],
|
|
input[type=reset],
|
|
input[type=button],
|
|
a,
|
|
button {
|
|
transition: 0.25s opacity;
|
|
}
|
|
|
|
.satisfiedBox {
|
|
margin: 2rem 0;
|
|
padding-inline-start: 1rem;
|
|
}
|
|
|
|
.satisfiedBox h2::before {
|
|
content: "↗ ";
|
|
margin-inline-start: -1em;
|
|
}
|
|
|
|
.satisfiedBox a {
|
|
display: inline-block;
|
|
vertical-align: baseline;
|
|
background-color: rgb(var(--bg));
|
|
transition: all 0.25s;
|
|
}
|
|
|
|
.satisfiedBox a:hover {
|
|
filter: invert(100%);
|
|
text-decoration-color: transparent;
|
|
padding: 4px;
|
|
margin: -4px;
|
|
}
|
|
|
|
.satisfiedBox a:active {
|
|
translate: 4px 0;
|
|
}
|
|
|
|
.satisfiedBox a::after {
|
|
display: inline-block;
|
|
content: ">>";
|
|
margin-inline-start: 0;
|
|
width: 0;
|
|
opacity: 0.5;
|
|
overflow: hidden;
|
|
vertical-align: top;
|
|
transition: width 0.25s, margin 0.25s;
|
|
}
|
|
|
|
.satisfiedBox a:hover::after {
|
|
margin-inline-start: 1ch;
|
|
width: 2ch;
|
|
} |