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

From RimWorld Wiki
Jump to navigation Jump to search
(wikitable)
(meh, import and cross fingers)
Line 1: Line 1:
/* Wikitable */
+
/* ======= Table Styles  ============== */
table.wikitable {
+
 
  background: transparent;
+
table.wikitable,
  border: none;
+
table.cargoTable,
  color: #373737;
+
table.TablePager,
  margin: 0 0 10px 0;
+
table.mw_metadata,
  padding: 3px 6px;
+
table.mw_metadata td,
 +
table.mw-abuselog-details {
 +
    border: 0px solid #7E5900;
 +
    color: #ffffff;
 +
    border-collapse: separate;
 +
    border-spacing: 0;
 +
    padding: 0;
 +
    background: transparent;
 
}
 
}
  
table.wikitable th,
+
table.dataTable thead .sorting_asc {}
table.wikitable tr th,
+
table.dataTable thead .sorting_desc {}
 +
 
 
table.wikitable > tr > th,
 
table.wikitable > tr > th,
table.wikitable > * > tr > th {
+
table.wikitable > * > tr > th,
  border: 1px solid #5a5a5a;
+
table.cargoTable > tr > th,
  background: rgba(128,128,128,0.5);
+
table.cargoTable > * tr > th,
  color: var(--text-color);
+
table.TablePager th,
 +
table.mw_metadata th,
 +
table.mw-abuselog-details th {
 +
    background-color: transparent;
 +
    color: #ffffff;
 
}
 
}
  
table.wikitable td,
+
table.wikitable > tr > th,
table.wikitable tr td,
+
table.wikitable > tr > td,  
table.wikitable > tr > td,
+
table.wikitable > * > tr > th,
table.wikitable > * > tr > td {
+
table.wikitable > * > tr > td,
  border: 1px solid #5a5a5a;
+
table.cargoTable > tr > th,
  background: transparent;
+
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;
 
}
 
}
  
/* Match CategoryTree arrow color with theme */
 
.CategoryTreeToggle { color: #F37F20; }
 
  
 +
table.wikitable:not(.jquery-tablesorter) tr:nth-child(even) td,
 +
table.wikitable.jquery-tablesorter tbody tr:nth-child(odd) td,
 +
table.cargoTable:not(.jquery-tablesorter) tr:nth-child(even) td,
 +
table.cargoTable.jquery-tablesorter tbody tr:nth-child(odd) td {
 +
    background-color: rgba(114,70,8,.1);
 +
}
 +
 +
table.wikitable tr:nth-child(even) {
 +
    background: rgba(0,0,0,0.5);
 +
}
 +
table.wikitable tr:nth-child(odd) {
 +
    background: transparent;
 +
}
  
.TablePager,
+
table.cargoTable tr:nth-child(even) {
.mw-datatable,
+
    background: rgba(0,0,0,0.5);
table.mw_metadata {
+
}
     background-color: transparent;
+
table.cargoTable tr:nth-child(odd) {
    border: 1px solid #969696;
+
     background: transparent;
 
}
 
}
  
.TablePager th,
+
.skin-hydradark .TablePager tr:hover td {
.mw-datatable th,
+
     background-color: rgba(255,255,255,.1);
table.mw_metadata th {
 
     background-color: rgba(96, 96, 96, 0.5);
 
    border: 1px solid #969696;
 
    color: #ffffff;
 
 
}
 
}
  
.TablePager tr:hover td,
+
 
.mw-datatable tr:hover td {
+
/* --- Table sections --- */
     background-color: rgba(128,128,128, 0.3) !important;
+
 
     color: #ffffff;
+
table.wikitable > tr > th.section,
 +
table.wikitable > * > tr > th.section,
 +
table.cargoTable > tr > th.section,
 +
table.cargoTable > * > tr > th.section {
 +
     background-color: rgba(42,26,3,0.6);
 +
     color: #DCC086;
 +
    font-style: italic;
 +
    position: relative;
 +
    font-family: "EBGaramond12-Regular" !important;
 
}
 
}
  
.TablePager th a,
+
table.wikitable th.section a,
.mw-datatable th a,
+
table.cargoTable th.section a {
table.mw_metadata th a {
+
     color: #c28042 !important;
     color: #FFFFFF !important;
 
 
}
 
}
+
 
.TablePager td,
+
table.wikitable th.section .sidenote,
.mw-datatable td,
+
table.cargoTable th.section .sidenote  {
table.mw_metadata td {
+
     position: absolute;
     background-color: transparent;
+
    right: 1em;
     border: 1px solid #969696;
+
    bottom: 0.5em;
 +
    font-size: 11px;
 +
    font-weight: normal;
 +
     color:#BDA472;
 
}
 
}

Revision as of 19:53, 13 July 2019

/* ======= Table Styles ============== */

table.wikitable, table.cargoTable, table.TablePager, table.mw_metadata, table.mw_metadata td, table.mw-abuselog-details {

   border: 0px solid #7E5900;
   color: #ffffff;
   border-collapse: separate;
   border-spacing: 0;
   padding: 0;
   background: transparent;

}

table.dataTable thead .sorting_asc {} table.dataTable thead .sorting_desc {}

table.wikitable > tr > th, table.wikitable > * > tr > th, table.cargoTable > tr > th, 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, table.wikitable > tr > td, table.wikitable > * > tr > th, 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;

}


table.wikitable:not(.jquery-tablesorter) tr:nth-child(even) td, table.wikitable.jquery-tablesorter tbody tr:nth-child(odd) td, table.cargoTable:not(.jquery-tablesorter) tr:nth-child(even) td, table.cargoTable.jquery-tablesorter tbody tr:nth-child(odd) td {

   background-color: rgba(114,70,8,.1);

}

table.wikitable tr:nth-child(even) {

   background: rgba(0,0,0,0.5);

} table.wikitable tr:nth-child(odd) {

   background: transparent;

}

table.cargoTable tr:nth-child(even) {

   background: rgba(0,0,0,0.5);

} table.cargoTable tr:nth-child(odd) {

   background: transparent;

}

.skin-hydradark .TablePager tr:hover td {

   background-color: rgba(255,255,255,.1);

}


/* --- Table sections --- */

table.wikitable > tr > th.section, table.wikitable > * > tr > th.section, table.cargoTable > tr > th.section, table.cargoTable > * > tr > th.section {

   background-color: rgba(42,26,3,0.6);
   color: #DCC086;
   font-style: italic;
   position: relative;
   font-family: "EBGaramond12-Regular" !important;

}

table.wikitable th.section a, table.cargoTable th.section a {

   color: #c28042 !important;

}

table.wikitable th.section .sidenote, table.cargoTable th.section .sidenote {

   position: absolute;
   right: 1em;
   bottom: 0.5em;
   font-size: 11px;
   font-weight: normal;
   color:#BDA472;

}