MediaWiki:Common.css

From Rainwall RPG
Revision as of 02:02, 12 April 2020 by Castus (talk | contribs)
Jump to navigation Jump to 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 / Edge: 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.
body {
background: url("http://rainwallrpg.com/doc/skins/Vector/images/wikibackground.jpg") repeat;
}

#mw-head {
background: url("http://rainwallrpg.com/doc/skins/Vector/images/wikibackground.jpg");
}

#mw-head li a {
color: #64d8c6;
font-weight: bold;
text-shadow: 2px 2px #333;
}

#mw-panel li a:visited {
color: #53ade6;
font-weight: bold;
text-shadow: 1px 1px #333;
}


#mw-panel .portal .body li a {
color: #64d8c6;
font-weight: bold;
text-shadow: 1px 1px #333;
}

#mw-panel .portal .body li a:visited {
color: #2793d7;
font-weight: bold;
text-shadow: 1px 1px #333;
}

a {
color: #006e6b; 
}

a.new {
color: #e4851e !important;
}

a:visited {
color: #2793d7 !important;
}

h1, h2, h3, h4, h5, h6 {
color: #006e6b;
}

#simpleSearch input {
border: 1px solid #006e6b;
}

/* ################################################## */
/* ### TABLES                                    #### */
/* ################################################## */
 
.va-table {
    background-color: #f8f9fa;
    border-collapse: collapse;
    empty-cells: show;
    font-size: 11px;
    line-height: 16px;
    margin-bottom: 5px;
}
 
.va-table td, .va-table th {
    border: 1px solid #AAA;
    padding: 1px 2px;
}
 
.va-table tr {
    background: #f8f9fa;
}
 
.va-table th {
    background: #006e6b;
    font-weight: bold;
    color: #fff;
}
 
.va-table td {
    background: transparent;
}
 
.va-table-collapse .collapseButton {
    margin-left: 10px !important;
    position: absolute;
}
 
.va-table > tr.va-table-highlight,
.va-table > * > tr.va-table-highlight {
    background-color: #D6DBC1;
}
 
.va-table ul + p, .va-table ul + ol,
.va-table ul + ul, .va-table ol + p,
.va-table ol + ol, .va-table ol + ul,
.va-table p + p, .va-table p + ol,
.va-table p + ul {
    margin-top: 5px;
}
 
/* Tables with specific vertical alignment for cells */
.va-table-top td {
    vertical-align: top;
}
 
.va-table-middle td {
    vertical-align: middle;
}
 
.va-table-bottom td {
    vertical-align: bottom;
}
 
/* Tables with specific horizontal alignment for cells */
.va-table-center td {
    text-align: center;
}
 
.va-table-left td {
    text-align: left;
}
 
.va-table-right td {
    text-align: right;
}
 
/* Tables which are full width in Oasis */
.va-table-full {
    width: 100%;
}
 
/* Tables in which the first column starts with an icon */
.va-table-icon tr td:first-child {
    padding-left: 18px;
    text-indent: -18px;
}
 
.va-table-full-ib,
.va-table-full-infobox {
    width: 380px;
}
 
.va-table-shaded tr:nth-child(even) {
    background-color: #DEE2CC;
}
 
/* Adapting lists & paragraphs to altered line-height */
.va-table ul,
.va-table ol {
    margin: 0 0 0 20px;
}
 
.va-table li {
    line-height: inherit;
}
 
.va-table p {
    line-height: inherit;
    margin: 0;
}