No edit summary |
No edit summary |
||
| Line 16: | Line 16: | ||
.mediawiki.ltr.sitedir-ltr.mw-hide-empty-elt.ns-0.ns-subject.mw-editable.page-Skinemax.rootpage-Skinemax.skin-nostalgia.action-view { | .mediawiki.ltr.sitedir-ltr.mw-hide-empty-elt.ns-0.ns-subject.mw-editable.page-Skinemax.rootpage-Skinemax.skin-nostalgia.action-view { | ||
background-color: black; | background-color: black; | ||
} | } | ||
body.skin-nostalgia { | body.skin-nostalgia { | ||
background-color: black !important; | background-color: black !important; | ||
color: white !important; | color: white !important; | ||
} | } | ||
| Line 52: | Line 56: | ||
"sidebar main" | "sidebar main" | ||
"sidebar footer"; | "sidebar footer"; | ||
width: 70%; | width: 70%; | ||
max-width: 1200px; | max-width: 1200px; | ||
height: 100%; | height: 100%; | ||
} | } | ||
| Line 60: | Line 64: | ||
#top, #article, #footer { | #top, #article, #footer { | ||
border: 2px solid magenta; | border: 2px solid magenta; | ||
box-shadow: 0px 0px 50px 13px rgba(255, 0, 246, 0.25) inset; | box-shadow: 0px 0px 50px 13px rgba(255, 0, 246, 0.25) inset; | ||
margin: 10px; | margin: 10px; | ||
overflow-y: auto; /* Enable vertical scrolling */ | overflow-y: auto; /* Enable vertical scrolling */ | ||
| Line 68: | Line 73: | ||
#top { | #top { | ||
grid-area: sidebar; | grid-area: sidebar; | ||
padding: 20px; | padding: 20px; | ||
| Line 74: | Line 80: | ||
#article { | #article { | ||
position: relative; | position: relative; | ||
grid-area: main; | grid-area: main; | ||
| Line 83: | Line 90: | ||
#footer { | #footer { | ||
height: 20px; | |||
height: 20px; | |||
grid-area: footer; | grid-area: footer; | ||
padding: 20px; | padding: 20px; | ||
text-align: center; | text-align: center; | ||
} | } | ||
.printfooter { | .printfooter { | ||
display: none; | display: none; | ||
} | } | ||
| Line 102: | Line 111: | ||
margin-left: auto; /* Pushes the image to the center horizontally */ | margin-left: auto; /* Pushes the image to the center horizontally */ | ||
margin-right: auto; /* Pushes the image to the center horizontally */ | margin-right: auto; /* Pushes the image to the center horizontally */ | ||
} | } | ||
.mw-halign-center { | .mw-halign-center { | ||
width: 100%; /* Makes the image fill the container's width */ | width: 100%; /* Makes the image fill the container's width */ | ||
height: auto; /* Maintains the aspect ratio of the image */ | |||
object-fit: cover | object-fit: cover | ||
} | } | ||
.mw-tmh-player.video { | .mw-tmh-player.video { | ||
width: 100%; /* Container takes the full width */ | |||
height: auto; | |||
position: relative; | |||
overflow: hidden; /* Prevent overflow if video exceeds bounds */ | |||
box-shadow: 5px 5px rgba(255, 255, 255, 1.0); | |||
} | } | ||
| Line 124: | Line 134: | ||
img, video { | img, video { | ||
display: block; | |||
max-width: 100%; | |||
height: auto; | |||
margin-left: auto; | |||
margin-right: auto; | |||
} | } | ||
img:not(.top-image) { | img:not(.top-image) { | ||
box-shadow: 5px 5px rgba(255, 255, 255, 1.0); | box-shadow: 5px 5px rgba(255, 255, 255, 1.0); | ||
} | } | ||
| Line 139: | Line 152: | ||
div#t { | div#t { | ||
transform: scale(0.8); | transform: scale(0.8); | ||
transform-origin: center; | transform-origin: center; | ||
} | } | ||
p.sidebar-heading { | p.sidebar-heading { | ||
font-weight: bold; | font-weight: bold; | ||
font-style: italic; | font-style: italic; | ||
} | } | ||
Revision as of 02:28, 21 December 2024
html {
background-color: black !important;
}
html, body {
height: 100%;
margin: 0;
padding: 0;
background-color: black;
color: white;
}
.mediawiki.ltr.sitedir-ltr.mw-hide-empty-elt.ns-0.ns-subject.mw-editable.page-Skinemax.rootpage-Skinemax.skin-nostalgia.action-view {
background-color: black;
}
body.skin-nostalgia {
background-color: black !important;
color: white !important;
}
body.skin-nostalgia a {
color: #5297FF !important;
text-decoration: underline !important;
}
body.skin-nostalgia a:hover {
color: #0B81EF !important;
}
body {
display: flex;
justify-content: center;
}
#content {
background-color: black;
display: grid;
grid-template-columns: 250px 1fr;
grid-template-areas:
"sidebar main"
"sidebar footer";
width: 70%;
max-width: 1200px;
height: 100%;
}
#top, #article, #footer {
border: 2px solid magenta;
box-shadow: 0px 0px 50px 13px rgba(255, 0, 246, 0.25) inset;
margin: 10px;
overflow-y: auto; /* Enable vertical scrolling */
}
#top {
grid-area: sidebar;
padding: 20px;
}
#article {
position: relative;
grid-area: main;
padding: 20px;
height: calc(100vh - 140px - 40px);
padding: 36px;
}
#footer {
height: 20px;
grid-area: footer;
padding: 20px;
text-align: center;
}
.printfooter {
display: none;
}
/* MEDIA */
.mw-halign-center {
display: block; /* Ensures the image behaves as a block-level element */
margin-left: auto; /* Pushes the image to the center horizontally */
margin-right: auto; /* Pushes the image to the center horizontally */
}
.mw-halign-center {
width: 100%; /* Makes the image fill the container's width */
height: auto; /* Maintains the aspect ratio of the image */
object-fit: cover
}
.mw-tmh-player.video {
width: 100%; /* Container takes the full width */
height: auto;
position: relative;
overflow: hidden; /* Prevent overflow if video exceeds bounds */
box-shadow: 5px 5px rgba(255, 255, 255, 1.0);
}
img, video {
display: block;
max-width: 100%;
height: auto;
margin-left: auto;
margin-right: auto;
}
img:not(.top-image) {
box-shadow: 5px 5px rgba(255, 255, 255, 1.0);
}
/* TEXT */
div#t {
transform: scale(0.8);
transform-origin: center;
}
p.sidebar-heading {
font-weight: bold;
font-style: italic;
}
