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

From RimWorld Wiki
Jump to navigation Jump to search
(Navbox)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
/* Navbox template style */
+
/* Navboxes in general */
/* Navbox container style */
+
/* Lore navboxes */
.navbox {
+
 
     border: 1px solid #9F6A00;
+
.navbox_title {
 +
    background: #4A040A;
 +
    color: #ffffff;
 +
    font-size:90%;
 +
}
 +
 
 +
/* Newer Navbox template style */
 +
table.navbox {
 +
     border: 1px solid #67676;
 +
    clear: both;
 
     font-size: 88%;
 
     font-size: 88%;
    text-align: center;
 
    width: 100%;
 
 
     margin: auto;
 
     margin: auto;
 
     padding: 1px;
 
     padding: 1px;
     clear: both;
+
     text-align: center;
 +
    width: 100%;  
 
}
 
}
  
.navbox-inner,
+
/* Border between adjacent navboxes */
.navbox-subgroup {
+
table.navbox + table.navbox {
     width: 100%;
+
     margin-top: -1px;
 
}
 
}
  
/* Title, group and above/below styles */
 
.navbox-group,
 
 
.navbox-title,
 
.navbox-title,
.navbox-abovebelow {
+
.navbox-abovebelow,
     text-align: center;
+
table.navbox th {
     padding: 0.25em 1em;
+
     padding-left: 1em;
     line-height: 1.5em;
+
     padding-right: 1em;
 +
     text-align: center;
 
}
 
}
  
/* Group style */
+
.navbox-group {
th.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: transparent;
+
     background: #0f0f0f;
 
}
 
}
  
 
.navbox-list {
 
.navbox-list {
    line-height: 1.8em;
+
     border-color: #0f0f0f;   /* Must match background color */
     border-color: transparent; /* Must match background color */
 
 
}
 
}
  
 
/* Level 1 color */
 
/* Level 1 color */
.navbox th,
+
.navbox-title,
.navbox-title {
+
table.navbox th {
     background-color: #282828;
+
     background: #151414;
    border: 0 solid #9F6A00;
+
     color: #fff;
     color: #FFFFFF;
 
 
}
 
}
  
/* Level 2 color */
+
/* Level 2 styling */
 
.navbox-abovebelow,
 
.navbox-abovebelow,
th.navbox-group,
+
.navbox-group,
 
.navbox-subgroup .navbox-title {
 
.navbox-subgroup .navbox-title {
     background: #282828;
+
     background: #1c1b1b;
 +
    color: #fff;
 
}
 
}
  
/* Level 3 color */
+
/* Level 3 styling */
 
.navbox-subgroup .navbox-group,
 
.navbox-subgroup .navbox-group,
 
.navbox-subgroup .navbox-abovebelow {
 
.navbox-subgroup .navbox-abovebelow {
     background: #444444;
+
     background: #242222;
 +
    color: #fff;
 +
}
 +
 
 +
/* Even row striping */
 +
.navbox-even {
 +
    background: #1C1E20;
 +
    color: #fff;
 
}
 
}
  
 
/* Odd row striping */
 
/* Odd row striping */
 
.navbox-odd {
 
.navbox-odd {
     background: transparent;
+
     background: transparent;
 
}
 
}
 
+
/* Even row striping */
+
.collapseButton {
.navbox-even {
+
     font-weight: normal;
     background-color: rgba(128,128,128,0.3);
+
    width: auto;
 
}
 
}
  
/* Single pixel border between adjacent navboxes */
+
.navbox .collapseButton {
table.navbox + table.navbox {
+
     width: 6em;
     margin-top: -1px;
 
 
}
 
}
 
+
/* Default styling for Navbar template */
 
 
.navbar {
 
.navbar {
 
     font-size: 88%;
 
     font-size: 88%;
Line 84: Line 95:
 
}
 
}
  
/* Navbar styling when nested in infobox and navbox */
 
 
.navbox .navbar {
 
.navbox .navbar {
    display: block;
 
 
     font-size: 100%;
 
     font-size: 100%;
 
}
 
}
 
+
.navbox-title .navbar {
+
table.collapsed tr.collapsible {
    float: left;
+
     display: none;
    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;
 
 
}
 
}
 +
/* 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 */