MediaWiki:Common.css: Forskelle mellem versioner
Spring til navigation
Spring til søgning
Admin (diskussion | bidrag) Ingen redigeringsopsummering |
Admin (diskussion | bidrag) Ingen redigeringsopsummering |
||
| Linje 66: | Linje 66: | ||
} | } | ||
#p-Værktøjer { | /* Værktøjer – boks */ | ||
border: 1px solid #c8ccd1; | #p-Værktøjer, | ||
background: #f8f9fa; | nav[id="p-Værktøjer"] { | ||
padding: 14px; | border: 1px solid #c8ccd1 !important; | ||
margin-top: 15px; | background: #f8f9fa !important; | ||
margin-bottom: 15px; | padding: 14px !important; | ||
border-radius: 2px; | margin-top: 15px !important; | ||
margin-bottom: 15px !important; | |||
border-radius: 2px !important; | |||
} | |||
/* Værktøjer – overskrift */ | |||
#p-Værktøjer .vector-menu-heading, | |||
nav[id="p-Værktøjer"] .vector-menu-heading { | |||
font-size: 1.25em !important; | |||
font-weight: bold !important; | |||
margin: 0 0 8px 0 !important; | |||
padding-bottom: 4px !important; | |||
border-bottom: 1px solid #c8ccd1 !important; | |||
width: 95% !important; | |||
} | } | ||
Versionen fra 12. feb. 2026, 12:28
/* Skjul MediaWiki's automatiske "Værktøjer" boks i sidebaren */
#p-tb {
display: none !important;
}
/* =========================================================
STANDARD BILLEDSSTIL – Middelfart Historier
Gælder for alle billeder i artikler
========================================================= */
/* Gør alle billeder responsive */
.mw-content-ltr img,
.mw-content-rtl img {
max-width: 100% !important;
height: auto !important;
}
/* Standard ramme for thumbnails */
.thumb {
border: 1px solid #ddd;
background: #f9f9f9;
padding: 6px;
margin: 1.5em 0;
}
/* Styler selve billedet i thumbnail */
.thumb img {
border-radius: 2px;
}
/* Billedtekster (captions) – mere elegante og letlæselige */
.thumb .thumbcaption {
font-size: 0.95em;
color: #555;
padding: 0.4em 0 0;
line-height: 1.45em;
}
/* Mere luft mellem tekst og billede i ikke-thumb billeder */
.mw-content-ltr img,
.mw-content-rtl img {
margin: 1em 0;
}
/* Justér rammer for store billeder (frameless) */
img[decoding="async"] {
box-sizing: border-box;
}
#p-Navigation {
border: 1px solid #c8ccd1;
background: #f8f9fa;
padding: 14px;
margin-bottom: 15px;
border-radius: 2px;
}
#p-Navigation .vector-menu-heading {
font-size: 1.25em;
font-weight: bold;
margin: 0 0 8px 0;
padding-bottom: 4px;
border-bottom: 1px solid #c8ccd1;
width: 95%;
}
/* Værktøjer – boks */
#p-Værktøjer,
nav[id="p-Værktøjer"] {
border: 1px solid #c8ccd1 !important;
background: #f8f9fa !important;
padding: 14px !important;
margin-top: 15px !important;
margin-bottom: 15px !important;
border-radius: 2px !important;
}
/* Værktøjer – overskrift */
#p-Værktøjer .vector-menu-heading,
nav[id="p-Værktøjer"] .vector-menu-heading {
font-size: 1.25em !important;
font-weight: bold !important;
margin: 0 0 8px 0 !important;
padding-bottom: 4px !important;
border-bottom: 1px solid #c8ccd1 !important;
width: 95% !important;
}