Jump to content

Template:Colored box/style.css: Difference between revisions

From CAPipedia
en>Krinkle
No edit summary
en>Krinkle
m Reverted edits by Krinkle (talk) to last version by 91.17.249.14
Line 9: Line 9:
.mw-tpl-colorbox-title {
.mw-tpl-colorbox-title {
  background: #eaecf0;
  background: #eaecf0;
color: #000000;
  border-radius: 0.2em 0.2em 0 0;
  border-radius: 0.2em 0.2em 0 0;
  padding: 0.5em 1em 0.5em 1em;
  padding: 0.5em 1em 0.5em 1em;
color: #000000;
font-weight: bold;
}
}


Line 21: Line 20:
.mw-tpl-colorbox-title-corner {
.mw-tpl-colorbox-title-corner {
  float: right;
  float: right;
font-weight: normal;
  font-size: 0.7em;
  font-size: 0.7em;
}
}

Revision as of 18:27, 6 September 2023

.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: #eaecf0;
 color: #000000;
 border-radius: 0.2em 0.2em 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;
}