Difference between revisions of "User:Pangaea/Compare changes"

From RimWorld Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
/* ===== Navigation boxes =====*/
+
/* Navboxes in general */
/* Default style for navigation boxes */
+
/* Lore navboxes */
.navbox { /* Navbox container style */
+
 
     width: 100%;
+
.navbox_title {
 +
    background: #4A040A;
 +
    color: #ffffff;
 +
    font-size:90%;
 +
}
 +
 
 +
/* Newer Navbox template style */
 +
table.navbox {
 +
    border: 1px solid #67676;
 +
    clear: both;
 +
     font-size: 88%;
 
     margin: auto;
 
     margin: auto;
 
     padding: 1px;
 
     padding: 1px;
    clear: both;
 
    font-size: 88%;
 
 
     text-align: center;
 
     text-align: center;
     border: 1px solid #404040;
+
     width: 100%;  
    border-radius: 0px;
 
 
}
 
}
  
.navbox-inner,
+
/* Border between adjacent navboxes */
.navbox-subgroup {
+
table.navbox + table.navbox {
     width: 100%;
+
     margin-top: -1px;
 
}
 
}
  
.navbox-group,
 
 
.navbox-title,
 
.navbox-title,
.navbox-abovebelow {
+
.navbox-abovebelow,
     padding: 0.25em 1em; /* Title, group and above/below styles */
+
table.navbox th {
     line-height: 1.5em;
+
     padding-left: 1em;
 +
     padding-right: 1em;
 
     text-align: center;
 
     text-align: center;
 
}
 
}
  
th.navbox-group { /* Group style */
+
.navbox-group {
 +
    font-weight: bold;
 +
    padding-left: 1em;
 +
    padding-right: 1em;
 
     white-space: nowrap;
 
     white-space: nowrap;
    /* @noflip */
 
    text-align: right;
 
 
}
 
}
  
.navbox,
+
/* Base background */
.navbox-subgroup {
+
.navbox, .navbox-subgroup {
     background-color: rgba(244,236,221,0.1); /* Background color */
+
     background: #0f0f0f;
 
}
 
}
  
 
.navbox-list {
 
.navbox-list {
    line-height: 1.8em;
+
     border-color: #0f0f0f;   /* Must match background color */
     border-color: transparent; /* Must match background color */
 
 
}
 
}
  
