Modul:Message box/cmbox.css: Unterschied zwischen den Versionen
Modul:Message box/cmbox.css (Quelltext anzeigen)
Version vom 15. Juli 2021, 21:08 Uhr
, vor 2 JahrenMediaWiki talk:Gadget-site.css § Last to TemplateStyles: mbox and MediaWiki:Gadget-enwp-boxes.css
(code style conventions) |
|||
Zeile 1: | Zeile 1: | ||
/** | /** | ||
* {{cmbox}} (category message box) styles | * {{cmbox}} (category message box) styles | ||
Zeile 23: | Zeile 12: | ||
background-color: #dfe8ff; | background-color: #dfe8ff; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
} | |||
/* An empty narrow cell */ | |||
.cmbox td.mbox-empty-cell { | |||
border: none; | |||
padding: 0; | |||
width: 1px; | |||
} | |||
/* The message body cell(s) */ | |||
.cmbox th.mbox-text, | |||
.cmbox td.mbox-text { | |||
border: none; | |||
/* 0.9em left/right */ | |||
padding: 0.25em 0.9em; | |||
/* Make all mboxes the same width regardless of text length */ | |||
width: 100%; | |||
} | |||
/* The left image cell */ | |||
.cmbox td.mbox-image { | |||
/* 0.9em left, 0px right */ | |||
/* @noflip */ | |||
padding: 2px 0 2px 0.9em; | |||
} | |||
/* The right image cell */ | |||
.cmbox td.mbox-imageright { | |||
/* 0px left, 0.9em right */ | |||
/* @noflip */ | |||
padding: 2px 0.9em 2px 0; | |||
} | } | ||