MediaWiki:Common.css: Difference between revisions
From He is Coming Official Wiki
HolyMormor (talk | contribs) mNo edit summary |
HolyMormor (talk | contribs) mNo edit summary |
||
| Line 20: | Line 20: | ||
} | } | ||
.infobox-neutral | .infobox-neutral { | ||
border: 4px solid #fff; | border: 4px solid #fff; | ||
border-collapse: collapse; | |||
background: #241319; | background: #241319; | ||
width: 324px; | |||
margin: 2em auto; | |||
box-sizing: border-box; | box-sizing: border-box; | ||
} | } | ||
.infobox-neutral | .infobox-neutral td, .infobox-neutral th { | ||
.infobox-neutral | |||
border: none; | border: none; | ||
background: #241319; | background: #241319; | ||
padding: 0; | |||
} | |||
.infobox-corner-topleft { | |||
margin-top: -4px !important; | |||
margin-left: -4px !important; | |||
position: relative; | |||
z-index: 2; | |||
width: 24px; | |||
height: 24px; | |||
background: none; | |||
border: none; | |||
padding: 0; | |||
} | } | ||
Revision as of 19:19, 2 August 2025
/* CSS placed here will be applied to all skins */
.borderline-wrapper {
overflow: auto;
margin-top: 0.3em; /* Minska från 2em till 0.3em eller 0 om du vill ha minimal luft */
margin-bottom: 0.3em; /* Behåll luft under, ändra om du vill ha mindre även där */
}
/* Borderlinen i sig behöver normalt inte ändras men vi låter den ligga kvar */
.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;
}
.infobox-corner-topleft {
margin-top: -4px !important;
margin-left: -4px !important;
position: relative;
z-index: 2;
width: 24px;
height: 24px;
background: none;
border: none;
padding: 0;
}


