Template:ColoredBox/style.css: Difference between revisions

From fattwiki
No edit summary
(fix border radius problem)
 
Line 11: Line 11:
  background:#e2e2e2;
  background:#e2e2e2;
  color:#000000;
  color:#000000;
border-radius:0.2em 0.2em 0 0;
  padding:0.5em 1em 0.5em 1em
  padding:0.5em 1em 0.5em 1em
}
}

Latest revision as of 15:54, 13 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:#e2e2e2;
}
.mw-tpl-colorbox-title {
 background:#e2e2e2;
 color:#000000;
 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
}