MediaWiki:Common.css
Från EverybodyWiki Bios & Wiki
OBS: Efter du har publicerat sidan kan du behöva tömma din webbläsares cache för att se ändringarna.
- Firefox / Safari: Håll ned Skift och klicka på Uppdatera sidan eller tryck Ctrl-F5 eller Ctrl-R (⌘-R på Mac)
- Google Chrome: Tryck Ctrl-Skift-R (⌘-Skift-R på Mac)
- Internet Explorer / Edge: Håll ned Ctrl och klicka på Uppdatera eller tryck Ctrl-F5
- Opera: Tryck Ctrl-F5.
/*Hide Mobile Ads*/ .hiddenondesktop { display: none!important; }
/*Put the TOC at the right*/ #toc { float: right;}
/*Hide scribunto errors and Geograpical errors (.errorbox) Fatal error: The format of the coordinate could not be determined. Parsing failed.*/
.errorbox, .error, .scribunto-error, #mw-scribunto-error-0, #mw-scribunto-error-1, #mw-scribunto-error-2, #mw-scribunto-error-3 { display: none!important; }
/*To avoid #toc squishing on small screens*/
@media (max-width:1160px) { #toc { max-width:50%;} } @media (max-width:1000px) { #toc { float:none;max-width:100% } }
/*Highlight section titles when navigating to their anchor (clicking a section title inside the table of contents), to allow the user to find it again faster and orientation.*/ .mw-headline:target { background-color:gold; }
/*logo display*/ #p-logo a { height: 165px ;}
/*layout of checkboxes and radiobuttons*/
label.radioButtonItem { width: 180px; display: block; float: left; }
label.checkboxLabel { width: 180px; display: block; float: left; }
/* Infoboxes */
.bNfInfobox {
float: right;
box-shadow: 0px 2px 8px rgb(0 0 0 / 15%);
border-radius: 8px;
margin: 0 0 1rem 1rem !important;
max-width: 333px;
background: white;
overflow: hidden;
}
@media (max-width: 768px) {
.bNfInfobox {
float: none;
text-align: center;
width: 100%;
margin: 0 0 1rem !important;
max-width: none;
}
}
.bNfInfobox > div {
display: flex;
flex-direction: column;
}
.bNfInfobox > div:not(.statusBnF):not(.bugInfobox):not(.feaInfobox) {
border-top: 1px solid lightgray;
padding: 0.2rem 1rem .3rem;
}
.bNfInfobox > div:last-of-type { margin-bottom: .4rem !important; }
.bNfInfobox b, .bNfInfobox span {
display: inline-block;
width: 100%;
}
.statusBnF, .bugInfobox, .feaInfobox {
padding: .2rem 1rem;
}
.bugInfobox { background: lightcoral; }
.feaInfobox { background: lightblue; }