Agg. script; Agg. pagina contatti; Pulizia cod. interno

This commit is contained in:
2022-12-24 16:17:26 +01:00
parent 8054fb347f
commit 7cae6da5aa
10 changed files with 92 additions and 115 deletions

View File

@@ -32,10 +32,14 @@ Body {
Overflow-Wrap: Break-Word;
}
.staticoso-ContentHeader-CreatedOn > .staticoso-Value,
.staticoso-ContentHeader-EditedOn > .staticoso-Value {
: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: ')'; }
/*--------------------------------------------------------*/
@@ -68,7 +72,7 @@ Ul {
Padding-Left: 16px;
Padding-Right: 4px;
}
Table Td, Table Th, Table Tr {
Table :Where(Td, Th, Tr) {
Border: 2px Solid Purple;
Padding: 4px;
}
@@ -145,41 +149,29 @@ A:Hover:Not(
/* 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;
}
Details > Summary:hover { Font-Size: 15pt; }
H1:hover { Font-Size: 28pt; }
H2:hover { Font-Size: 21.5pt; }
H3:hover { Font-Size: 17.5pt; }
IFrame {
Width: 100%;
Max-Height: 90vh;
}
#Container {
Max-Width: 100%;
}
#Container { Max-Width: 100%; }
#LeftBox, #RightBox {
Max-Width: 90vw;
Color: #fafaf0;
Background: #300030;
}
#LeftBox A, #RightBox A, #BottomBox A {
Color: #eeddff;
}
#LeftBox Ul Li, #RightBox Ul Li {
List-Style-Type: None;
}
#LeftBox Ul, #RightBox Ul {
Padding-Top: 0px;
}
: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%;
Padding: Var(--ContentPadding);
@@ -188,10 +180,8 @@ IFrame {
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 {
Display: Inline;
}
:Where(#TopBox, #BottomBox) :Where(H1, H2, H3, H4, H5, H6) { Display: Inline; }
#LeftBox, #LeftBoxContainer {
Float: Left;
Left: Var(--ContentPadding);
@@ -202,15 +192,10 @@ IFrame {
Right: Var(--ContentPadding);
Padding: Var(--ContentPadding);
}
#LeftBox {
Font-Size: Larger;
}
#RightBox {
Float: Right;
}
#RightBoxContainer > Details > Summary {
Text-Align: Right;
}
#LeftBox { Font-Size: Larger; }
#RightBox { Float: Right; }
#RightBoxContainer > Details > Summary { Text-Align: Right; }
#MainBox {
Margin: Auto;
Position: Absolute;
@@ -221,33 +206,27 @@ IFrame {
Padding-Top: Calc(Var(--ContentPadding) + 32px);
Padding-Bottom: Calc(Var(--ContentPadding) + 64px);
}
#MainBox Img,
#MainBox Video {
#MainBox :Where(Img, Video) {
Max-Width: 90%;
Max-Height: 80vh;
}
#MainBox Img:hover,
#MainBox Video:hover {
#MainBox :Where(Img, Video):Hover {
Max-Width: 100%;
Max-Height: 90vh;
}
.Img36 Img,
.Img36 Video {
Max-Height: 36vh !important;
}
.Img36 Img:hover,
.Img36 Video:hover {
Max-Height: 64vh !important;
}
.Img36 :Where(Img, Video) { Max-Height: 36vh !important; }
.Img36 :Where(Img, Video):Hover { Max-Height: 64vh !important; }
.Center Img, .Center Video,
#MainBox p Img:not(.NoImgCenter, .NoImgCenter Img),
#MainBox p Video:not(.NoImgCenter, .NoImgCenter Video) {
#MainBox P Img:Not(.NoImgCenter, .NoImgCenter Img),
#MainBox P Video:Not(.NoImgCenter, .NoImgCenter Video) {
Display: Block;
Margin-Left: Auto;
Margin-Right: Auto;
}
.ImgSidePadding Img,
.ImgSidePadding Video {
.ImgSidePadding :Where(Img, Video) {
Padding-Left: 16px;
Padding-Right: 16px;
}
@@ -257,9 +236,7 @@ IFrame {
-ms-interpolation-mode: nearest-neighbor;
}
.MediaRow2 {
Padding: 0px;
}
.MediaRow2 { Padding: 0px; }
.MediaRow2:After {
Content: "";
Clear: Both;
@@ -272,12 +249,9 @@ IFrame {
Padding: 4px;
}
#MainBoxTop, #BuildTimeLine {
Color: #505050;
}
#BuildTimeLine > Span {
Display: Inline-Block;
}
#MainBoxTop, #BuildTimeLine { Color: #505050; }
#BuildTimeLine > Span { Display: Inline-Block; }
#BottomBox {
Width: 100%;
Color: #fafaf0;
@@ -286,12 +260,8 @@ IFrame {
Padding: Var(--ContentPadding);
Z-Index: -1;
}
#LeftBoxContainer, #RightBoxContainer {
Position: Absolute;
}
#LeftBoxContainer, #RightBoxContainer, #BottomBoxContainer {
Color: #808080;
}
#LeftBoxContainer, #RightBoxContainer { Position: Absolute; }
#LeftBoxContainer, #RightBoxContainer, #BottomBoxContainer { Color: #808080; }
#BottomBox, #BottomBoxContainer {
Box-Sizing: Border-Box;
Position: Fixed;
@@ -300,9 +270,7 @@ IFrame {
Right: 0;
Width: 100%;
}
#BottomBoxContainer {
Padding: Var(--ScreenBorderPadding);
}
#BottomBoxContainer { Padding: Var(--ScreenBorderPadding); }
#TopBoxLeft {
Text-Align: Left;
Display: Inline-Block;
@@ -312,6 +280,8 @@ IFrame {
Float: Right;
Clear: Both;
}
/*
#PrivacyPopup {
Display: None;
Visibility: Hidden;
@@ -327,14 +297,14 @@ IFrame {
Padding: Var(--ContentPadding);
Padding-Bottom: Calc(Var(--ContentPadding) * 2);
}
*/
#MainBoxGlobalFooter,
#StatCounter,
.Center {
Text-Align: Center;
}
#MainBoxGlobalFooter span {
Vertical-Align: Top;
}
#MainBoxGlobalFooter span { Vertical-Align: Top; }
#LeftBoxCheck, #LeftBoxLabel {
Float: Left;
@@ -362,12 +332,9 @@ IFrame {
/* No selezione */
.NoSelect,
#LeftBox,
#LeftBoxContainer,
#RightBox,
#RightBoxContainer,
#BottomBoxCheck,
#BottomBoxLabel {
#LeftBox, #LeftBoxContainer,
#RightBox, #RightBoxContainer,
#BottomBoxCheck, #BottomBoxLabel {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;