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

From RimWorld Wiki
Jump to navigation Jump to search
(wikitable)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* Wikitable */
+
/* Navboxes in general */
table.wikitable {
+
/* Lore navboxes */
  background: transparent;
+
 
  border: none;
+
.navbox_title {
  color: #373737;
+
    background: #4A040A;
  margin: 0 0 10px 0;
+
    color: #ffffff;
  padding: 3px 6px;
+
    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;
 
}
 
}
  
table.wikitable th,
+
/* Base background */
table.wikitable tr th,
+
.navbox, .navbox-subgroup {
table.wikitable > tr > th,
+
    background: #0f0f0f;
table.wikitable > * > tr > th {
 
  border: 1px solid #5a5a5a;
 
  background: rgba(128,128,128,0.5);
 
  color: var(--text-color);
 
 
}
 
}
  
table.wikitable td,
+
.navbox-list {
table.wikitable tr td,
+
    border-color: #0f0f0f/* Must match background color */
table.wikitable > tr > td,
 
table.wikitable > * > tr > td {
 
  border: 1px solid #5a5a5a;
 
   background: transparent;
 
 
}
 
}
  
/* Match CategoryTree arrow color with theme */
+
/* Level 1 color */
.CategoryTreeToggle { color: #F37F20; }
+
.navbox-title,
 +
table.navbox th {
 +
    background: #151414;
 +
    color: #fff;
 +
}
  
 +
/* Level 2 styling */
 +
.navbox-abovebelow,
 +
.navbox-group,
 +
.navbox-subgroup .navbox-title {
 +
    background: #1c1b1b;
 +
    color: #fff;
 +
}
  
.TablePager,
+
/* Level 3 styling */
.mw-datatable,
+
.navbox-subgroup .navbox-group,
table.mw_metadata {
+
.navbox-subgroup .navbox-abovebelow {
     background-color: transparent;
+
     background: #242222;
     border: 1px solid #969696;
+
     color: #fff;
 
}
 
}
  
.TablePager th,
+
/* Even row striping */
.mw-datatable th,
+
.navbox-even {
table.mw_metadata th {
+
    background: #1C1E20;
     background-color: rgba(96, 96, 96, 0.5);
+
    color: #fff;
     border: 1px solid #969696;
+
}
     color: #ffffff;
+
 
 +
/* Odd row striping */
 +
.navbox-odd {
 +
     background: transparent;
 +
}
 +
 +
.collapseButton {
 +
     font-weight: normal;
 +
     width: auto;
 
}
 
}
  
.TablePager tr:hover td,
+
.navbox .collapseButton {
.mw-datatable tr:hover td {
+
    width: 6em;
     background-color: rgba(128,128,128, 0.3) !important;
+
}
     color: #ffffff;
+
 +
.navbar {
 +
     font-size: 88%;
 +
     font-weight: normal;
 
}
 
}
  
.TablePager th a,
+
.navbox .navbar {
.mw-datatable th a,
+
     font-size: 100%;
table.mw_metadata th a {
 
     color: #FFFFFF !important;
 
 
}
 
}
 
   
 
   
.TablePager td,
+
table.collapsed tr.collapsible {
.mw-datatable td,
+
     display: none;
table.mw_metadata td {
 
     background-color: transparent;
 
    border: 1px solid #969696;
 
 
}
 
}
 +
/* 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 */