sitoctt/Assets/Assets/sitoctt.css

391 lines
7.9 KiB
CSS
Raw Normal View History

2022-07-24 13:48:02 +02:00
/*--------------------------------------------------------*
* Globale *
2022-07-24 13:48:02 +02:00
*--------------------------------------------------------*/
2022-07-19 18:26:01 +02:00
:Root {
--ScreenBorderPadding: 4px;
--ContentPadding: 8px;
2022-07-24 13:48:02 +02:00
--BodyTextColor: #080810;
}
2022-07-24 13:48:02 +02:00
* {
Box-Sizing: Border-Box;
}
2022-07-24 13:48:02 +02:00
2022-07-19 18:26:01 +02:00
::Selection {
Background-Color: RGBA(170, 170, 255, 0.2);
2022-06-21 13:56:53 +02:00
}
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;
Color: Var(--BodyTextColor);
Background: #eeddff;
2022-05-22 15:57:10 +02:00
Font-Size: 13pt;
2022-07-19 18:26:01 +02:00
Padding: Var(--ContentPadding);
Overflow-Wrap: Break-Word;
Font-Variant-Ligatures: None;
}
:Where(
.staticoso-ContentHeader-CreatedOn,
.staticoso-ContentHeader-EditedOn
) > .staticoso-Value {
Font-Weight: Bold;
}
.staticoso-ContentHeader-Index > .staticoso-Value:Before { Content: '('; }
.staticoso-ContentHeader-Index > .staticoso-Value:After { Content: ')'; }
/*--------------------------------------------------------*/
/*--------------------------------------------------------*
* Fritto Misto - Andrebbe ordinato *
*--------------------------------------------------------*/
2022-05-27 11:12:36 +02:00
Details Div {
2022-05-27 16:24:08 +02:00
Margin: 8px;
Padding: 4px;
}
2022-07-19 00:06:00 +02:00
.BorderBox,
.BorderBoxContainer > :Where(Div, Details):Not(.NoBorderBox),
Details Div Details:Not(.NoBorderBox) {
2022-05-27 11:12:36 +02:00
Border: 2px Solid Purple;
Margin: 8px;
Padding: 4px;
}
A { Color: #D000D0; }
:Where(Code, .Code) A { Color: #60D0D0; }
2022-07-21 22:39:54 +02:00
H1, H2, H3, H4, H5, H6 {
2022-06-21 13:56:53 +02:00
Color: #503080;
}
2022-07-21 22:39:54 +02:00
Ul {
Padding-Left: 16px;
Padding-Right: 4px;
2022-05-23 00:06:47 +02:00
}
Table :Where(Td, Th, Tr) {
2022-07-21 22:39:54 +02:00
Border: 2px Solid Purple;
Padding: 4px;
}
Blockquote, .Blockquote {
Margin-Left: 2em;
Padding-Left: 1em;
Border-Left: 3px Solid #85588C;
}
.ScrollBox, .ScrollBorderBox {
Padding: 8px;
2022-08-09 15:07:10 +02:00
}
2022-08-22 13:47:46 +02:00
.Code, Code:Not(.NoCode), Pre Code:Not(.NoCode), Pre.Code, .CodeScroll {
2022-08-25 00:34:30 +02:00
Color: #FAFAF0;
2022-08-09 15:07:10 +02:00
Background: #300030;
}
.ScrollBox, .ScrollBorderBox, .CodeScroll {
Overflow-X: Auto;
}
2022-08-09 15:07:10 +02:00
.ScrollBorderBox, .CodeScroll {
Border: 2px Solid Purple;
}
2022-08-09 15:07:10 +02:00
Pre.Code, .CodeScroll {
Padding-Left: 8px;
Padding-Right: 8px;
Padding-Top: 8px;
2022-08-09 15:07:10 +02:00
Padding-Bottom: 16px;
}
Code:Not(Pre Code) {
Padding: 4px 4px 4px 4px;
}
2022-05-23 00:06:47 +02:00
Video.SmallVideoQuote { Float:Left; }
Video.SmallVideoQuote + Blockquote {
Display: Inline-Block;
Margin-Top: 0;
Margin-Bottom: 0px;
}
2022-08-29 15:41:44 +02:00
#MainBox A:Not(
.NoLinkLink,
:Where(.NoLinkLink, .staticoso-SectionLink, #StatCounter, #RingsDiv) A
2022-08-29 15:41:44 +02:00
):Before {
Content: '🔗 ';
2022-06-21 13:56:53 +02:00
}
Header > P > A > Img {
Display: Inline !Important;
}
2022-08-29 15:41:44 +02:00
/* Clickable link at the left of every section title */
#SitesList B:Target,
.staticoso-SectionTitle:Target {
Color: #EEDDFF !Important;
Background: #700070 !Important;
Text-Decoration: Underline;
}
.staticoso-SectionLink {
2022-08-25 00:34:30 +02:00
Position: Absolute;
Left: -1.5em;
Opacity: 0.08;
2022-08-25 00:34:30 +02:00
}
.staticoso-SectionLink:Hover {
2022-08-25 00:34:30 +02:00
Opacity: 0.8;
}
.staticoso-SectionLink > A::Before {
2022-08-25 00:34:30 +02:00
Content: '🔗';
}
.staticoso-SectionLink > A > Span {
2022-08-25 00:34:30 +02:00
Font-Size: 0;
}
2022-08-25 00:34:30 +02:00
A:Hover:Not(
.NoABigger, .NoHoverLight,
:Where(.NoABigger, .NoHoverLight) A,
:Where(H3, H4, H5, H6) > A
),
:Where(.YesHoverLight, .YesHoverLight A):Hover {
2022-08-25 00:34:30 +02:00
Color: #EEDDFF !Important;
Background: #700070 !Important;
2022-07-24 13:48:02 +02:00
}
.ImgShiftedH, .ImgShiftedH Img {
Margin-Top: 4px;
/* Margin-Bottom: -4px; */
}
Details > Summary:hover { Font-Size: 15pt; }
H1:hover { Font-Size: 28pt; }
H2:hover { Font-Size: 21.5pt; }
H3:hover { Font-Size: 17.5pt; }
2022-06-21 13:56:53 +02:00
IFrame {
Width: 100%;
Max-Height: 90vh;
}
#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
Color: #fafaf0;
2022-08-11 21:40:37 +02:00
Background: #300030;
2022-05-18 20:36:17 +02:00
}
:Where(#LeftBox, #RightBox, #BottomBox) A { Color: #eeddff; }
:Where(#LeftBox, #RightBox) Ul Li { List-Style-Type: None; }
:Where(#LeftBox, #RightBox) Ul { Padding-Top: 0px; }
#TopBox {
Width: 100%;
2022-07-19 18:26:01 +02:00
Padding: Var(--ContentPadding);
}
.HeaderElement {
Border: 2px Solid Purple;
Padding: 0px 8px 8px 8px;
}
:Where(#TopBox, #BottomBox) :Where(H1, H2, H3, H4, H5, H6) { Display: Inline; }
2022-05-18 20:36:17 +02:00
#LeftBox, #LeftBoxContainer {
Float: Left;
2022-08-23 00:07:45 +02:00
Left: Var(--ContentPadding);
2022-07-19 18:26:01 +02:00
Padding: Var(--ContentPadding);
}
2022-05-18 20:36:17 +02:00
#RightBox, #RightBoxContainer {
2022-08-18 00:04:54 +02:00
Float: Right;
2022-08-23 00:07:45 +02:00
Right: Var(--ContentPadding);
2022-07-19 18:26:01 +02:00
Padding: Var(--ContentPadding);
}
#LeftBox { Font-Size: Larger; }
#RightBox { Float: Right; }
#RightBoxContainer > Details > Summary { Text-Align: Right; }
#MainBox {
Margin: Auto;
Position: Absolute;
Z-Index: -1;
Left: 0;
Right: 0;
Width: 80%;
2022-07-19 18:26:01 +02:00
Padding-Top: Calc(Var(--ContentPadding) + 32px);
Padding-Bottom: Calc(Var(--ContentPadding) + 64px);
}
#MainBox :Where(Img, Video) {
2022-07-09 17:42:49 +02:00
Max-Width: 90%;
Max-Height: 80vh;
}
#MainBox :Where(Img, Video):Hover {
2022-07-09 17:42:49 +02:00
Max-Width: 100%;
Max-Height: 90vh;
}
.Img36 :Where(Img, Video) { Max-Height: 36vh !important; }
.Img36 :Where(Img, Video):Hover { Max-Height: 64vh !important; }
:Where(Img, Video).Center,
.Center :Where(Img, Video),
#MainBox P Img:Not(.NoImgCenter, .NoImgCenter Img),
#MainBox P Video:Not(.NoImgCenter, .NoImgCenter Video) {
Display: Block;
Margin-Left: Auto;
Margin-Right: Auto;
}
.ImgSidePadding :Where(Img, Video) {
2022-07-22 00:36:27 +02:00
Padding-Left: 16px;
Padding-Right: 16px;
}
.Pixelated,
.Pixelated Img {
Image-Rendering: Pixelated;
-ms-interpolation-mode: nearest-neighbor;
}
.MediaRow2 { Padding: 0px; }
.MediaRow2:After {
Content: "";
Clear: Both;
Display: Table;
}
.MediaRow2 :Where(Img, Video) {
Float: Left;
Width: 50%;
Padding: 4px;
}
#MainBoxTop, #BuildTimeLine { Color: #505050; }
#BuildTimeLine > Span { Display: Inline-Block; }
#BottomBox {
Width: 100%;
2022-05-19 00:06:04 +02:00
Color: #fafaf0;
2022-07-19 18:26:01 +02:00
Background: RGBA(64, 0, 64, 0.6);
Text-Align: Right;
2022-07-19 18:26:01 +02:00
Padding: Var(--ContentPadding);
Z-Index: -1;
}
#LeftBoxContainer, #RightBoxContainer { Position: Absolute; }
#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;
}
/*
2022-08-11 21:40:37 +02:00
#PrivacyPopup {
Display: None;
Visibility: Hidden;
Position: Fixed;
Z-Index: 16;
Color: #fafaf0;
Background: #300030;
Max-Width: 60vw;
Max-Height: 50vh;
Overflow-Y: Scroll;
Bottom: 64px;
Right: Calc(Var(--ContentPadding) * 2);
Padding: Var(--ContentPadding);
Padding-Bottom: Calc(Var(--ContentPadding) * 2);
2022-08-11 21:40:37 +02:00
}
*/
2022-06-30 23:52:50 +02:00
#MainBoxGlobalFooter,
2022-07-19 18:26:01 +02:00
#StatCounter,
.Center {
Text-Align: Center;
}
#MainBoxGlobalFooter span { Vertical-Align: Top; }
2022-05-18 20:36:17 +02:00
#LeftBoxCheck, #LeftBoxLabel {
Float: Left;
Left: 0;
2022-07-19 18:26:01 +02:00
Margin: Var(--ScreenBorderPadding);
2022-05-18 20:36:17 +02:00
}
#RightBoxCheck, #RightBoxLabel {
Float: Right;
Right: 0;
2022-07-19 18:26:01 +02:00
Margin: Var(--ScreenBorderPadding);
2022-05-18 20:36:17 +02:00
}
#BottomBoxCheck, #BottomBoxLabel {
Float: Left;
Left: 0;
2022-07-19 18:26:01 +02:00
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-07-24 13:48:02 +02:00
/*--------------------------------------------------------*/
/*--------------------------------------------------------*
* Gradienti *
*--------------------------------------------------------*/
2022-05-27 16:24:08 +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;
}
2022-07-24 13:48:02 +02:00
/*--------------------------------------------------------*/
/*--------------------------------------------------------*
* Animazioni *
*--------------------------------------------------------*/
H1, H2, H3, A, Img, Video, Summary {
Transition: 0.3s;
}
2022-05-27 16:24:08 +02:00
2022-07-24 13:48:02 +02:00
/*--------------------------------------------------------*/