Difference between revisions of "MediaWiki:Common.css"

From Kerbal Space Program Wiki
Jump to: navigation, search
(+infobox css;)
m (*ups wrong margin;)
Line 34: Line 34:
 
background: #f6f6f6;
 
background: #f6f6f6;
 
border: 1px solid #ccc;
 
border: 1px solid #ccc;
margin-top:0.4em;
+
margin-top:0px;
 
}
 
}
 
table.ambox + div.infobox {
 
table.ambox + div.infobox {
margin-top:0px;
+
margin-top:0.4em;
 
}
 
}
  

Revision as of 13:49, 22 August 2013

/* CSS placed here will be applied to all skins */
div.mp-box,
.fmbox {
      background: #F6F6F6;
      padding: 1em;
      border: 1px solid #ccc;
      margin:0.25em;
}
/* Article message box styles */
table.ambox {
    margin: 0px 10%;                  /* 10% = Will not overlap with other elements */
    border: 1px solid #aaa;
    /* @noflip */
    border-left: 10px solid #1e90ff;  /* Default "notice" blue */
    background: #fbfbfb;
}
table.ambox + table.ambox {      /* Single border between stacked boxes. */
    margin-top: -1px;
}
.ambox td.mbox-text {            /* The message body cell(s) */
    border: none;
    /* @noflip */
    width: 100%;                 /* Make all mboxes the same width regardless of text length */
    padding: 0.25em 0.5em;       /* 0.5em left/right */
}
.ambox td.mbox-image {           /* The left image cell */
    border: none;
    /* @noflip */
    padding: 2px 0 2px 0.5em;    /* 0.5em left, 0px right */
    text-align: center;
}

div.infobox {
	background: #f6f6f6;
	border: 1px solid #ccc;
	margin-top:0px;
}
table.ambox + div.infobox {
	margin-top:0.4em;
}

/* @noflip */div.float-left,
table.float-left,
ul.float-left,
.float-left {
	clear: left;
	float: left;
	margin: 1em 1em 1em 0;
}
/* @noflip */div.float-right,
table.float-right,
ul.float-right,
.float-right {
	clear: right;
	float: right;
	margin: 1em 0 1em 1em;
}

/* Planetary stuff! */
.mp-planetnav{
      background:#000;
      margin:0.25em;
}
.mp-planetnav a {
      color:white;
      font-weight:bold;
      display:block;
      text-align:center;
}

/* Sysops */
.mw-userlink[title="User:UmbralRaptor"],
.mw-userlink[title="User:XZise"],
.mw-userlink[title="User:Ruedii"],
.mw-userlink[title="User:Schepter"],
.mw-userlink[title="User:Avey1984"],
.mw-userlink[title="User:Dylloop"],
a.trusted, .bur, .adm, .mod {
    color:orange !important;
    font-weight:bold;
}

/* Bots */
a[class="mw-userlink"][title="User:RoboJeb"],
.robot, .bot {
    color:#FE48AA;
    font-weight:bold;
}

/* Squad - Squad Logo + Green text */
a.mw-userlink[title="User:N3X15"],
a.mw-userlink[title="User:NovaSilisko"],
.squad {
  font-weight:bold;
  background:url('http://wiki.kerbalspaceprogram.com/w/images/thumb/0/04/SquadLogo.svg/16px-SquadLogo.svg.png') left no-repeat;
  color: green !important;
  padding-left:18px !important;
}