MediaWiki:Common.css: Difference between revisions

From A KoL Wiki
imported>Fig bucket
m make diffs look less garish, more in-line with current mediawiki styling
imported>Fig bucket
m fix line-spacing of text so descenders in paragraphs of text aren't cut off
Line 174: Line 174:
     vertical-align: top;
     vertical-align: top;
     white-space: pre-wrap;
     white-space: pre-wrap;
    line-height:1.5em;
}
}
td.diff-addedline {
td.diff-addedline {

Revision as of 11:59, 19 September 2013

/*<pre><nowiki>*/

a.stub{
 color:#772233;
}

a.new:hover, a.new:visited{
 color:#aa89c3;
}

a.external{
 background:url('/thekolwiki/skins/monobook/external.png') center right no-repeat;
 color:#3366bb;
 padding-right:13px;
}

a.extiw{
 color:#3366bb;
}

.plainlinks a.external, 
.plainlinks a.extiw{
 background:none;
 color:#0874D0;
 padding:0;
}

.plainredlinks a.external, 
.plainredlinks a.extiw{
 background:none;
 color:#ba0000;
 padding:0;
}

.plainredlinks a.external:hover,
.plainredlinks a.external:visited,
.plainredlinks a.extiw:hover,
.plainredlinks a.extiw:visited {
 background:none;
 color:#aa89c3;
 padding:0;
}

.listindent li {
  list-style-position:inside;
  text-indent: -2em;
  padding-left: 2em;
}

.box_tgen a{
 white-space:nowrap;
}

table#collection{
 margin:1em auto!important;
}

.auralonly{
 display:none;
}

@media aural {
 .auralonly{display:inline;}
}

h1 { font-size: 188%; }
h1 .editsection { font-size: 53%; }
h2 { font-size: 150%; }
h2 .editsection { font-size: 67%; }
h3, h4, h5, h6 {
 border-bottom: none;
 font-weight: bold;
}
h3 { font-size: 132%; }
h3 .editsection { font-size: 76%; font-weight: normal; }
h4 { font-size: 116%; }
h4 .editsection { font-size: 86%; font-weight: normal; }
h5 { font-size: 100%; }
h5 .editsection { font-weight: normal; }
h6 { font-size: 80%;  }
h6 .editsection { font-size: 125%; font-weight: normal; }

.editsection {
 float:right;
 margin-left:5px;
}

.sorttable tr:first-child{
 white-space:nowrap;
}

.evenwhite.sorttable .even{
 background-color:white;
}

.oddwhite.sorttable .odd{
 background-color:white;
}

.digsection{
 background-image: url('/thekolwiki/images/4/42/Db.gif');
 text-align: center;
 width: 50px;
 height: 50px;
 vertical-align: middle;
 font-size: smaller;
}

.mw-changeslist-line-watched .mw-title {
    font-weight: bold;
}

.mw-specialpagerestricted {
    font-weight: bold;
}

.mw-plusminus-pos {
    color: #006400;
}

.mw-plusminus-neg {
    color: #8B0000;
}

.mw-plusminus-null {
    color: #AAAAAA;
}

.diffchange {
	font-weight: bold;
	text-decoration: none;
	white-space: pre-wrap;
	white-space: -moz-pre-wrap;
}
table.diff {
    background-color: #FFFFFF;
    border: medium none;
    border-spacing: 4px;
    margin: 0;
    table-layout: fixed;
    width: 100%;
}
table.diff td {
    padding: 0.33em 0.5em;
}
table.diff td.diff-marker {
    padding: 0.25em;
}
table.diff col.diff-marker {
    width: 2%;
}
table.diff col.diff-content {
    width: 48%;
}
table.diff td div {
    word-wrap: break-word;
}
td.diff-otitle, td.diff-ntitle {
    text-align: center;
}
td.diff-lineno {
    font-weight: bold;
}
td.diff-marker {
    font-size: 1.25em;
    font-weight: bold;
    text-align: right;
}
td.diff-addedline, td.diff-deletedline, td.diff-context {
    border-radius: 0.33em 0.33em 0.33em 0.33em;
    border-style: solid;
    border-width: 1px 1px 1px 4px;
    font-size: 88%;
    vertical-align: top;
    white-space: pre-wrap;
    line-height:1.5em;
}
td.diff-addedline {
    border-color: #A3D3FF;
    background: none repeat scroll 0 0 #FFFFFF;
}
td.diff-deletedline {
    border-color: #FFE49C;
    background: none repeat scroll 0 0 #FFFFFF;
}
td.diff-context {
    background: none repeat scroll 0 0 #F9F9F9;
    border-color: #E6E6E6;
    color: #333333;
}
td.diff-addedline .diffchange, td.diff-deletedline .diffchange {
    border-radius: 0.33em 0.33em 0.33em 0.33em;
    padding: 0.25em 0;
}
td.diff-addedline .diffchange {
    background: none repeat scroll 0 0 #D8ECFF;
}
td.diff-deletedline .diffchange {
    background: none repeat scroll 0 0 #FEEEC8;
}

/*</nowiki></pre>*/