.navbox th,
+
/* Level 1 color */
.navbox-title {
+
.navbox-title,
    color: #ffffff;
+
table.navbox th {
    background-color: #000000; /* Level 1 color */
+
     background: #151414;
    border: 0px solid #7E5900;
+
     color: #fff;
    border-radius: 0px;
 
 
     background-image: -moz-linear-gradient(center top, #0A0B0C 80%, #505050 100%);  
 
     background-image: -webkit-gradient(linear, center top, left bottom, color-stop(80%,#0A0B0C), color-stop(100%,#505050));
 
    background-image: -webkit-linear-gradient(top, #0A0B0C 80%, #505050 100%);
 
    background-image: -o-linear-gradient(top, #0A0B0C 80%, #505050 100%);
 
    background-image: -ms-linear-gradient(top, #0A0B0C 80%, #505050 100%);
 
    background-image: linear-gradient(to bottom, #0A0B0C 80%, #505050 100%);  
 
 
}
 
}
  
 +
/* Level 2 styling */
 
.navbox-abovebelow,
 
.navbox-abovebelow,
th.navbox-group,
+
.navbox-group,
 
.navbox-subgroup .navbox-title {
 
.navbox-subgroup .navbox-title {
     background: #7E5900; /* Level 2 color */
+
     background: #1c1b1b;
     color: #ffffff;
+
     color: #fff;
    border: none;
 
    border-radius: 0px;
 
 
}
 
}
  
 +
/* Level 3 styling */
 
.navbox-subgroup .navbox-group,
 
.navbox-subgroup .navbox-group,
 
.navbox-subgroup .navbox-abovebelow {
 
.navbox-subgroup .navbox-abovebelow {
     background: #A07816; /* Level 3 color */
+
     background: #242222;
}
+
     color: #fff;
 
 
.navbox-odd {
 
     background: transparent; /* Even row striping */
 
 
}
 
}
  
 +
/* Even row striping */
 
.navbox-even {
 
.navbox-even {
     background-color: rgba(221,196,149,.2); /* Odd row striping */
+
     background: #1C1E20;
     border-radius: 0px;
+
     color: #fff;
}
 
table.navbox + table.navbox { /* Single pixel border between adjacent navboxes */
 
    margin-top: -1px; /* (doesn't work for IE6, but that's okay)   */
 
 
}
 
}
  
table.nowraplinks.navbox-subgroup {
+
/* Odd row striping */
     border-radius: 0px;
+
.navbox-odd {
 +
     background: transparent;
 
}
 
}
 
+
.mw-customtoggle a,
+
.collapseButton {
.mw-collapsible-toggle a,
 
.mw-collapsible-bracket {
 
 
     font-weight: normal;
 
     font-weight: normal;
 +
    width: auto;
 
}
 
}
  
/* ===== Default styling for Navbar template =====*/
+
.navbox .collapseButton {
 +
    width: 6em;
 +
}
 +
 
.navbar {
 
.navbar {
    display: inline;
 
 
     font-size: 88%;
 
     font-size: 88%;
 
     font-weight: normal;
 
     font-weight: normal;
 
}
 
}
  
/* Navbar styling when nested in infobox and navbox */
 
 
.navbox .navbar {
 
.navbox .navbar {
    display: block;
 
 
     font-size: 100%;
 
     font-size: 100%;
 
}
 
}
.navbox-title .navbar {
+
     float: left;
+
table.collapsed tr.collapsible {
    text-align: left;
+
     display: none;
    margin-right: 0.5em;
 
    width: 6em;
 
 
}
 
}
 +
/* End of new Navbox styling */

Latest revision as of 22:05, 13 July 2019

/* Navboxes in general */ /* Lore navboxes */

.navbox_title {

   background: #4A040A;
   color: #ffffff;
   font-size:90%;

}

/* Newer Navbox template style */ table.navbox {

   border: 1px solid #67676;
   clear: both;
   font-size: 88%;
   margin: auto;
   padding: 1px;
   text-align: center;
   width: 100%; 

}

/* Border between adjacent navboxes */ table.navbox + table.navbox {

   margin-top: -1px;

}

.navbox-title, .navbox-abovebelow, table.navbox th {

   padding-left: 1em;
   padding-right: 1em;
   text-align: center;

}

.navbox-group {

   font-weight: bold;
   padding-left: 1em;
   padding-right: 1em;
   white-space: nowrap;

}

/* Base background */ .navbox, .navbox-subgroup {

   background: #0f0f0f;

}

.navbox-list {

   border-color: #0f0f0f;   /* Must match background color */

}

/* Level 1 color */ .navbox-title, table.navbox th {

   background: #151414;
   color: #fff;

}

/* Level 2 styling */ .navbox-abovebelow, .navbox-group, .navbox-subgroup .navbox-title {

   background: #1c1b1b;
   color: #fff;

}

/* Level 3 styling */ .navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow {

   background: #242222;
   color: #fff;

}

/* Even row striping */ .navbox-even {

   background: #1C1E20;
   color: #fff;

}

/* Odd row striping */ .navbox-odd {

   background: transparent;

}

.collapseButton {

   font-weight: normal;
   width: auto;

}

.navbox .collapseButton {

   width: 6em;

}

.navbar {

   font-size: 88%;
   font-weight: normal;

}

.navbox .navbar {

   font-size: 100%;

}

table.collapsed tr.collapsible {

   display: none;

} /* End of new Navbox styling */