webring-static/out/style.css

240 lines
6 KiB
CSS
Raw Normal View History

2023-07-19 21:15:44 +00:00
@charset "UTF-8";
2023-07-18 03:29:32 +00:00
@font-face {
font-family: "SOADialogue";
src: url("font/SOADialogue.ttf") format(truetype);
}
2023-07-18 03:54:15 +00:00
@font-face {
font-family: "SOAUI";
src: url("font/SOAUI.ttf") format(truetype);
}
2023-07-18 03:29:32 +00:00
:root {
--pixel-scale: 2;
font-size: calc(var(--pixel-scale) * 1px);
--gradient-horiz-stripes: repeating-linear-gradient(to bottom,
#1d6c5a,
#1d6c5a 2rem,
#025a49 2rem,
#025a49 4rem
);
}
2023-07-19 21:15:44 +00:00
.color, .textbox__text {
color: var(--text-color);
text-shadow: 1rem 0 var(--text-shadow), 1rem 1rem var(--text-shadow), 0 1rem var(--text-shadow);
}
2023-07-18 03:29:32 +00:00
body {
background: var(--gradient-horiz-stripes);
min-height: 100vh;
margin: 0;
padding-block: 9rem;
2023-07-18 03:54:15 +00:00
font-family: "SOAUI";
font-size: 10rem;
color: white;
}
@media (prefers-reduced-motion) {
body {
background-attachment: fixed;
}
}
2023-07-18 03:54:15 +00:00
main {
max-width: 250rem;
padding-inline: 3rem;
2023-07-18 03:54:15 +00:00
margin: 0 auto;
2023-07-18 03:29:32 +00:00
}
.textbox {
display: inline-block;
2023-07-19 21:15:44 +00:00
--text-color: #424231;
--text-shadow: #C6C6B5;
2023-07-18 03:29:32 +00:00
}
.textbox--simple {
--textbox-bg: #FFFFFF;
--textbox-bg-fade: #F7F7EF;
margin: 0 9rem;
border: 1rem solid var(--textbox-border-outer);
background: var(--textbox-border-inner);
position: relative;
}
.textbox--simple::before, .textbox--simple::after {
content: "";
display: block;
background: var(--textbox-handle-bg);
position: absolute;
top: 0;
bottom: 0;
z-index: -1;
width: 7rem;
box-shadow: 3rem 0 0 -1rem var(--textbox-handle-bg), -3rem 0 0 -1rem var(--textbox-handle-bg), 6rem 0 0 -3rem var(--textbox-handle-bg), -6rem 0 0 -3rem var(--textbox-handle-bg), 0 1rem 0 0 var(--textbox-handle-border), 0 -1rem 0 0 var(--textbox-handle-border), 2rem 0 0 0rem var(--textbox-handle-border), -2rem 0 0 0rem var(--textbox-handle-border), 4rem 0 0 -1rem var(--textbox-handle-border), -4rem 0 0 -1rem var(--textbox-handle-border), 7rem 0 0 -3rem var(--textbox-handle-border), -7rem 0 0 -3rem var(--textbox-handle-border);
}
.textbox--simple::before {
left: 1rem;
transform: translateX(-100%);
border-right: 0;
}
.textbox--simple::after {
right: 1rem;
transform: translateX(100%);
border-left: 0;
}
.textbox--simple.textbox--theme-button {
margin: 0 10rem;
}
.textbox--simple.textbox--theme-button::before {
left: 0;
}
.textbox--simple.textbox--theme-button::after {
right: 0;
}
.textbox--simple.textbox--theme-button .textbox__text {
width: 14rem;
height: 10rem;
}
.textbox--yellow {
--textbox-border-outer: #7B6321;
--textbox-border-inner: #A58429;
--textbox-handle-bg: #FFB539;
--textbox-handle-border: #AD8400;
}
.textbox--red {
--textbox-border-outer: #632921;
--textbox-border-inner: #7B3129;
--textbox-handle-bg: #C63908;
--textbox-handle-border: #9C3108;
}
.textbox--green {
--textbox-border-outer: #215A18;
--textbox-border-inner: #216318;
--textbox-handle-bg: #42AD31;
--textbox-handle-border: #297321;
}
.textbox--blue {
--textbox-border-outer: #084263;
--textbox-border-inner: #085284;
--textbox-handle-bg: #1084C6;
--textbox-handle-border: #005A94;
}
.textbox--gray {
--textbox-border-outer: #4A4242;
--textbox-border-inner: #5A5A52;
--textbox-handle-bg: #7B7B73;
--textbox-handle-border: #5E5E55;
}
.textbox--pink {
--textbox-border-outer: #CE394A;
--textbox-border-inner: #E76B6B;
--textbox-handle-bg: #F79CA5;
--textbox-handle-border: #EF6B7B;
}
.textbox__text {
margin: 2rem;
width: 224rem;
2023-07-18 03:54:15 +00:00
min-height: 34rem;
2023-07-19 22:11:07 +00:00
max-width: calc(100vw - 32rem);
2023-07-19 22:19:32 +00:00
overflow-wrap: break-word;
2023-07-18 03:29:32 +00:00
box-shadow: 0 2rem 0 -1rem var(--textbox-bg-fade), 0 -2rem 0 -1rem var(--textbox-bg-fade), 2rem 0 0 -1rem var(--textbox-bg-fade), -2rem 0 0 -1rem var(--textbox-bg-fade), inset 0 0 0 1rem var(--textbox-bg-fade);
background: var(--textbox-bg);
padding: 0 1rem;
font-family: "SOADialogue";
font-size: 12rem;
}
.textbox__advance {
--background: #FFF;
--border: #000;
--shadow: #42424A;
position: absolute;
bottom: 8rem;
right: -6rem;
width: 2rem;
height: 2rem;
background: var(--background);
box-shadow: -1rem 0 var(--background), -2rem -2rem var(--background), -1rem -2rem var(--background), 1rem -2rem var(--background), -0.5rem 1.5rem 0 -0.5rem var(--background), -0.5rem 2.5rem 0 -0.5rem var(--background), -2.5rem -2.5rem 0 0.5rem var(--border), 1.5rem -2.5rem 0 0.5rem var(--border), 0 -3rem 0 0 var(--border), -2rem 0 var(--border), 1rem 0 var(--border), -1rem 2rem var(--border), 0 2rem var(--border), -0.5rem 3.5rem 0 -0.5rem var(--border), -1.5rem -1.5rem 0 0.5rem var(--shadow), 2.5rem -1.5rem 0 0.5rem var(--shadow), 1rem -2rem 0 0 var(--shadow), -1rem 1rem var(--shadow), 2rem 1rem var(--shadow), 0 3rem var(--shadow), 1rem 3rem var(--shadow), 0.5rem 4.5rem 0 -0.5rem var(--shadow);
}
@keyframes bounce {
from {
transform: translateY(0);
}
25% {
transform: translateY(-1rem);
}
50% {
transform: translateY(-2rem);
}
75% {
transform: translateY(-1rem);
}
to {
transform: translateY(0);
}
}
@media not (prefers-reduced-motion) {
.textbox__advance {
animation: 0.6666666667s steps(1) bounce infinite;
}
}
2023-07-18 03:29:32 +00:00
2023-07-19 21:15:44 +00:00
.color--red {
--text-color: #C54700;
--text-shadow: #EFC6A5;
2023-07-18 03:29:32 +00:00
}
2023-07-19 21:15:44 +00:00
.color--blue {
--text-color: #6352FF;
--text-shadow: #CEC6F7;
}
a {
color: inherit;
text-decoration-thickness: 1rem;
text-underline-offset: 1rem;
text-decoration-skip-ink: none;
}
code {
font: inherit;
background: rgba(123, 123, 123, 0.7333333333);
}
2023-07-19 22:19:32 +00:00
ul, ol {
padding-inline-start: 1em;
}
2023-07-19 21:15:44 +00:00
ul {
2023-07-19 22:19:32 +00:00
list-style-type: "· ";
2023-07-18 03:29:32 +00:00
}
2023-07-19 21:50:45 +00:00
.silly-little-images {
2023-07-18 03:29:32 +00:00
display: flex;
2023-07-19 21:50:45 +00:00
justify-content: center;
align-items: flex-end;
margin-bottom: 1em;
}
.silly-little-images img {
image-rendering: crisp-edges;
2023-07-18 03:29:32 +00:00
}
2023-07-19 22:22:21 +00:00
.silly-little-images :first-child {
margin-inline-end: -6rem;
margin-bottom: -5rem;
}
2023-07-18 03:29:32 +00:00
2024-09-06 11:07:41 +00:00
.eightyeightbythirtyones {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
padding: calc(2px * var(--pixel-scale));
gap: calc(2px * var(--pixel-scale));
}
.eightyeightbythirtyones img {
display: block;
box-shadow: 0 0 0 calc(1px * var(--pixel-scale)) rgba(255, 255, 255, 0.5);
}
small {
display: inline-block;
font-size: 10px;
line-height: 1.5;
}
2023-07-18 03:29:32 +00:00
/*# sourceMappingURL=style.css.map */