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

From RimWorld Wiki
Jump to navigation Jump to search
(meh, import and cross fingers)
(Navbox)
Line 1: Line 1:
/* ======= Table Styles  ============== */
+
/* Navbox template style */
 +
/* Navbox container style */
 +
.navbox {
 +
    border: 1px solid #9F6A00;
 +
    font-size: 88%;
 +
    text-align: center;
 +
    width: 100%;
 +
    margin: auto;
 +
    padding: 1px;
 +
    clear: both;
 +
}
 +
 
 +
.navbox-inner,
 +
.navbox-subgroup {
 +
    width: 100%;
 +
}
  
table.wikitable,
+
/* Title, group and above/below styles */
table.cargoTable,
+
.navbox-group,
table.TablePager,
+
.navbox-title,
table.mw_metadata,
+
.navbox-abovebelow {
table.mw_metadata td,
+
     text-align: center;
table.mw-abuselog-details {
+
     padding: 0.25em 1em;
     border: 0px solid #7E5900;
+
     line-height: 1.5em;
    color: #ffffff;
 
    border-collapse: separate;
 
    border-spacing: 0;
 
     padding: 0;
 
     background: transparent;
 
 
}
 
}
  
table.dataTable thead .sorting_asc {}
+
/* Group style */
table.dataTable thead .sorting_desc {}
+
th.navbox-group {
 +
    white-space: nowrap;
 +
    /* @noflip */
 +
    text-align: right;
 +
}
  
table.wikitable > tr > th,
+
.navbox,
table.wikitable > * > tr > th,
+
.navbox-subgroup {
table.cargoTable > tr > th,
 
table.cargoTable > * tr > th,
 
table.TablePager th,
 
table.mw_metadata th,
 
table.mw-abuselog-details th {  
 
 
     background-color: transparent;
 
     background-color: transparent;
    color: #ffffff;
 
 
}
 
}
  
table.wikitable > tr > th,
+
.navbox-list {
table.wikitable > tr > td,
+
    line-height: 1.8em;
table.wikitable > * > tr > th,
+
     border-color: transparent; /* Must match background color */
table.wikitable > * > tr > td,
 
table.cargoTable > tr > th,
 
table.cargoTable > tr > td,
 
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;
 
 
}
 
}
  
 +
/* Level 1 color */
 +
.navbox th,
 +
.navbox-title {
 +
    background-color: #282828;
 +
    border: 0 solid #9F6A00;
 +
    color: #FFFFFF;
 +
}
  
table.wikitable:not(.jquery-tablesorter) tr:nth-child(even) td,
+
/* Level 2 color */
table.wikitable.jquery-tablesorter tbody tr:nth-child(odd) td,
+
.navbox-abovebelow,
table.cargoTable:not(.jquery-tablesorter) tr:nth-child(even) td,
+
th.navbox-group,
table.cargoTable.jquery-tablesorter tbody tr:nth-child(odd) td {
+
.navbox-subgroup .navbox-title {
     background-color: rgba(114,70,8,.1);
+
     background: #282828;
 
}
 
}
  
table.wikitable tr:nth-child(even) {
+
/* Level 3 color */
     background: rgba(0,0,0,0.5);
+
.navbox-subgroup .navbox-group,
 +
.navbox-subgroup .navbox-abovebelow {
 +
     background: #444444;
 
}
 
}
table.wikitable tr:nth-child(odd) {
+
 
     background: transparent;
+
/* Odd row striping */
 +
.navbox-odd {
 +
     background: transparent;
 
}
 
}
  
table.cargoTable tr:nth-child(even) {
+
/* Even row striping */
     background: rgba(0,0,0,0.5);
+
.navbox-even {
 +
     background-color: rgba(128,128,128,0.3);
 
}
 
}
table.cargoTable tr:nth-child(odd) {
+
 
     background: transparent;
+
/* Single pixel border between adjacent navboxes */
 +
table.navbox + table.navbox {
 +
     margin-top: -1px;
 
}
 
}
  
.skin-hydradark .TablePager tr:hover td {
+
/* Default styling for Navbar template */
     background-color: rgba(255,255,255,.1);
+
.navbar {
 +
    font-size: 88%;
 +
     font-weight: normal;
 
}
 
}
  
 +
/* Navbar styling when nested in infobox and navbox */
 +
.navbox .navbar {
 +
    display: block;
 +
    font-size: 100%;
 +
}
  
/* --- Table sections --- */
+
.navbox-title .navbar {
 +
    float: left;
 +
    text-align: left;
 +
    margin-right: 0.5em;
 +
    width: 6em;
 +
}
  
table.wikitable > tr > th.section,
+
/* Styling for JQuery makeCollapsible, matching that of collapseButton */
table.wikitable > * > tr > th.section,
+
.mw-collapsible-toggle {
table.cargoTable > tr > th.section,
+
     font-weight: normal;
table.cargoTable > * > tr > th.section {
+
     /* @noflip */
    background-color: rgba(42,26,3,0.6);
+
     text-align: right;
    color: #DCC086;
 
     font-style: italic;
 
     position: relative;
 
     font-family: "EBGaramond12-Regular" !important;
 
 
}
 
}
  
table.wikitable th.section a,
+
.navbox .mw-collapsible-toggle {
table.cargoTable th.section a {
+
     width: 6em;
     color: #c28042 !important;
 
 
}
 
}
  
table.wikitable th.section .sidenote,
+
/* .navbox .mw-collapsible-toggle a, */
table.cargoTable th.section .sidenote  {
+
.wikitable .mw-collapsible-toggle a {
    position: absolute;
+
     color: #F58120 !important;
    right: 1em;
 
    bottom: 0.5em;
 
    font-size: 11px;
 
    font-weight: normal;
 
     color:#BDA472;
 
 
}
 
}

Revision as of 20:05, 13 July 2019

/* Navbox template style */ /* Navbox container style */ .navbox {

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

}

.navbox-inner, .navbox-subgroup {

   width: 100%;

}

/* Title, group and above/below styles */ .navbox-group, .navbox-title, .navbox-abovebelow {

   text-align: center;	
   padding: 0.25em 1em;
   line-height: 1.5em;

}

/* Group style */ th.navbox-group {

   white-space: nowrap;
   /* @noflip */
   text-align: right;

}

.navbox, .navbox-subgroup {

   background-color: transparent;

}

.navbox-list {

   line-height: 1.8em;
   border-color: transparent;	/* Must match background color */

}

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

   background-color: #282828;
   border: 0 solid #9F6A00;
   color: #FFFFFF;

}

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

   background: #282828;

}

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

   background: #444444;		

}

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

   background: transparent;	

}

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

   background-color: rgba(128,128,128,0.3);	

}

/* Single pixel border between adjacent navboxes */ table.navbox + table.navbox {

   margin-top: -1px;

}

/* Default styling for Navbar template */ .navbar {

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

}

/* Navbar styling when nested in infobox and navbox */ .navbox .navbar {

   display: block;
   font-size: 100%;

}

.navbox-title .navbar {

   float: left;
   text-align: left;
   margin-right: 0.5em;
   width: 6em;

}

/* Styling for JQuery makeCollapsible, matching that of collapseButton */ .mw-collapsible-toggle {

   font-weight: normal;
   /* @noflip */
   text-align: right;

}

.navbox .mw-collapsible-toggle {

   width: 6em;

}

/* .navbox .mw-collapsible-toggle a, */ .wikitable .mw-collapsible-toggle a {

   color: #F58120 !important;

}