MediaWiki:Common.css&action=edit

From Rotborough Truth Archive
Revision as of 13:51, 24 June 2025 by Rtaadmin (talk | contribs) (Created page with "Infobox styling: .infobox { background: #f9f9f9; border: 1px solid #aaa; float: right; margin: 0 0 1em 1em; padding: 1em; width: 20em; clear: right; font-size: 88%; line-height: 1.5em; } .infobox caption { font-size: 125%; font-weight: bold; padding: 0.2em; text-align: center; } .infobox td, .infobox th { vertical-align: top; text-align: left; padding: 0.5em 0.5em; border-bottom: 1px solid #eee; }...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

/* Infobox styling */ .infobox {

   background: #f9f9f9;
   border: 1px solid #aaa;
   float: right;
   margin: 0 0 1em 1em;
   padding: 1em;
   width: 20em;
   clear: right;
   font-size: 88%;
   line-height: 1.5em;

}

.infobox caption {

   font-size: 125%;
   font-weight: bold;
   padding: 0.2em;
   text-align: center;

}

.infobox td, .infobox th {

   vertical-align: top;
   text-align: left;
   padding: 0.5em 0.5em;
   border-bottom: 1px solid #eee;

}

.infobox th {

   background: #eee;
   font-weight: bold;
   text-align: right;
   width: 33%;

}

/* Infobox headers */ .infobox th[colspan="2"] {

   text-align: center;
   background: #ddd;
   font-weight: bold;

}

/* Remove border from last row */ .infobox tr:last-child td, .infobox tr:last-child th {

   border-bottom: none;

}