Vorlage:Colored box/style.css: Unterschied zwischen den Versionen

Aus HuskyWiki
KKeine Bearbeitungszusammenfassung
KKeine Bearbeitungszusammenfassung
Zeile 10: Zeile 10:
  background: #003777;
  background: #003777;
  color: #ffffff;
  color: #ffffff;
  border-radius: 0.2em 0.2em 0 0;
  border-radius: 0.4em 0.4em 0 0;
  padding: 0.5em 1em 0.5em 1em;
  padding: 0.5em 1em 0.5em 1em;
}
}

Version vom 20. September 2024, 07:56 Uhr

.mw-tpl-colorbox {
 box-sizing: border-box;
 margin: 0.5em 0.5em 1em 0.5em;
 border-radius: 0.2em;
 background: #fff;
 box-shadow: 0 0 0.2em #999999;
}

.mw-tpl-colorbox-title {
 background: #003777;
 color: #ffffff;
 border-radius: 0.4em 0.4em 0 0;
 padding: 0.5em 1em 0.5em 1em;
}

.mw-tpl-colorbox-title-icon {
 opacity: 0.8;
}

.mw-tpl-colorbox-title-corner {
 float: right;
 font-size: 0.7em;
}

.mw-tpl-colorbox-content {
 padding: 0.5em 1em 0.5em 1em;
}

.mw-tpl-colorbox-content::after {
	content: "";
	display: block;
	clear: both;
}