Template:ColoredBox/style.css: Difference between revisions

From fattwiki
m (Imperialhare moved page Template:Colored box/style.css to Template:ColoredBox/style.css without leaving a redirect)
mNo edit summary
Line 1: Line 1:
.mw-parser-output .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 0.5em 1em 0.5em;
Line 6: Line 6:
  box-shadow:0 0 0.2em #999999
  box-shadow:0 0 0.2em #999999
}
}
.mw-parser-output .mw-tpl-colorbox-title {
.mw-tpl-colorbox-title {
  background:#eaecf0;
  background:#eaecf0;
  color:#000000;
  color:#000000;
Line 12: Line 12:
  padding:0.5em 1em 0.5em 1em
  padding:0.5em 1em 0.5em 1em
}
}
.mw-parser-output .mw-tpl-colorbox-title-icon {
.mw-tpl-colorbox-title-icon {
  opacity:0.8
  opacity:0.8
}
}
.mw-parser-output .mw-tpl-colorbox-title-corner {
.mw-tpl-colorbox-title-corner {
  float:right;
  float:right;
  font-size:0.7em
  font-size:0.7em
}
}
.mw-parser-output .mw-tpl-colorbox-content {
.mw-tpl-colorbox-content {
  padding:0.5em 1em 0.5em 1em
  padding:0.5em 1em 0.5em 1em
}
}
.mw-parser-output .mw-tpl-colorbox-content::after {
.mw-tpl-colorbox-content::after {
  content:"";
  content:"";
  display:block;
  display:block;
  clear:both
  clear:both
}
}

Revision as of 23:06, 3 July 2022

.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
}