Template:ColoredBox/style.css: Difference between revisions

From fattwiki
mNo edit summary
(Change from dropshadow to solid border)
Line 1: Line 1:
.mw-tpl-colorbox {
.mw-tpl-colorbox {
  box-sizing:border-box;
  box-sizing:border-box;
  margin:0.5em 0.5em 1em 0.5em;
  margin:0.5em;
  border-radius:0.2em;
  border-radius:0.2em;
  background:#fff;
  background:#fff;
  box-shadow:0 0 0.2em #999999
  border-width:2px;
border-style:solid;
border-color:#eaecf0;
}
}
.mw-tpl-colorbox-title {
.mw-tpl-colorbox-title {

Revision as of 23:46, 8 July 2022

.mw-tpl-colorbox {
 box-sizing:border-box;
 margin:0.5em;
 border-radius:0.2em;
 background:#fff;
 border-width:2px;
 border-style:solid;
 border-color:#eaecf0;
}
.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
}