MediaWiki:Common.css

From RevSpace
Revision as of 18:27, 3 May 2012 by Stitch (Talk | contribs) (eens wat proberen :))

Jump to: navigation, search

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Clear the cache in Tools → Preferences
/* CSS placed here will be applied to all skins */

#p-status {
    width: 80%;
    margin: auto;
    margin-bottom: 1em;
    text-align: center;
    font-size: smaller;
}

img[alt="Webhead.jpg"] { width: 100%; height: auto; }

.editsection { display: none; }
h1:hover .editsection, h2:hover .editsection, h3:hover .editsection, h4:hover .editsection, h5:hover .editsection, h6:hover .editsection { display: inline; }

/* Effe iets leesbaardere tekst plx */
#nav h5, #nav div a { font-size: 9.5pt }
#nav div a { text-shadow: 0.5ex 0.5ex 1ex silver;

/** Styling for Curse things **/
/* Footer */
#ft {
    background: none
}

#ft div {
    width: 1100px
}

#ft h1, #ft a, #ft {
    font-size: 10px
}

#ft .site-navigation {
    list-style: none;
    margin-left: 160px;
    padding-bottom: 5px;
    font-size: 10px
}

#ft .site-navigation ul {
    list-style: none
}

#ft .network-navigation {
    margin-left: 160px;
    margin-bottom: 140px !important
}

#ft .network-navigation ul {
    float: left;
    width: 110px
}

#ft .network-navigation ul.double {
    width: 280px
}

#ft .network-navigation ul.curse li.header a {
    background: url("http://www.minecraftwiki.net/images/e/e7/CursefooterWhite.png") repeat scroll 0 0 transparent;
    display: block;
    text-indent: -999px;
    height: 18px;
    width: 140px
}

#ft .network-navigation ul li {
    float: left;
    list-style: none;
    width: 140px;
    margin-bottom: 2px
}

#ft .network-navigation ul li.header {
    font-size: 12px;
    clear: both;
    font-weight: bold;
    color: #FF6015;
    width: 100%
}

#ft, #ft a:hover, #ft a:focus {
    color: #FFFFFF
}
#ft a {
    color: #BFBFBF
}

/* Sidebar */
body {
    min-width: 1000px;
    position: relative
}
div#bodyContent2 {
    margin-right: 330px;
    min-height: 920px;
    width: auto;
	font-size:0.8em;
	line-height: 1.5em
}

#curse-panel{
    position: absolute;
    top: 306px;
    right: 25px;
    width: 306px
}

#curse-panel h4 {
    font-size: 100%;
    line-height: normal
}

#curse-panel .block{
    font-size: 75%;
    padding: 3px
}

#curse-panel .block .link {
    padding: 10px;
    text-align: right
}

#curse-panel .block_header {
    font-size: 15px;
    text-align: center;
    font-weight: bold
}
#curse-panel .block_header a {
    color: #000
}
#curse-panel .post {
    font-size:12px
}

/* Other */
div.atflb {
    width: auto !important
}

div#google_ads_div_Test_Dec_728x90_ad_container {
    display: inline-block
}
#google_ads_div_Test_Dec_728x90_ad_container {
    display: inline-block
}

/** Template stylings **/
/* [[Template:Grid]] and friends */
.grid-input {
    top: 2px;
    left: 2px;
    position: absolute;
    z-index: 1
}

.grid-output {
    top: 10px;
    left: 10px;
    position: absolute;
    z-index: 1
}

.grid-input-number {
    top: 17px;
    left: 22px;
    position: absolute;
    z-index: 2
}

.grid-input-number2 {
    top: 17px;
    left: 10px;
    position: absolute;
    z-index: 2
}

.grid-output-number {
    top: 25px;
    left: 30px;
    position: absolute;
    z-index: 2
}

.grid-output-number2 {
    top: 25px;
    left: 18px;
    position: absolute;
    z-index: 2
}

div.grid-input-slide > span.grid-input,div.grid-input-slide > span.grid-input-numbers, div.grid-output-slide > span.grid-output,div.grid-output-slide > span.grid-output-numbers
{
    display:none
}

