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

From RimWorld Wiki
Jump to navigation Jump to search
(Navbox)
Line 1: Line 1:
/* Navbox template style */
+
/* ===== Navigation boxes =====*/
/* Navbox container style */
+
/* Default style for navigation boxes */
.navbox {
+
.navbox { /* Navbox container style */
    border: 1px solid #9F6A00;
 
    font-size: 88%;
 
    text-align: center;
 
 
     width: 100%;
 
     width: 100%;
 
     margin: auto;
 
     margin: auto;
 
     padding: 1px;
 
     padding: 1px;
 
     clear: both;
 
     clear: both;
 +
    font-size: 88%;
 +
    text-align: center;
 +
    border: 1px solid #404040;
 +
    border-radius: 0px;
 
}
 
}
  
Line 16: Line 17:
 
}
 
}
  
/* Title, group and above/below styles */
 
 
.navbox-group,
 
.navbox-group,
 
.navbox-title,
 
.navbox-title,
 
.navbox-abovebelow {
 
.navbox-abovebelow {
    text-align: center;
+
     padding: 0.25em 1em; /* Title, group and above/below styles */
     padding: 0.25em 1em;
 
 
     line-height: 1.5em;
 
     line-height: 1.5em;
 +
    text-align: center;
 
}
 
}
  
/* Group style */
+
th.navbox-group { /* Group style */
th.navbox-group {
 
 
     white-space: nowrap;
 
     white-space: nowrap;
 
     /* @noflip */
 
     /* @noflip */
Line 34: Line 33:
 
.navbox,
 
.navbox,
 
.navbox-subgroup {
 
.navbox-subgroup {
     background-color: transparent;
+
     background-color: rgba(244,236,221,0.1); /* Background color */
 
}
 
}
  
Line 42: Line 41:
 
}
 
}
  
/* Level 1 color */
 
 
.navbox th,
 
.navbox th,
 
.navbox-title {
 
.navbox-title {
     background-color: #282828;
+
    color: #ffffff;
     border: 0 solid #9F6A00;
+
     background-color: #000000; /* Level 1 color */
     color: #FFFFFF;
+
     border: 0px solid #7E5900;
 +
    border-radius: 0px;
 +
 +
    background-image: -moz-linear-gradient(center top, #0A0B0C 80%, #505050 100%);  
 +
     background-image: -webkit-gradient(linear, center top, left bottom, color-stop(80%,#0A0B0C), color-stop(100%,#505050));
 +
    background-image: -webkit-linear-gradient(top, #0A0B0C 80%, #505050 100%);
 +
    background-image: -o-linear-gradient(top, #0A0B0C 80%, #505050 100%);
 +
    background-image: -ms-linear-gradient(top, #0A0B0C 80%, #505050 100%);
 +
    background-image: linear-gradient(to bottom, #0A0B0C 80%, #505050 100%);  
 
}
 
}
  
/* Level 2 color */
 
 
.navbox-abovebelow,
 
.navbox-abovebelow,
 
th.navbox-group,
 
th.navbox-group,
 
.navbox-subgroup .navbox-title {
 
.navbox-subgroup .navbox-title {
     background: #282828;
+
     background: #7E5900; /* Level 2 color */
 +
    color: #ffffff;
 +
    border: none;
 +
    border-radius: 0px;
 
}
 
}
  
/* Level 3 color */
 
 
.navbox-subgroup .navbox-group,
 
.navbox-subgroup .navbox-group,
 
.navbox-subgroup .navbox-abovebelow {
 
.navbox-subgroup .navbox-abovebelow {
     background: #444444;
+
     background: #A07816; /* Level 3 color */
 
}
 
}
  
/* Odd row striping */
 
 
.navbox-odd {
 
.navbox-odd {
     background: transparent;
+
     background: transparent; /* Even row striping */
 
}
 
}
  
/* Even row striping */
 
 
.navbox-even {
 
.navbox-even {
     background-color: rgba(128,128,128,0.3);
+
     background-color: rgba(221,196,149,.2); /* Odd row striping */
 +
    border-radius: 0px;
 +
}
 +
table.navbox + table.navbox { /* Single pixel border between adjacent navboxes */
 +
    margin-top: -1px; /* (doesn't work for IE6, but that's okay)   */
 
}
 
}
  
/* Single pixel border between adjacent navboxes */
+
table.nowraplinks.navbox-subgroup {
table.navbox + table.navbox {
+
     border-radius: 0px;
     margin-top: -1px;
 
 
}
 
}
  
/* Default styling for Navbar template */
+
.mw-customtoggle a,
 +
.mw-collapsible-toggle a,
 +
.mw-collapsible-bracket {
 +
    font-weight: normal;
 +
}
 +
 
 +
/* ===== Default styling for Navbar template =====*/
 
.navbar {
 
.navbar {
 +
    display: inline;
 
     font-size: 88%;
 
     font-size: 88%;
 
     font-weight: normal;
 
     font-weight: normal;
Line 89: Line 104:
 
     font-size: 100%;
 
     font-size: 100%;
 
}
 
}
 
 
.navbox-title .navbar {
 
.navbox-title .navbar {
 
     float: left;
 
     float: left;
Line 95: Line 109:
 
     margin-right: 0.5em;
 
     margin-right: 0.5em;
 
     width: 6em;
 
     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;
 
 
}
 
}

Revision as of 20:07, 13 July 2019

/* ===== Navigation boxes =====*/ /* Default style for navigation boxes */ .navbox { /* Navbox container style */

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

}

.navbox-inner, .navbox-subgroup {

   width: 100%;

}

.navbox-group, .navbox-title, .navbox-abovebelow {

   padding: 0.25em 1em;		/* Title, group and above/below styles */
   line-height: 1.5em;
   text-align: center;

}

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

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

}

.navbox, .navbox-subgroup {

   background-color: rgba(244,236,221,0.1);	/* Background color */

}

.navbox-list {

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

}

.navbox th, .navbox-title {

   color: #ffffff;
   background-color: #000000;		/* Level 1 color */
   border: 0px solid #7E5900;
   border-radius: 0px;
   background-image: -moz-linear-gradient(center top, #0A0B0C 80%, #505050 100%); 
   background-image: -webkit-gradient(linear, center top, left bottom, color-stop(80%,#0A0B0C), color-stop(100%,#505050)); 
   background-image: -webkit-linear-gradient(top, #0A0B0C 80%, #505050 100%); 
   background-image: -o-linear-gradient(top, #0A0B0C 80%, #505050 100%); 
   background-image: -ms-linear-gradient(top, #0A0B0C 80%, #505050 100%); 
   background-image: linear-gradient(to bottom, #0A0B0C 80%, #505050 100%); 

}

.navbox-abovebelow, th.navbox-group, .navbox-subgroup .navbox-title {

   background: #7E5900; /* Level 2 color */
   color: #ffffff;
   border: none;	
   border-radius: 0px;	

}

.navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow {

   background: #A07816;		/* Level 3 color */

}

.navbox-odd {

   background: transparent;	/* Even row striping */

}

.navbox-even {

   background-color: rgba(221,196,149,.2);	/* Odd row striping */
   border-radius: 0px;

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

   margin-top: -1px;			/* (doesn't work for IE6, but that's okay)	   */

}

table.nowraplinks.navbox-subgroup {

   border-radius: 0px;

}

.mw-customtoggle a, .mw-collapsible-toggle a, .mw-collapsible-bracket {

   font-weight: normal;

}

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

   display: inline;
   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;

}