(Made it so that all PRE elements automatically overflow, without need for special tagging.)
(Added CSS to color nonexistent links in the the page function bar red, like nonexistent links in regular content.)
Line 111: Line 111:
 
}
 
}
  
/* Standard Navigationsleisten, aka box hiding thingy from .de.  Documentation at [[Wikipedia:NavFrame]]. */
+
/* Standard Navigationsleisten, aka box hiding thingy from .de.  Documentation at [[wikipedia:Wikipedia:NavFrame]]. */
  
 
div.Boxmerge,
 
div.Boxmerge,
Line 232: Line 232:
  
 
/* Gives the "Fade to transparent" effect in table cells and DIV */
 
/* Gives the "Fade to transparent" effect in table cells and DIV */
/* Used in conjunction with "background-color:<colour>" */
+
/* Used in conjunction with "background-color:<color>" */
  
 
.gradient, .gradient-horizontal {  
 
.gradient, .gradient-horizontal {  
Line 263: Line 263:
 
pre {
 
pre {
 
   overflow: auto;
 
   overflow: auto;
 +
}
 +
 +
/* Colors nonexistent links in the the page function bar red, like nonexistent links in regular content */
 +
s is the code BTW:
 +
#scratchpagefunctions span.new a {
 +
  color: #ba0000;
 +
}
 +
 +
#scratchpagefunctions span.new a:visited {
 +
  color: #a55858;
 
}
 
}

Revision as of 14:20, 13 November 2011

/* CSS placed here will be applied to all skins */

/* Mark redirects in Special:Allpages and Special:Watchlist */
.allpagesredirect {
   color: #888;
   font-style: italic;
}
.watchlistredir {
   color: #888;
   font-style: italic;
}

/* Giving TOC a little extra space */
.toc {
   margin-top: 20px;
}

/* Infobox template style */
.infobox {
   border: 1px solid #aaaaaa;
   background-color: #f9f9f9;
   color: black;
   margin-bottom: 0.5em;
   margin-left: 1em;
   padding: 0.2em;
   float: right;
   clear: right;
}
.infobox td,
.infobox th {
   vertical-align: top;
}
.infobox caption {
   font-size: larger;
   margin-left: inherit;
}
.infobox.bordered {
   border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
   border: 1px solid #aaaaaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
   border: 0;
}

/* default skin for navigation boxes */
table.navbox {
    background-color: #f9f9f9;
    border: 1px solid #aaa;
    clear: both;
    font-size: 90%;
    margin: 1em 0em 0em;
    padding: 2px;
    text-align: center;
    width: 100%;
}

table.navbox th {
    background-color: #ccf;
    padding-left: 1em;
    padding-right: 1em;
}

table.navbox tr:not(:first-child) th {
    background-color: #ddf;
}

@media print {
    .navbox {
        display: none;
    }
}

/* Wikitable (Prettytable) class for skinning normal tables */
table.wikitable,
table.prettytable {
	margin: 1em 1em 1em 0;
	background: #f9f9f9;
	border: 1px #aaaaaa solid;
	border-collapse: collapse;
	empty-cells: show;
}
table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
	border: 1px #aaaaaa solid;
	padding: 0.2em 0.4em;
}
table.wikitable th, table.wikitable td.hl3, table.wikitable th.hl3,
table.prettytable th, table.prettytable td.hl3, table.wikitable th.hl3 {
	background: #8da7d6;
	text-align: center;
}
table.wikitable td.hl1, table.wikitable th.hl1,
table.prettytable td.hl1, table.wikitable th.hl1 {
	background: #c5d8fc;
	text-align: center;
}
table.wikitable td.hl2, table.wikitable th.hl2,
table.prettytable td.hl2, table.wikitable th.hl2 {
	background: #a7c1f2;
	text-align: center;
}
table.wikitable caption,
table.prettytable caption {
	margin-left: inherit;
	margin-right: inherit;
	font-weight: bold;
}

/* Standard Navigationsleisten, aka box hiding thingy from .de.  Documentation at [[wikipedia:Wikipedia:NavFrame]]. */

