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

From RimWorld Wiki
Jump to navigation Jump to search
(meh, import and cross fingers)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* ======= Table Styles  ============== */
+
/* Navboxes in general */
 +
/* Lore navboxes */
  
table.wikitable,
+
.navbox_title {
table.cargoTable,
+
     background: #4A040A;
table.TablePager,
 
table.mw_metadata,
 
table.mw_metadata td,
 
table.mw-abuselog-details {
 
     border: 0px solid #7E5900;
 
 
     color: #ffffff;
 
     color: #ffffff;
     border-collapse: separate;
+
     font-size:90%;
    border-spacing: 0;
 
    padding: 0;
 
    background: transparent;
 
 
}
 
}
  
table.dataTable thead .sorting_asc {}
+
/* Newer Navbox template style */
table.dataTable thead .sorting_desc {}
+
table.navbox {
 +
    border: 1px solid #67676;
 +
    clear: both;
 +
    font-size: 88%;
 +
    margin: auto;
 +
    padding: 1px;
 +
    text-align: center;
 +
    width: 100%;
 +
}
  
table.wikitable > tr > th,
+
/* Border between adjacent navboxes */
table.wikitable > * > tr > th,
+
table.navbox + table.navbox {
table.cargoTable > tr > th,
+
     margin-top: -1px;
table.cargoTable > * tr > th,
 
table.TablePager th,
 
table.mw_metadata th,
 
table.mw-abuselog-details th {  
 
     background-color: transparent;
 
    color: #ffffff;
 
 
}
 
}
  
table.wikitable > tr > th,  
+
.navbox-title,
table.wikitable > tr > td,  
+
.navbox-abovebelow,
table.wikitable > * > tr > th,
+
table.navbox th {
table.wikitable > * > tr > td,
+
    padding-left: 1em;
table.cargoTable > tr > th,
+
    padding-right: 1em;
table.cargoTable > tr > td,
+
     text-align: center;
table.cargoTable > * > tr > th,
 
table.cargoTable > * > tr > td,
 
table.TablePager td,
 
table.TablePager th,
 
table.mw_metadata td,
 
table.mw_metadata th,
 
table.mw-abuselog-details td,
 
table.mw-abuselog-details th {
 
     border: 1px solid #7E5900;
 
 
}
 
}
  
 +
.navbox-group {
 +
    font-weight: bold;
 +
    padding-left: 1em;
 +
    padding-right: 1em;
 +
    white-space: nowrap;
 +
}
  
table.wikitable:not(.jquery-tablesorter) tr:nth-child(even) td,
+
/* Base background */
table.wikitable.jquery-tablesorter tbody tr:nth-child(odd) td,
+
.navbox, .navbox-subgroup {
table.cargoTable:not(.jquery-tablesorter) tr:nth-child(even) td,
+
     background: #0f0f0f;
table.cargoTable.jquery-tablesorter tbody tr:nth-child(odd) td {
 
     background-color: rgba(114,70,8,.1);
 
 
}
 
}
  
table.wikitable tr:nth-child(even) {
+
.navbox-list {
     background: rgba(0,0,0,0.5);
+
     border-color: #0f0f0f;   /* Must match background color */
 
}
 
}
table.wikitable tr:nth-child(odd) {
+
 
     background: transparent;
+
/* Level 1 color */
 +
.navbox-title,
 +
table.navbox th {
 +
     background: #151414;
 +
    color: #fff;
 
}
 
}
  
table.cargoTable tr:nth-child(even) {
+
/* Level 2 styling */
     background: rgba(0,0,0,0.5);
+
.navbox-abovebelow,
 +
.navbox-group,
 +
.navbox-subgroup .navbox-title {
 +
     background: #1c1b1b;
 +
    color: #fff;
 
}
 
}
table.cargoTable tr:nth-child(odd) {
+
 
     background: transparent;
+
/* Level 3 styling */
 +
.navbox-subgroup .navbox-group,
 +
.navbox-subgroup .navbox-abovebelow {
 +
     background: #242222;
 +
    color: #fff;
 
}
 
}
  
.skin-hydradark .TablePager tr:hover td {
+
/* Even row striping */
     background-color: rgba(255,255,255,.1);
+
.navbox-even {
 +
     background: #1C1E20;
 +
    color: #fff;
 
}
 
}
  
 +
/* Odd row striping */
 +
.navbox-odd {
 +
    background: transparent;
 +
}
 +
 +
.collapseButton {
 +
    font-weight: normal;
 +
    width: auto;
 +
}
  
/* --- Table sections --- */
+
.navbox .collapseButton {
 
+
     width: 6em;
table.wikitable > tr > th.section,
+
}
table.wikitable > * > tr > th.section,
+
table.cargoTable > tr > th.section,
+
.navbar {
table.cargoTable > * > tr > th.section {
+
     font-size: 88%;
     background-color: rgba(42,26,3,0.6);
+
     font-weight: normal;
    color: #DCC086;
 
     font-style: italic;
 
    position: relative;
 
     font-family: "EBGaramond12-Regular" !important;
 
 
}
 
}
  
table.wikitable th.section a,
+
.navbox .navbar {
table.cargoTable th.section a {
+
     font-size: 100%;
     color: #c28042 !important;
 
 
}
 
}
 
+
table.wikitable th.section .sidenote,
+
table.collapsed tr.collapsible {
table.cargoTable th.section .sidenote  {
+
     display: none;
     position: absolute;
 
    right: 1em;
 
    bottom: 0.5em;
 
    font-size: 11px;
 
    font-weight: normal;
 
    color:#BDA472;
 
 
}
 
}
 +
/* 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 */