No edit summary |
No edit summary |
||
| Line 6: | Line 6: | ||
html, body { | html, body { | ||
height: 100%; | height: 100%; | ||
margin: 0; | margin: 0; | ||
| Line 24: | Line 25: | ||
body.skin-nostalgia a { | body.skin-nostalgia a { | ||
color: #5297FF !important; | color: #5297FF !important; | ||
text-decoration: underline !important; | text-decoration: underline !important; | ||
} | } | ||
body.skin-nostalgia a:hover { | body.skin-nostalgia a:hover { | ||
color: #0B81EF !important; | color: #0B81EF !important; | ||
} | } | ||
body { | body { | ||
display: flex; | display: flex; | ||
justify-content: center; | justify-content: center; | ||
| Line 39: | Line 45: | ||
#content { | #content { | ||
background-color: black; | background-color: black; | ||
display: grid; | display: grid; | ||
| Line 48: | Line 55: | ||
max-width: 1200px; /* Optional: set a maximum width */ | max-width: 1200px; /* Optional: set a maximum width */ | ||
height: 100%; | height: 100%; | ||
} | |||
@media (max-width: 768px) { | |||
#content { | |||
grid-template-areas: | |||
"sidebar" | |||
"main" | |||
"footer"; | |||
} | |||
} | } | ||
Revision as of 22:12, 16 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%; /* Adjust this value to control the width */
max-width: 1200px; /* Optional: set a maximum width */
height: 100%;
}
@media (max-width: 768px) {
#content {
grid-template-areas:
"sidebar"
"main"
"footer";
}
}
#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 {
grid-area: main;
padding: 20px;
height: 75vh;
padding: 36px;
}
#footer {
grid-area: footer;
padding: 20px;
text-align: center;
}
.printfooter {
display: none;
}
.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);
}
div#t {
transform: scale(0.8);
transform-origin: center;
}
