MediaWiki:Common.css: Forskelle mellem versioner
Spring til navigation
Spring til søgning
Admin (diskussion | bidrag) Ingen redigeringsopsummering |
Admin (diskussion | bidrag) Ingen redigeringsopsummering |
||
| Linje 85: | Linje 85: | ||
border-bottom: 1px solid #c8ccd1 !important; | border-bottom: 1px solid #c8ccd1 !important; | ||
width: 95% !important; | width: 95% !important; | ||
} | |||
/* Vis og style overskrifterne i begge bokse */ | |||
#p-Navigation .vector-menu-heading, | |||
#p-Værktøjer .vector-menu-heading { | |||
display: block !important; | |||
visibility: visible !important; | |||
opacity: 1 !important; | |||
/* Ens stil som dine højre kolonne-bokse */ | |||
font-size: 1.25em !important; | |||
font-weight: bold !important; | |||
color: #000 !important; | |||
margin: 0 0 8px 0 !important; | |||
padding-bottom: 4px !important; | |||
border-bottom: 1px solid #c8ccd1 !important; | |||
width: 95% !important; | |||
} | |||
/* Sørg for at labelen arver samme typografi */ | |||
#p-Navigation .vector-menu-heading .vector-menu-heading-label, | |||
#p-Værktøjer .vector-menu-heading .vector-menu-heading-label { | |||
font: inherit !important; | |||
color: inherit !important; | |||
} | } | ||
Versionen fra 12. feb. 2026, 12:31
/* 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;
}
/* Vis og style overskrifterne i begge bokse */
#p-Navigation .vector-menu-heading,
#p-Værktøjer .vector-menu-heading {
display: block !important;
visibility: visible !important;
opacity: 1 !important;
/* Ens stil som dine højre kolonne-bokse */
font-size: 1.25em !important;
font-weight: bold !important;
color: #000 !important;
margin: 0 0 8px 0 !important;
padding-bottom: 4px !important;
border-bottom: 1px solid #c8ccd1 !important;
width: 95% !important;
}
/* Sørg for at labelen arver samme typografi */
#p-Navigation .vector-menu-heading .vector-menu-heading-label,
#p-Værktøjer .vector-menu-heading .vector-menu-heading-label {
font: inherit !important;
color: inherit !important;
}