Difference between revisions of "MediaWiki:Common.css"

From Project: Gorgon Wiki
Jump to: navigation, search
m
m (Don't use Heading tags because it gets into the page TOC)
Line 36: Line 36:
 
.gg-itemt-img { position:absolute; left:0; top:0; width:40px; height:40px; overflow:hidden; background:#222; }
 
.gg-itemt-img { position:absolute; left:0; top:0; width:40px; height:40px; overflow:hidden; background:#222; }
 
.gg-itemt-img img { display:block; border:none; width:40px; height:40px; }
 
.gg-itemt-img img { display:block; border:none; width:40px; height:40px; }
.gg-itemt h4 {  
+
.gg-itemt .gg-hd {
 
   font:bold 16px/1.1em "Book Antiqua", Palatino, "Palatino Linotype", "Palatino LT STD", Georgia, serif;
 
   font:bold 16px/1.1em "Book Antiqua", Palatino, "Palatino Linotype", "Palatino LT STD", Georgia, serif;
 
   color:#fff; white-space:nowrap; margin:0 0 8px; padding:0;
 
   color:#fff; white-space:nowrap; margin:0 0 8px; padding:0;

Revision as of 09:53, 30 September 2014

/* CSS placed here will be applied to all skins */

body.page-Main_Page h1.firstHeading { display:none; }

/* Gorgonzola: fix dark links in body content barely distinguishable from plain text. */
a { color:#002bb8; }
.mw-body a:visited, .mw-body a.external:visited { color:#5a3696; }

/* Gorgonzola: [[Main_Page]] */
.gg-tbl-hd {
  width:100%; height:29px; background:#8d0000;
}
.gg-tbl-hd img {
  display:block; width:100%; height:29px; border:none;
}
.gg-tbl-hdt {
  width:100%; font:bold 15px/1em Georgia,serif; text-align:center; color:#eaeaea; position:absolute; left:0; top:8px;
}

/* Gorgonzola: Used by [[Template:Spoilers]] */
.gg-spoiler .spoilers-button {
  background:#aaa linear-gradient(to bottom,#eee,#aaa); transition:.1s background-position linear;
  border:1px solid #aaa; border-radius:5px;
  padding:3px 10px;
  display:inline-block;
}
.gg-spoiler .spoilers-body {
  padding:3px 10px; margin:0 0 1em;
  background:#eee; border:1px dashed #aaa;
}

/* Gorgonzola: Used by [[Template:ItemT]] */
.gg-itemt { border:1px solid #423930; width:304px; padding:6px; background:#0e0a08; color:#b09066; overflow:hidden; }
.gg-itemt p { font:13px/15px Arial, sans-serif; color:#b09066; margin:0 0 7px; }
.gg-itemt-hd { position:relative; padding:0 0 0 47px; min-height:40px; }
.gg-itemt-img { position:absolute; left:0; top:0; width:40px; height:40px; overflow:hidden; background:#222; }
.gg-itemt-img img { display:block; border:none; width:40px; height:40px; }
.gg-itemt .gg-hd {
  font:bold 16px/1.1em "Book Antiqua", Palatino, "Palatino Linotype", "Palatino LT STD", Georgia, serif;
  color:#fff; white-space:nowrap; margin:0 0 8px; padding:0;
}
.gg-itemt dl { margin:0; padding:0; }
.gg-itemt dt { margin:0; padding:0 0 9px 0; }
.gg-itemt dd { margin:0 0 0 15px; padding:0 0 9px 0; line-height:14px; }