sitoctt/Assets/Standard.css

184 lines
3.6 KiB
CSS
Raw Normal View History

:root {
--ScreenBorderPadding: 4px;
--ContentPadding: 8px;
}
Body {
Margin: 0;
Box-Sizing: Border-Box;
2022-05-18 20:36:17 +02:00
Width: 100%;
Max-Width: 100%;
Position: Absolute;
Left: Auto;
Right: Auto;
2022-05-18 20:36:17 +02:00
Color: #04040c;
Background: #eeddff;
2022-05-22 15:57:10 +02:00
Font-Size: 13pt;
}
#Container {
Box-Sizing: Border-Box;
}
2022-05-23 00:06:47 +02:00
* {
Box-Sizing: Border-Box;
}
a {
Color: #d000d0;
}
ul {
Padding-Left: 16px;
Padding-Right: 4px;
2022-05-23 00:06:47 +02:00
}
2022-05-18 20:36:17 +02:00
#LeftBox, #RightBox {
Max-Width: 90vw;
2022-05-18 20:36:17 +02:00
Background: #300030;
Color: #fafaf0;
}
2022-05-19 00:06:04 +02:00
#LeftBox a, #RightBox a, #BottomBox a {
2022-05-18 20:36:17 +02:00
Color: #eeddff;
}
#LeftBox ul li, #RightBox ul li {
List-Style-Type: None;
}
#TopBox {
width: 100%;
Padding: var(--ContentPadding);
}
2022-05-18 20:36:17 +02:00
#LeftBox, #LeftBoxContainer {
Float: Left;
Padding: var(--ContentPadding);
2022-05-18 20:36:17 +02:00
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
2022-05-18 20:36:17 +02:00
#RightBox, #RightBoxContainer {
Float: Right;
2022-05-19 00:06:04 +02:00
Padding: var(--ContentPadding);
2022-05-18 20:36:17 +02:00
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
#MainBox {
Margin: Auto;
Position: Absolute;
Z-Index: -1;
Left: 0;
Right: 0;
Width: 80%;
Padding-Top: calc(var(--ContentPadding) + 24px);
2022-05-22 15:57:10 +02:00
Padding-Bottom: calc(var(--ContentPadding) + 80px);
}
#BottomBox {
width: 100%;
2022-05-19 00:06:04 +02:00
Color: #fafaf0;
Background: rgba(64, 0, 64, 0.6);
Text-Align: Right;
Z-Index: -1;
}
#BottomBoxContainer {
Color: #808080;
}
#BottomBox, #BottomBoxContainer {
Box-Sizing: Border-Box;
Position: Fixed;
2022-05-18 13:06:53 +02:00
Bottom: 0;
Left: 0;
Right: 0;
2022-05-19 00:06:04 +02:00
Padding: var(--ScreenBorderPadding);
2022-05-18 20:36:17 +02:00
Width: 100%;
}
2022-05-18 20:36:17 +02:00
#LeftBoxCheck, #LeftBoxLabel {
Float: Left;
Left: 0;
Margin: var(--ScreenBorderPadding);
}
#RightBoxCheck, #RightBoxLabel {
Float: Right;
Right: 0;
Margin: var(--ScreenBorderPadding);
}
#BottomBoxCheck, #BottomBoxLabel {
Float: Left;
Left: 0;
Margin: var(--ScreenBorderPadding);
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
#LeftBoxCheck, #RightBoxCheck, #BottomBoxCheck {
2022-05-18 20:36:17 +02:00
Position: Fixed;
Opacity: 0;
}
:Checked ~ .ToggleBox {
Display: None;
Visibility: Hidden;
}
2022-05-23 00:06:47 +02:00
.NoDisplay {
Display: None;
}
.BlinkA {
Animation: BlinkerA 0.25s Step-Start Infinite;
}
@keyframes BlinkerA {
0% {Position: Absolute; Visibility: Hidden;}
50% {Position: Static; Visibility: Visible;}
100% {Position: Absolute; Visibility: Hidden;}
}
.BlinkO {
Animation: BlinkerO 0.25s Step-Start Infinite;
}
@keyframes BlinkerO {
0% {Position: Static; Visibility: Visible;}
50% {Position: Absolute; Visibility: Hidden;}
100% {Position: Static; Visibility: Visible;}
}
2022-05-23 00:06:47 +02:00
.MainIdTextGradientL {
Background: linear-gradient(to left, #d000d0, #8040d0);
Color: Transparent;
-webkit-background-clip: Text;
Background-Clip: Text;
}
.MainIdTextGradientR {
Background: linear-gradient(to right, #d000d0, #8040d0);
Color: Transparent;
-webkit-background-clip: Text;
Background-Clip: Text;
}
/* Credits: https://codepen.io/jh3y/pen/WNrXqYz */
.WavyText {
2022-05-23 00:06:47 +02:00
Text-Align: center;
Position: absolute;
Left: 50%;
White-Space: nowrap;
Transform: translate(-50%, -50%) translate(calc(var(--x, 0) * 1%), calc(var(--y, 0) * 1%));
2022-05-18 20:36:17 +02:00
font-variation-settings: 'wght' var(--lower);
2022-05-23 00:06:47 +02:00
Margin: 0;
}
2022-05-23 00:06:47 +02:00
.WavyText Span {
Color: hsla(300, 100%, 20%, var(--alpha-l));
Animation: Rise 2.25s infinite ease-in-out;
Animation-Delay: calc((var(--index) - 6) * 0.225s);
Display: inline-block;
}
2022-05-23 00:06:47 +02:00
@keyframes Rise {
2022-05-18 20:36:17 +02:00
50% {
font-variation-settings: 'wght' var(--upper);
2022-05-23 00:06:47 +02:00
Color: hsla(300, 100%, 30%, var(--alpha-u));
Transform: translate(0, -15%);
2022-05-18 20:36:17 +02:00
}
}