MediaWiki:Common.css: Forskelle mellem versioner
Spring til navigation
Spring til søgning
Admin (diskussion | bidrag) Ingen redigeringsopsummering |
Admin (diskussion | bidrag) Ingen redigeringsopsummering |
||
| Linje 65: | Linje 65: | ||
width: 95%; | width: 95%; | ||
} | } | ||
#p-tb { | |||
border: 1px solid #c8ccd1; | |||
background: #f8f9fa; | |||
padding: 14px; | |||
margin-bottom: 15px; | |||
border-radius: 2px; | |||
} | |||
#p-tb .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%; | |||
} | |||
`` | |||
Versionen fra 12. feb. 2026, 12:19
/* 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%;
}
#p-tb {
border: 1px solid #c8ccd1;
background: #f8f9fa;
padding: 14px;
margin-bottom: 15px;
border-radius: 2px;
}
#p-tb .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%;
}
``