MediaWiki:Common.css: Difference between revisions

From Stellar Kennings
Jump to navigation Jump to search
fix to some bad css
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 32: Line 32:
}
}


.greenAlternate tr:nth-child(odd) {
.greenAlternating tr:nth-child(odd) {
   background-color: #dee9ff;
   background-color: #C6F5C7;
}
 
.blueAlternating{
  border: 1px solid black;
}
 
.blueAlternatingNoBorder th{
  background-color: #045DAA;
  padding: 0px;
  color: white;
}
.blueAlternatingNoBorder td{
padding: 0px;
}
 
.blueAlternatingNoBorder tr:nth-child(odd) {
  background-color: #BADEFF;
}
 
.blueAlternating th{
  border: 1px solid black;
  background-color: #045DAA;
  color: white;
}
 
.blueAlternating td{
border: 1px solid black;
}
 
.blueAlternating tr:nth-child(odd) {
  background-color: #BADEFF;
}
}



Latest revision as of 01:50, 13 November 2025

/* 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
}

.greenAlternating{
  border: 1px solid black;
}

.greenAlternating th{
  border: 1px solid black;
  background-color: #04AA6D;
  color: white;
}

.greenAlternating td{
 border: 1px solid black;
}

.greenAlternating tr:nth-child(odd) {
  background-color: #C6F5C7;
}

.blueAlternating{
  border: 1px solid black;
}

.blueAlternatingNoBorder th{
  background-color: #045DAA;
  padding: 0px;
  color: white;
}
.blueAlternatingNoBorder td{
 padding: 0px;
}

.blueAlternatingNoBorder tr:nth-child(odd) {
  background-color: #BADEFF;
}

.blueAlternating th{
  border: 1px solid black;
  background-color: #045DAA;
  color: white;
}

.blueAlternating td{
 border: 1px solid black;
}

.blueAlternating tr:nth-child(odd) {
  background-color: #BADEFF;
}


.roundy {
border-radius: 10px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
-khtml-border-radius: 10px;
-icab-border-radius: 10px;
-o-border-radius: 10px;
}

.roundytl {
border-top-left-radius: 10px;
-moz-border-radius-topleft: 10px;
-webkit-border-top-left-radius: 10px;
-khtml-border-top-left-radius: 10px;
-icab-border-top-left-radius: 10px;
-o-border-top-left-radius: 10px;
}

.roundytr {
border-top-right-radius: 10px;
-moz-border-radius-topright: 10px;
-webkit-border-top-right-radius: 10px;
-khtml-border-top-right-radius: 10px;
-icab-border-top-right-radius: 10px;
-o-border-top-right-radius: 10px;
}

.roundybl {
border-bottom-left-radius: 10px;
-moz-border-radius-bottomleft: 10px;
-webkit-border-bottom-left-radius: 10px;
-khtml-border-bottom-left-radius: 10px;
-icab-border-bottom-left-radius: 10px;
-o-border-bottom-left-radius: 10px;
}

.roundybr {
border-bottom-right-radius: 10px;
-moz-border-radius-bottomright: 10px;
-webkit-border-bottom-right-radius: 10px;
-khtml-border-bottom-right-radius: 10px;
-icab-border-bottom-right-radius: 10px;
-o-border-bottom-right-radius: 10px;
}

.roundybottom {
border-bottom-left-radius: 10px;
border-bottom-right-radius: 10px;
-moz-border-radius-bottomleft: 10px;
-moz-border-radius-bottomright: 10px;
-webkit-border-bottom-left-radius: 10px;
-webkit-border-bottom-right-radius: 10px;
-khtml-border-bottom-left-radius: 10px;
-khtml-border-bottom-right-radius: 10px;
-icab-border-bottom-left-radius: 10px;
-icab-border-bottom-right-radius: 10px;
-o-border-bottom-left-radius: 10px;
-o-border-bottom-right-radius: 10px;
}

.roundytop {
border-top-left-radius: 10px;
border-top-right-radius: 10px;
-moz-border-radius-topleft: 10px;
-moz-border-radius-topright: 10px;
-webkit-border-top-left-radius: 10px;
-webkit-border-top-right-radius: 10px;
-khtml-border-top-left-radius: 10px;
-khtml-border-top-right-radius: 10px;
-icab-border-top-left-radius: 10px;
-icab-border-top-right-radius: 10px;
-o-border-top-left-radius: 10px;
-o-border-top-right-radius: 10px;
}

.roundyleft {
border-top-left-radius: 10px;
border-bottom-left-radius: 10px;
-moz-border-radius-topleft: 10px;
-moz-border-radius-bottomleft: 10px;
-webkit-border-top-left-radius: 10px;
-webkit-border-bottom-left-radius: 10px;
-khtml-border-top-left-radius: 10px;
-khtml-border-bottom-left-radius: 10px;
-icab-border-top-left-radius: 10px;
-icab-border-bottom-left-radius: 10px;
-o-border-top-left-radius: 10px;
-o-border-bottom-left-radius: 10px;
}

.roundyright {
border-bottom-right-radius: 10px;
border-top-right-radius: 10px;
-moz-border-radius-bottomright: 10px;
-moz-border-radius-topright: 10px;
-webkit-border-bottom-right-radius: 10px;
-webkit-border-top-right-radius: 10px;
-khtml-border-bottom-right-radius: 10px;
-khtml-border-top-right-radius: 10px;
-icab-border-bottom-right-radius: 10px;
-icab-border-top-right-radius: 10px;
-o-border-bottom-right-radius: 10px;
-o-border-top-right-radius: 10px;
}


#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);
}