MediaWiki:Common.css

From Caps Wiki
Jump to navigation Jump to search

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 */

/* wiki table legibility improvement */
.sortable tr:nth-child(odd){
    background-color: #e9e9f5;
}
.sortable tr:hover{
	background-color: #f9e9e9 !important;
}
table.detailList tr:nth-child(even){
    background-color: #e9e9f5;
}
table.detailList {
	display: inline-block;
	padding: none;
	margin: none;
}
table.detailList th {
	text-align: right;
	white-space: nowrap;
}

.infobox {
    background: #eee;
    border: 1px solid #aaa;
    float: right;
    margin: 0 0 1em 1em;
    padding: 0.5em;
    width: 400px;
}
.infobox-title {
    font-size: 2em;
    text-align: center;
    border-bottom: 1px solid #ccc;
}
div.infobox-image {
    margin-bottom: -1em;
}
.infobox-image {
    text-align: center;
    padding-top: 1em;
}
.infobox th.info-section-sub {
    text-align: left;
    font-size:112.5%;
}
.infobox th.info-section {
    text-align: left;
    border-bottom: 1px solid #ccc;
    font-size:125%;
    padding-top: 1.5em;
}
.infobox th {
    text-align: right;
    vertical-align: top;
    width: 120px;
    padding-right:0.5em;
}
.infobox td {
    vertical-align: top;
}

/* WikiForum Override */
td.mw-wikiforum-thread-main {
	border: 1px solid #aaa;
	background: #ffffff;
}

td.mw-wikiforum-thread-sub {
    padding: 0px 10px;
    border: 0px solid #222;
    border-top: 1px solid #ccc;
    border-left: 5px solid #e5eaff;
    border-spacing: 0px 5px;
    background: #fff;
    padding-top: 1.5em;
    border-bottom: 5px solid #f6f6f6;
}

table.mw-wikiforum-headerrow {
    font-size: 1em;
    font-family: Verdana,Arial,sans-serif;
}
table.mw-wikiforum-posted {
    color: #999999;
    font-family: Verdana,Arial,sans-serif;
    font-size: 1em;
    border-top: 1px dashed #999999;
    width: 100%;
    background: transparent;
    margin-top: 16px;
    margin-bottom: 6px;
}
table.mw-wikiforum-frame {
	padding: 0px;
    clear: both;
    width: 100%;
    background: #fff;
    border: none;
    margin: 0px;
}
th.mw-wikiforum-title {
    font-size: 120%;
    font-weight: bold;
    text-align: left;
    padding-left: 10px;
    border-bottom: 0px solid #a3bfb1;
    border-top: 0px solid #a3bfb1;
}
td.mw-wikiforum-title {
    text-align: left;
    padding-left: 10px;
    border-bottom: 1px solid #aaa;
}
th.mw-wikiforum-admin {
    border-bottom: 0px solid #a3bfb1;
    border-top: 0px solid #a3bfb1;
    text-align: right;
}
td.mw-wikiforum-admin {
    border-bottom: 1px solid #aaa;
    text-align: right;
    font-family: Verdana,Arial,sans-serif;
    font-size: 10px;
}
th.mw-wikiforum-value {
    width: 90px;
    border-bottom: 0px solid #a3bfb1;
    border-top: 0px solid #a3bfb1;
    text-align: center;
}
td.mw-wikiforum-value {
    border-bottom: 1px solid #aaa;
    text-align: center;
    font-family: Verdana,Arial,sans-serif;
    font-size: 10px;
}


th.mw-wikiforum-lastpost {
    width: 180px;
    border-bottom: 0px solid #a3bfb1;
    border-top: 0px solid #a3bfb1;
    text-align: center;
}
th.mw-wikiforum-thread-top {
    font-weight: bold;
    padding: 0px;
    border: 0px solid #cef2e0;
    background: #e5eaff;
    text-align: left;
}

td.mw-wikiforum-innerframe {
    border: none;
}

#mw-wikiforum-searchbox-border {
    border: 0px dotted #ccc;
    width: 200px;
    text-align: left;
    background: none;
}

#mw-wikiforum-searchbox-border > img { 
	display: none;
}
p.mw-wikiforum-descr {
    color: #333;
    font-family: Verdana,Arial,sans-serif;
    font-size: 0.9em;
}

#mw-wikiforum-searchbox-border > input { 
	background-color: rgba(255,255,255,0.5);
color: #000000;
width: 100%;
height: 2.15384615em;
-moz-box-sizing: border-box;
box-sizing: border-box;
border: 1px solid #a2a9b1;
border-radius: 2px;
padding: 5px 2.15384615em 5px 0.4em;
box-shadow: inset 0 0 0 1px transparent;
font-family: inherit;
font-size: 0.8125em;
direction: ltr;
-webkit-transition: border-color 250ms,box-shadow 250ms;
transition: border-color 250ms,box-shadow 250ms;
-webkit-appearance: none;
-moz-appearance: textfield;
}