MediaWiki:Common.css: Difference between revisions

From Stellar Kennings
Jump to navigation Jump to search
(testing tr-nth)
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 18: Line 18:
}
}


#starfleetSeriesTable tr:nth-child (odd) {
#starfleetCareer.wikitable
  background: #79bdd1;
{
font-size: 10pt;
}
 
#starfleetCareerTable.wikitable tr:nth-child(even) {
  background: #dee9ff;
}
}



Latest revision as of 03:34, 22 June 2022

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

.planetAlternate {
  clear:left;
  float:right;
  margin:0 0 0.5em 1em;
  border: 1px solid;
  width: 22em;
  font-size:smaller;
}

.planetAlternate td {
 vertical-align: top;
}

.planetAlternate tr:nth-child(odd) {
  background: #dee9ff
}

#starfleetCareer.wikitable
{
 font-size: 10pt;
}

#starfleetCareerTable.wikitable tr:nth-child(even) {
 background: #dee9ff;
}

.infobox {
    border: 1px solid #aaa;
    background-color: #f9f9f9;
    color: black;
    margin: 0.5em 0 0.5em 1em;
    padding: 0.2em;
    font-size: 95%;
    line-height: 1.5em;
}

.whitelinks a{color:white;}

.solarSystem
{
    float: right;
    text-align: right;
    background-color: #f9f9f9;
    color: black;
    line-height: 1.5em;
    margin: 0 0 1em 1em;
    width:200px; 
    font-size: 11px;
    padding: 0px;
    border-collapse: collapse;
    border-spacing: 0; 
}

.solarSystem th
{
  background-color: black;
  color: white;
  text-align: center;
  font-weight: bold;
}

.solarSystem td
{
  background-color: black;
  color: white;
  text-align: left;
}

.solarSystem td.left
{
  padding-left: 3px;
  padding-right: 1px;
}

.KIAsidebar
{
  border: 1px solid #aaa;
  background-color: #f5f5f5;
  color: white;
  margin: 0.5em 0 0.5em 1em;
  padding: 0.2em;
  font-size: 95%;
  line-height: 1.5em;
  background-image: url(https://www.stellarkennings.net/wiki/images/a/a8/Black-marble.jpg);
}