MediaWiki:Common.css: Difference between revisions
From He is Coming Official Wiki
HolyMormor (talk | contribs) mNo edit summary |
No edit summary |
||
| (132 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
@media | /* Wrapper och border */ | ||
.infobox- | .borderline-wrapper { | ||
overflow: auto; | |||
margin-top: 0.3em; | |||
margin-bottom: 0.3em; | |||
} | |||
.borderline { | |||
max-width: 100%; | |||
box-sizing: border-box; | |||
margin: 0; | |||
padding: 0; | |||
} | |||
@media (max-width: 900px) { | |||
.borderline-wrapper { | |||
margin-right: 0 !important; | |||
} | |||
} | |||
.infobox-neutral { | |||
border: 4px solid #fff; | |||
border-collapse: collapse; | |||
background: #241319; | |||
width: 324px; | |||
margin: 2em auto; | |||
box-sizing: border-box; | |||
} | |||
.infobox-neutral td, .infobox-neutral th { | |||
border: none; | |||
background: #241319; | |||
padding: 0; | |||
} | |||
/* Top left corner */ | |||
.infobox-corner-topleft { | |||
margin-top: -10px !important; | |||
margin-left: -4px !important; | |||
position: relative; | |||
z-index: 2; | |||
width: 24px; | |||
height: 24px; | |||
background: none; | |||
border: none; | |||
padding: 0; | |||
} | |||
/* Bottom left corner (JUSTERA värden nedan för finjustering) */ | |||
.infobox-corner-bottomleft { | |||
margin-bottom: -4px !important; | |||
margin-left: -4px !important; | |||
position: relative; | |||
z-index: 2; | |||
width: 24px; | |||
height: 24px; | |||
background: none; | |||
border: none; | |||
padding: 0; | |||
} | |||
.infobox-corner-topright { | |||
margin-top: -10px !important; | |||
margin-right: -4px !important; | |||
position: relative; | |||
z-index: 2; | |||
width: 24px; | |||
height: 24px; | |||
background: none; | |||
border: none; | |||
padding: 0; | |||
} | |||
.infobox-corner-bottomright { | |||
margin-bottom: -4px !important; | |||
margin-right: -4px !important; | |||
position: relative; | |||
z-index: 2; | |||
width: 24px; | |||
height: 24px; | |||
background: none; | |||
border: none; | |||
padding: 0; | |||
} | |||
.challenge p { | |||
text-align: right; | |||
} | |||
.challenge .brown-bordered { | |||
width: auto; | |||
} | |||
.left-but { | |||
float: left; | |||
clear: left; | |||
margin: 0em auto; | |||
margin-right: 32px !important; | |||
margin-bottom: 16px; | |||
} | |||
.right-but { | |||
float: right; | |||
clear: right; | |||
margin: 0em auto; | |||
margin-left: 32px !important; | |||
margin-bottom: 16px; | |||
} | |||
.challenge .left-but { | |||
background: #241319; | |||
} | |||
@media (max-width: 640px) { | |||
.center-when-shrunk { | |||
float: none; | |||
clear: none; | |||
margin-left: auto !important; | |||
margin-right: auto !important; | |||
} | |||
.challenge .infobox-neutral { | |||
float: none !important; | |||
clear: none !important; | |||
margin-left: auto !important; | |||
margin-right: auto !important; | |||
} | |||
.infobox-upgrade { | |||
float: none !important; | float: none !important; | ||
clear: | clear: none !important; | ||
margin: | margin: auto !important; | ||
} | } | ||
. | .challenge .brown-bordered { | ||
width:100%; | |||
} | |||
} | } | ||
. | .mw-body { | ||
image-rendering: pixelated; | |||
} | } | ||
Latest revision as of 04:51, 22 October 2025
/* CSS placed here will be applied to all skins */
/* Wrapper och border */
.borderline-wrapper {
overflow: auto;
margin-top: 0.3em;
margin-bottom: 0.3em;
}
.borderline {
max-width: 100%;
box-sizing: border-box;
margin: 0;
padding: 0;
}
@media (max-width: 900px) {
.borderline-wrapper {
margin-right: 0 !important;
}
}
.infobox-neutral {
border: 4px solid #fff;
border-collapse: collapse;
background: #241319;
width: 324px;
margin: 2em auto;
box-sizing: border-box;
}
.infobox-neutral td, .infobox-neutral th {
border: none;
background: #241319;
padding: 0;
}
/* Top left corner */
.infobox-corner-topleft {
margin-top: -10px !important;
margin-left: -4px !important;
position: relative;
z-index: 2;
width: 24px;
height: 24px;
background: none;
border: none;
padding: 0;
}
/* Bottom left corner (JUSTERA värden nedan för finjustering) */
.infobox-corner-bottomleft {
margin-bottom: -4px !important;
margin-left: -4px !important;
position: relative;
z-index: 2;
width: 24px;
height: 24px;
background: none;
border: none;
padding: 0;
}
.infobox-corner-topright {
margin-top: -10px !important;
margin-right: -4px !important;
position: relative;
z-index: 2;
width: 24px;
height: 24px;
background: none;
border: none;
padding: 0;
}
.infobox-corner-bottomright {
margin-bottom: -4px !important;
margin-right: -4px !important;
position: relative;
z-index: 2;
width: 24px;
height: 24px;
background: none;
border: none;
padding: 0;
}
.challenge p {
text-align: right;
}
.challenge .brown-bordered {
width: auto;
}
.left-but {
float: left;
clear: left;
margin: 0em auto;
margin-right: 32px !important;
margin-bottom: 16px;
}
.right-but {
float: right;
clear: right;
margin: 0em auto;
margin-left: 32px !important;
margin-bottom: 16px;
}
.challenge .left-but {
background: #241319;
}
@media (max-width: 640px) {
.center-when-shrunk {
float: none;
clear: none;
margin-left: auto !important;
margin-right: auto !important;
}
.challenge .infobox-neutral {
float: none !important;
clear: none !important;
margin-left: auto !important;
margin-right: auto !important;
}
.infobox-upgrade {
float: none !important;
clear: none !important;
margin: auto !important;
}
.challenge .brown-bordered {
width:100%;
}
}
.mw-body {
image-rendering: pixelated;
}


