MediaWiki:Common.css: Difference between revisions

From A KoL Wiki
imported>Dehstil
m hmm, selector failed, this would theoretically cause an unsorted table inside a sorted table to behave this way, but who would do that?
m Adjust size of external icon
(34 intermediate revisions by 7 users not shown)
Line 10: Line 10:


a.external{
a.external{
  background:url(/thekolwiki/skins/monobook/external.png) center right no-repeat;
  background:url('/external-link.svg') center right/10px no-repeat;
  color:#3366bb;
  color:#3366bb;
  padding-right:13px;
  padding-right:13px;
Line 24: Line 24:
  color:#0874D0;
  color:#0874D0;
  padding:0;
  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;
}
}


Line 74: Line 96:
.oddwhite.sorttable .odd{
.oddwhite.sorttable .odd{
  background-color:white;
  background-color:white;
}
.digsection{
background-image: url('/Special:Filepath/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;
}
/* This is stuff for tables with alternating coloured lines, aka pyjama paper */
.pyjama tr:nth-child(odd) {
    background-color: #ffeedd;
}
.pyjama tr:nth-child(even) {
    background-color: #eeffee;
}
#metaData{
    background-color: white;
    border-style: solid;
    border-width: 1px;
    border-color: black;
    position: absolute;
    right: 0px;
    top: 0px;
    padding: 0.2em 0.2em 0.1em;
}
.toclimit-2 .toclevel-1 ul, .toclimit-3 .toclevel-2 ul, .toclimit-4 .toclevel-3 ul, .toclimit-5 .toclevel-4 ul, .toclimit-6 .toclevel-5 ul, .toclimit-7 .toclevel-6 ul {
    display:none;
}
.mrbox {
    display: inline-block;
    margin: 5px;
    padding: 0;
    vertical-align: top;
    width: 320px;
}
#container{
background-color: #6386a8;
margin: 5px;
border-radius:5px;
}
#wikiContentContainer{
position:absolute;
left: 5px;
right:170px;
top:100px;
background-color: white;
}
}


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

Revision as of 12:38, 5 September 2025

/*<pre><nowiki>*/

a.stub{
 color:#772233;
}

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

a.external{
 background:url('/external-link.svg') center right/10px 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('/Special:Filepath/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;
}

/* This is stuff for tables with alternating coloured lines, aka pyjama paper */

.pyjama tr:nth-child(odd) {
    background-color: #ffeedd;
}

.pyjama tr:nth-child(even) {
    background-color: #eeffee;
}

#metaData{
    background-color: white;
    border-style: solid;
    border-width: 1px;
    border-color: black;
    position: absolute;
    right: 0px;
    top: 0px;
    padding: 0.2em 0.2em 0.1em;
}

.toclimit-2 .toclevel-1 ul, .toclimit-3 .toclevel-2 ul, .toclimit-4 .toclevel-3 ul, .toclimit-5 .toclevel-4 ul, .toclimit-6 .toclevel-5 ul, .toclimit-7 .toclevel-6 ul {
    display:none;
}

.mrbox {
    display: inline-block;
    margin: 5px;
    padding: 0;
    vertical-align: top;
    width: 320px;
}

#container{
	background-color: #6386a8;
	margin: 5px;
	border-radius:5px;
}

#wikiContentContainer{
	position:absolute;
	left: 5px;
	right:170px;
	top:100px;
	background-color: white;
}

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