MediaWiki:Common.css
Note: After publishing, 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 / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/** CSS placed here will be applied to all skins */
/* Hide title and tagline on Main Page */
body.page-RollerCoaster_Tycoon_Wiki h1.firstHeading, body.page-RollerCoaster_Tycoon_Wiki #siteSub {
display:none;
}
/* Display text below main article header, located at MediaWiki:tagline */
#siteSub {
display: inline;
font-size: 92%;
font-weight: normal;
}
element.style {
border:1px solid #000000;
}
a:visited {
color: #003C82;
}
input#searchInput {
background-color:#A0B771;
border-color:#718746;
}
table
background-color:#FFFFFF;
border:0px;
margin-top: 0px;
}
.catlinks {
background-color:#FCDE8A;
border:0px solid #000000;
}
#content {
-moz-border-radius-topleft: 1.2em;
-moz-border-radius-bottomleft: 1.4em;
-moz-border-radius-topright: 1.4em;
-moz-border-radius-bottomright: 1.4em;
}
#p-cactions ul li, #p-cactions ul li a {
-moz-border-radius-topleft: 0.4em;
-moz-border-radius-topright: 0.4em;
}
code {
background-color:#FDD355;
}
.WikiaArticle .toc {
background-color:transparent;
border:1px solid silver
float:right;
align:right;
clear:left;
postion:absolute;
right:150px;
width:150px;
min-width:150px;
max-width:150px;
border-collapse:separate;
margin-right:5px;
}
.infobox {
border:1px solid silver
float:right;
clear:right;
postion:absolute;
right:250px;
width:250px;
min-width:250px;
max-width:250px;
border-collapse:separate;
margin-left:5px;
clip:rect(50px, 250px, 150px, 50px);
}
/* Hide picture attribution in thumbnails */
.WikiaArticle .picture-attribution {display:none;}
/**
* Switch Infobox -- Allows multiple infoboxes to be seamlessly switched.
* Required template: http://runescape.wikia.com/wiki/Template:Switch_infobox
* Required script: http://runescape.wikia.com/wiki/User:Matthew2602/SwitchInfobox.js
*/
/* Fixes a weird bug with the MW parser that creates lots of blank paragraphs */
.switch-infobox > p, .switch-infobox-triggers > p {
display: none;
}
.switch-infobox > p:first-child, .switch-infobox-triggers > p:first-child {
display: block;
}
/* Only show the item that the user has toggled to */
.switch-infobox > .item {
display: none;
}
.switch-infobox > .item.showing {
display: block;
}
/* Only show the loading button if the switch infobox is still loading */
.switch-infobox > .loading-button {
display: none;
}
.switch-infobox.loading > .loading-button {
display: block;
}
/* Only show the switch triggers if the switch infobox is finished loading */
.switch-infobox.loading > .switch-infobox-triggers {
display: none;
}
/* Slight style changes to the switch triggers */
.infobox .switch-infobox-triggers {
text-align: center;
font-weight: normal;
margin-bottom: -5px;
}
/**
* Gives a nice custom style to .button's used in the switch infobox in monobook,
* because the current one doesn't fit in with
* the appearance of the rest of the page.
*/
.skin-monobook .switch-infobox > .loading-button, .skin-monobook .switch-infobox-triggers > .trigger {
padding: 0 4px;
border: 1px solid #666;
background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #e6e6e6), color-stop(50%, #c8c8c8));
background-image: -webkit-linear-gradient(top, #e6e6e6, #c8c8c8 50%);
background-image: -moz-linear-gradient(top, #e6e6e6, #c8c8c8 50%);
background-image: -ms-linear-gradient(top, #e6e6e6, #c8c8c8 50%);
background-image: linear-gradient(top, #e6e6e6, #c8c8c8 50%);
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
-ms-border-radius: 5px;
border-radius: 5px;
color: #000;
font-family: inherit;
font-weight: inherit;
font-size: inherit;
}