MediaWiki:Common.css: Difference between revisions

From Nightlife Asia Wiki
Jump to navigation Jump to search
(Replaced content with "→‎CSS placed here will be applied to all skins: →‎remove header on Main_Page: body.page-Main_Page.ns-subject h1.firstHeading { display: none; } →‎* INFOBOXES *: div.infobox{ float:right; position:relative; width:300px; background:#FFF; font-size:.923em; border:1px solid #AAA; margin:0 0 1em 1em; padding:0; }")
Tag: Replaced
No edit summary
Line 6: Line 6:


/** INFOBOXES **/
/** INFOBOXES **/
div.infobox{
.infobox {
  float:right;
  border: 1px solid #020202;
  position:relative;
  background-color: #f9f9f9;
  width:300px;
  color: black;
  background:#FFF;
  margin-bottom: 0.2em;
  font-size:.923em;
  margin-left: 1em;
  border:1px solid #AAA;
  padding: 0.2em;
  margin:0 0 1em 1em;
  float: right;
  padding:0;
  clear: right;
}
.infobox td,
.infobox th {
  vertical-align: top;
}
.infobox caption {
  font-size: larger;
  margin-left: inherit;
}
.infobox.bordered {
  border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
  border: 1px solid #020202;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
  border: 0;
}
}

Revision as of 18:28, 11 September 2022

/* CSS placed here will be applied to all skins */
/*remove header on Main_Page*/
body.page-Main_Page.ns-subject h1.firstHeading {
  display: none;
}

/** INFOBOXES **/
.infobox {
   border: 1px solid #020202;
   background-color: #f9f9f9;
   color: black;
   margin-bottom: 0.2em;
   margin-left: 1em;
   padding: 0.2em;
   float: right;
   clear: right;
}
.infobox td,
.infobox th {
   vertical-align: top;
}
.infobox caption {
   font-size: larger;
   margin-left: inherit;
}
.infobox.bordered {
   border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
   border: 1px solid #020202;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
   border: 0;
}