MediaWiki:Common.css
From Multi Theft Auto: Wiki
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: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* Theme overrides */
.projectstable {
width: 100%;
text-align: center;
padding: 2px;
}
.reportstable {
width: 75%;
border: 2px solid grey;
}
body.page-Main_Page h1.firstHeading {
display:none;
}
body {
background: #FFFFFF url(/extensions/_MTAThemeExtensions/wikiheading_gradient.jpg) repeat-x;
}
#globalWrapper {
background: url(/extensions/_MTAThemeExtensions/wikiheading.jpg) no-repeat;
}
div#content {
margin: 120px 0 0 12.2em;
padding: 0 1em 1em 1em;
z-index: 2;
}
div#column-one {
padding-top: 108px;
}
#p-logo {
top: 20px;
height: 60px;
width: 430px;
}
#p-logo a,
#p-logo a:hover {
height: 60px;
width: 430px;
}
#p-cactions {
top: 8em;
list-style: none;
}
#p-cactions ul {
list-style: none;
}
#p-cactions li {
color: black;
padding: 0 0 .1em 0;
border: 0;
}
#p-cactions li.selected {
padding: 0 0 .2em 0;
}
#p-cactions li a {
background-color: transparent;
color: black;
}
#p-cactions li.selected a {
font-weight: bold;
padding: 0 1em .2em!important;
}
#p-cactions li a:hover {
text-decoration: underline;
}
#p-personal {
z-index: 0;
}
#p-personal li {
color: white;
}
#p-personal li a {
color: white;
}
#p-personal li a:hover {
background-color: transparent;
text-decoration: underline;
}
#firstHeading {
padding-top: 10px;
}
/* Non-Theme definitions */
.nav_bar
{
position: absolute;
top: 0px;
left: 4px;
color: white;
font-size: 11px;
font-family: Verdana,Helvetica,Arial,sans-serif;
}
/*
a.mta_nav:link
{
color:white;
}
a.mta_nav:visited
{
color:white;
}
a.mta_nav:hover
{
text-decoration: underline;
}
*/
a.mta_nav {
color: white;
text-decoration: none;
border-bottom:1px solid #777;
}
a.mta_nav:visited
{
color:white;
}
a.mta_nav:hover {
color: white;
text-decoration: none;
border-bottom:1px solid black;
}
/* Make code highlighting fancier */
.kwd {
font-weight: bold;
}
.str {
font-weight: bold;
}
.pun {
color: #66cc66;
}
.lit {
color: #cc66cc;
}
.com {
color: #808080;
font-style: italic;
}
pre.prettyprint {
color: black;
background-color: #f9f9f9;
border: 1px solid #ddd;
margin: 0;
padding: 1em;
white-space: pre;
line-height: 1.2em;
overflow-x: auto;
direction: ltr;
}
/***************************************/
.scriptedFunctionsFirstHeading {
margin-bottom: .1em;
border-bottom: 3px solid #007F00;
}
.resourceFirstHeading {
margin-bottom: .1em;
border-bottom: 3px solid #7F007F;
}
.httpFirstHeading {
margin-bottom: .1em;
border-bottom: 3px solid #008800;
}
.clientFirstHeading {
margin-bottom: .1em;
border-bottom: 3px solid #FF0000;
}
.serverFirstHeading {
margin-bottom: .1em;
border-bottom: 3px solid #FF7F00;
}
.bothFirstHeading {
margin-bottom: .1em;
border-bottom: 3px solid #0000FF;
}
/***************************************/
.sectionSubCaption {
position: absolute;
right: 0px;
top: 0px;
margin-right: 0.5em;
margin-top: 5px;
}
/***************************************/
/* For the code boxes */
.scriptedFunctionsHeader {
border: 2px solid #FF0000;
background: #FF6666;
padding: 4px;
font-weight: bold;
color: #AA0000;
margin-top: 2px;
}
.clientHeader {
border: 2px solid #FF0000;
background: #FF6666;
padding: 4px;
font-weight: bold;
color: #AA0000;
margin-top: 2px;
}
.serverHeader {
border: 2px solid #FF7F00;
background: #FFAA44;
padding: 4px;
font-weight: bold;
color: #AA5600;
margin-top: 2px;
}
.bothHeader {
border: 2px solid #0000FF;
background: #AAAAFF;
padding: 4px;
font-weight: bold;
color: #AA5600;
margin-top: 2px;
}
.genericHeader {
border: 2px solid #000000;
background: #CCCCCC;
padding: 4px;
font-weight: bold;
color: #000000;
margin-top: 2px;
}
.httpHeader {
border: 2px solid #004400;
background: #448844;
padding: 4px;
font-weight: bold;
color: #004400;
margin-top: 2px;
}
/***************************************/
.httpContent {
border: 2px solid #004400;
border-top: 1px solid #004400;
background: #668866;
padding: 4px;
padding-left: 10px;
padding-right: 10px;
}
.clientContent {
border: 2px solid #FF0000;
border-top: 1px solid #FF0000;
background: #FFBBBB;
padding: 4px;
padding-left: 10px;
padding-right: 10px;
}
.serverContent {
border: 2px solid #FF7F00;
border-top: 1px solid #FF7F00;
background: #FFCC66;
padding: 4px;
padding-left: 10px;
padding-right: 10px;
}
.bothContent {
border: 2px solid #0000FF;
border-top: 1px solid #0000FF;
background: #DDDDFF;
padding: 4px;
padding-left: 10px;
padding-right: 10px;
}
.genericContent {
border: 2px solid #000000;
border-top: 1px solid #000000;
background: #FFFFFF;
padding: 4px;
padding-left: 10px;
padding-right: 10px;
}
/***************************************/