div.Boxmerge,
div.NavFrame {
        margin: 0px;
        padding: 4px;
        border: 1px solid #aaa;
        text-align: center;
        border-collapse: collapse;
        font-size: 95%;
}
div.Boxmerge div.NavFrame {
        border-style: none;
        border-style: hidden;
}
div.NavFrame + div.NavFrame {
        border-top-style: none;
        border-top-style: hidden;
}
div.NavPic {
        background-color: #fff;
        margin: 0px;
        padding: 2px;
        float: left;
}
div.NavFrame div.NavHead {
        height: 1.6em;
        font-weight: bold;
        background-color: #ccccff;
        position:relative;
}
div.NavFrame p {
        font-size: 100%;
}
div.NavFrame div.NavContent {
        font-size: 100%;
}
div.NavFrame div.NavContent p {
        font-size: 100%;
}
div.NavEnd {
        margin: 0px;
        padding: 0px;
        line-height: 1px;
        clear: both;
}
a.NavToggle {
        position:absolute;
        top:0px;
        right:3px;
        font-weight:normal;
        font-size:smaller;
}

/* [[Template:Navbox]] and wide variant */
 
/* Default skin for navigation boxes. */
table.navbox {              /* Navbox style */
    border: 1px solid #aaa;
    color: black;
    width: 100%; 
    margin: auto;
    clear: both;
    font-size: 90%;
    text-align: left;
    padding: 1px;
}
table.navbox + table.navbox {
    margin-top:-1px;        /* single pixel border between adjacent navboxes */
}
.navbox, .navbox-subgroup {
    background: #f9f9f9;    /* Background color */
}
.navbox-title {             /* Title style */
    background: #ccccff;    /* Level 1 color */
    font-size:110%;
    text-align: center;      
    padding-left: 1em;
    padding-right: 1em;
    border:2px solid white;
}
.navbox-group {             /* Group style */
    background: #ddddff;    /* Level 2 color */
    font-weight: bold;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 5px;
    border-left:2px solid white;
    border-bottom:2px solid white;
}
.navbox .navbox-group a {
    white-space: normal;
}
.navbox-list {
    border-color: #f9f9f9;  /* Must match background color */
    padding-left: 7px;
    padding-right: 7px;
    padding-bottom: 5px;
}
.navbox-subgroup .navbox-title {
    background: #ddddff;    /* Level 2 color */
}
.navbox-subgroup .navbox-group {
    background: #e6e6ff;    /* Level 3 color */
    padding-bottom: 5px;
}
.navbox-subgroup .navbox-group a {
    white-space: normal;
}
.navbox-subgroup .navbox-list {
    background: transparent !important; 
}

/* Poll auto-formatting */

.ajax-poll {
    width:auto !important;  /* Inline style override for Poll extension*/
    border: 1px solid #aaa !important;  /* Replaces dashed with solid grey */
}

/* Gives the "Fade to transparent" effect in table cells and DIV */
/* Used in conjunction with "background-color:<color>" */

.gradient, .gradient-horizontal { 
    background-image: url(http://images1.wikia.nocookie.net/runescape/images/1/14/Gradient-1pixel-horizontal.png); 
}
 
.gradient-vertical {
    background-image: url(http://images3.wikia.nocookie.net/runescape/images/b/b4/Gradient-1pixel-vertical.png);
}

/* Used to created the section bars on the Front Page */

.noticebar {
  background: url('/images/Scratch_Bar.png') no-repeat left center;
  border: 1px solid #99B2E5;
  margin-top: 0.2em;
  padding: 0.2em;
  text-align: center;
}

/* Adds the tagline */

#siteSub {
   display:inline;
   font-size:92%;
   font-weight:normal;
}

/* When PRE tags overflow, display the overflow automatically */
pre {
   overflow: auto;
}

/* Colors nonexistent links in the the page function bar red, like nonexistent links in regular content */
s is the code BTW:
#scratchpagefunctions span.new a {
   color: #ba0000;
}

#scratchpagefunctions span.new a:visited {
   color: #a55858;
}