sitoctt/Assets/Standard.css

274 lines
4.9 KiB
CSS
Raw Normal View History

:root {
--ScreenBorderPadding: 4px;
--ContentPadding: 8px;
}
2022-06-21 13:56:53 +02:00
* {
Transition: 0.3s;
}
::selection {
Background-Color: rgba(170, 170, 255, 0.2);
}
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-06-21 13:56:53 +02:00
Color: #080810;
Background: #eeddff;
2022-05-22 15:57:10 +02:00
Font-Size: 13pt;
Padding: var(--ContentPadding);
Overflow-Wrap: Break-Word;
}
Div {
Box-Sizing: Border-Box;
}
2022-05-27 11:12:36 +02:00
Details Div {
2022-05-27 16:24:08 +02:00
Margin: 8px;
Padding: 4px;
}
Details Div Details {
2022-05-27 11:12:36 +02:00
Border: 2px Solid Purple;
Margin: 8px;
Padding: 4px;
}
.NoDisplay {
Display: None;
}
2022-05-27 11:12:36 +02:00
.NoCol {
Color: Transparent !important;
}
2022-05-23 00:06:47 +02:00
a {
Color: #d000d0;
}
2022-06-21 13:56:53 +02:00
h1, h2, h3, h4, h5, h6 {
Color: #503080;
}
2022-05-23 00:06:47 +02:00
ul {
Padding-Left: 16px;
Padding-Right: 4px;
2022-05-23 00:06:47 +02:00
}
2022-06-21 13:56:53 +02:00
#MainBox > * > a::before,
#MainBox > * > * > a::before,
#MainBox > * > * > * > a::before,
#MainBox > * > * > * > * > a::before {
Content: '🔗 ';
2022-06-21 13:56:53 +02:00
}
.NoLinkLink::before,
#StatCounter > a::before {
Content: '' !important;
}
#MainBox > p > img,
#MainBox > ul > li > p > img {
Margin-Top: 4px;
Margin-Bottom: -4px;
}
a:hover:not(h3 > a, .NoABigger),
details > summary:hover {
2022-06-21 13:56:53 +02:00
Font-Size: 15pt;
}
h1:hover {
Font-Size: 28pt;
}
h2:hover {
Font-Size: 21.5pt;
}
h3:hover {
Font-Size: 17.5pt;
}
.Inline {
Display: Inline;
}
#Container {
Max-Width: 100%;
}
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);
}
.HeaderElement {
Border: 2px Solid Purple;
Padding: 0px 8px 8px 8px;
}
#TopBox h1, #TopBox h2, #TopBox h3, #TopBox h4, #TopBox h5, #TopBox h6,
#BottomBox h1, #BottomBox h2, #BottomBox h3, #BottomBox h4, #BottomBox h5, #BottomBox h6 {
2022-05-27 16:24:08 +02:00
Display: Inline;
}
2022-05-18 20:36:17 +02:00
#LeftBox, #LeftBoxContainer {
Float: Left;
Padding: var(--ContentPadding);
}
2022-05-18 20:36:17 +02:00
#RightBox, #RightBoxContainer {
Float: Right;
2022-05-19 00:06:04 +02:00
Padding: var(--ContentPadding);
}
#MainBox {
Margin: Auto;
Position: Absolute;
Z-Index: -1;
Left: 0;
Right: 0;
Width: 80%;
Padding-Top: calc(var(--ContentPadding) + 24px);
Padding-Bottom: calc(var(--ContentPadding) + 64px);
}
#MainBox img {
Max-Width: 100%;
}
#MainBoxTop {
Color: #505050;
}
#BottomBox {
Width: 100%;
2022-05-19 00:06:04 +02:00
Color: #fafaf0;
Background: rgba(64, 0, 64, 0.6);
Text-Align: Right;
Padding: var(--ContentPadding);
Z-Index: -1;
}
2022-05-27 13:06:58 +02:00
#LeftBoxContainer, #RightBoxContainer, #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-18 20:36:17 +02:00
Width: 100%;
}
#BottomBoxContainer {
Padding: var(--ScreenBorderPadding);
}
2022-05-27 16:24:08 +02:00
#TopBoxLeft {
Text-Align: Left;
Display: Inline-Block;
}
#TopBoxRight {
Text-Align: Right;
Float: Right;
Clear: Both;
}
#MainBoxGlobalFooter {
Text-Align: Center;
}
#MainBoxGlobalFooter span {
Vertical-Align: Top;
}
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);
}
#LeftBoxCheck, #RightBoxCheck, #BottomBoxCheck {
2022-05-18 20:36:17 +02:00
Position: Fixed;
Opacity: 0;
}
:Checked ~ .ToggleBox {
Display: None;
Visibility: Hidden;
}
/* No selezione */
#LeftBox,
#LeftBoxContainer,
#RightBox,
#RightBoxContainer,
#BottomBoxCheck,
#BottomBoxLabel {
-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-27 16:24:08 +02:00
/* Gradienti */
.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;
}
/* Animazioni */
.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;}
}
/* 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
}
}