Agg. CSS, Archivi MicroBlog

This commit is contained in:
2022-07-23 13:52:09 +02:00
parent afa9caf5dc
commit 6bf9e17e2f
2 changed files with 39 additions and 18 deletions

View File

@@ -2,7 +2,7 @@
--ScreenBorderPadding: 4px;
--ContentPadding: 8px;
}
H1, H2, H3, A, Img, Summary {
H1, H2, H3, A, Img, Video, Summary {
Transition: 0.3s;
}
::Selection {
@@ -143,26 +143,32 @@ H3:hover {
Padding-Top: Calc(Var(--ContentPadding) + 32px);
Padding-Bottom: Calc(Var(--ContentPadding) + 64px);
}
#MainBox img {
#MainBox Img,
#MainBox Video {
Max-Width: 90%;
Max-Height: 80vh;
}
#MainBox img:hover {
#MainBox Img:hover,
#MainBox Video:hover {
Max-Width: 100%;
Max-Height: 90vh;
}
.Img36 img {
.Img36 Img,
.Img36 Video {
Max-Height: 36vh !important;
}
.Img36 img:hover {
.Img36 Img:hover,
.Img36 Video:hover {
Max-Height: 64vh !important;
}
#MainBox p img:not(.NoImgCenter img) {
#MainBox p Img:not(.NoImgCenter Img),
#MainBox p Video:not(.NoImgCenter Video) {
Display: Block;
Margin-Left: Auto;
Margin-Right: Auto;
}
.ImgSidePadding img {
.ImgSidePadding Img,
.ImgSidePadding Video {
Padding-Left: 16px;
Padding-Right: 16px;
}