.grid-single {
    display: inline-block;
    background: url("http://www.minecraftwiki.net/images/7/76/Grid_layout_None_%28small%29.png") no-repeat;
    text-align: left !important;
    width: 36px;
    height: 36px
}
.grid-single img {
    display: inline;
    padding: 2px 0 0 2px
}

/* [[Template:Infobox common]] */
.infobox {
    clear: right;
    margin: 3px 0px 3px 3px;
    width: 300px;
    font-size: 90%;
    background: #FFFFFF;
    float: right;
    border: 1px solid #CCCCCC;
    padding: 2px
}

.infobox-title {
    font-weight: bold;
    text-align: center;
    font-size: 120%
}

.infobox-imagearea {
    text-align: center;
    padding: 4px
}

.infobox table {
    width: 100%
}

.infobox p {
    margin: 0
}

.infobox audio {
    width: 184px
}

.infobox-footer {
    text-align: center
}

/* What is this? */
.infobox.atfmrec {
    border: none !important
}

/* [[Template:Infobox row]] */
.infobox-row {
    white-space: nowrap;
    font-weight: bold
}

/* [[Template:Navbox]] */
.navbox {
    border: 1px solid #CCCCCC;
    margin: 1em auto 0;
    clear: both
}

.navbox table {
    width: 100%;
    background: #FFFFFF
}

.navbox-top {
    white-space: nowrap;
    background-color: #CCCCCC;
    padding: 0 3px
}

.navbox-navbar, .navbox-navbar-mini {
    float: left;
    font-size: 80%
}

.navbox-title {
    padding: 0 10px;
    font-size: 110%
}

.navbox-group {
    background-color: #EEEEEE;
    padding: 0 10px;
    white-space: nowrap;
    text-align: right
}

.navbox-list {
    width: 100%;
    padding: 0 0 0 2px
}

.navbox ul {
    margin: 0
}
.navbox li {
    display: inline;
 /* display: inline-block; */
    white-space: nowrap;
    margin: 0
}
.navbox li:after {
    content: " •"
}
.navbox li:last-child:after {
    content: ""
}

/* This won't work until HTMLTidy is enabled
.navbox ul ul:first-child:before {
    content: "("
}
.navbox ul ul:last-child:after {
    content: ")"
} */

/** Other stuff **/
/* Prevent page jump from the toolbar loading, doesn't affect people with the toolbar disabled */
#toolbar {
    height: 22px
}

/* Remove the header from the main page */
body.page-Minecraft_Wiki h1.firstHeading {
    display: none
}

/* Change main logo to somewhere that can be uploaded to from the wiki */
#p-logo a { 
    background-image: url("http://www.minecraftwiki.net/images/b/bc/Wiki.png") !important
}

/* [[MediaWiki:CollapsibleTables.js]] */
table.collapsed tr.collapsible {
    display: none
}
 
.collapseButton {            /* 'show'/'hide' buttons created dynamically by the        */
    float: right;            /* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */
    font-weight: normal;     /* are styled here so they can be customised.              */
    text-align: right;
    padding-left: 4px;
    width: auto
}

/* Alternating cell background, primarily used with [[Template:Infobox row]] */
.alternatecells:nth-child(odd) {
    background-color: #F9F9F9
}
/* Alternating table rows */
.alternaterows tr:nth-child(even) {
    background-color: #F9F9F9
}

/* The blue header used throughout the wiki */
.mcwiki-header, #curse-panel .block_header {
    background: #729FCF;
    border: 1px solid #ccc;
    border-bottom: 4px groove #999999;
    border-right: 4px groove #999999;
    padding: 5px;
}

/* Make transparency visible on image pages */
.filehistory a img, #file img {
    background: url("http://www.minecraftwiki.net/images/5/5d/Checker-16x16.png")
}
#file button img {
    background: none !important
}

/* Highlight clicked reference in blue to help navigation */
ol.references li:target, sup.reference:target, span.citation:target { 
    background-color: #C1DAF2
}