MediaWiki:Common.css: Difference between revisions
Content deleted Content added
Neppermint (talk | contribs) No edit summary |
No edit summary |
||
(93 intermediate revisions by 4 users not shown) | |||
Line 1:
/*In case someone is reading this, be careful when copying this code. We are not web developers, this is a Frankestein mess. Use at your own risk!*/
/* CSS placed here will be applied to all skins */
#mw-content-block.ts-inner {
max-width: 125em;
}
#mw-content {
margin-left: 11%; /* Adjust this value to match the width of #mw-site-navigation */
margin-right: 12.6%; /* Adjust this value to match the width of #mw-site-navigation */
}
#mw-content-container {
/* Background image (default cat) */
background-image: url(none);
background-attachment: fixed;
/* -webkit-animation: animate_background 6s linear 0s infinite;
-moz-animation: animate_background 6s linear 0s infinite;
-o-animation: animate_background 6s linear 0s infinite;
animation: animate_background 6s linear 0s infinite;*/
border: none;
background-color: transparent;
Line 45 ⟶ 54:
.mw-body h6 {
font-family: LifeSavers-Bold;
}
/* Sidebars */
#mw-site-navigation {
position: fixed; /* Change from static to fixed */
top: 0; /* Ensures it sticks to the top of the viewport */
max-height: 100vh; /* Limit the maximum height to viewport height */
}
div#mw-related-navigation {
position: fixed; /* Change from static to fixed */
top: 175px; /* Ensures it sticks to the top of the viewport */
max-height: calc(100vh - 175px); /* Adjust max-height to accommodate the change */
right: 0; /*right side */
}
/* Positioning for site tools */
div#p-managewiki-sidebar-header.mw-portlet {
position: fixed;
top: 725px; /* Adjust top position to place it under mw-related-navigation */
right: 0;
width: 200px; /* Adjust width as needed */
/* background-color: #ffffff; Example background color */
padding: 10px; /* Example padding */
z-index: 100; /* Adjust z-index as needed */
}
Line 72 ⟶ 106:
line-height: 1
*/
/*THIS IS A TEST LINE FOR INTERNET PERFORMANCE TESTING*/
/*SAVING THIS CSS FILE USUALLY FAILS SO IT IS A GOOD TEST*/
/*THE FOLLOWING IS NONSENSE TEXT TO REPEATEDLY SAVE THE FILE*/
/*DFGJHDNGIJHEFIGSEG*/
/* OLIVIANON'S CSS EXPERIMENT SECTION END */
Line 130 ⟶ 167:
visibility: hidden;
}
body::before {
content: "";
position: fixed;
top: 0;
left: 0;
width: 140%;
height: 140%;
background: url(https://static.miraheze.org/emmytherobotwiki/0/06/Bgtile.png) 0 0 repeat;
z-index: -1;
}
@keyframes animate_background {
from {
transform: translate(0, 0);
}
to {
transform: translate(-257px, -257px);
}
}
.mw-page-container
Line 240 ⟶ 281:
background-color: transparent;
}
}
.vector-menu-tabs li
{
Line 382 ⟶ 423:
position: static;
}
/* #mw-header controls size of search box along top of page*/
#mw-header {
width:
max-width:
padding: 0;
position: static;
Line 397 ⟶ 439:
color: ;
}
/* Wikitable */
table.wikitable, table.wikitable caption, table.wikitable th, table.wikitable td {
padding-top: 0.2em;
}
/* ================= *
* Template: Spoiler *
* ================= */
.spoiler {
background-color: black;
color: black;
}
.spoiler:focus,
.spoiler:active,
.spoiler:hover {
color: #ccc;
}
.spoiler a {
color: black;
}
.spoiler:focus a,
.spoiler:active a,
.spoiler:hover a {
color: var(--color-link);
}
|