Difference between revisions of "MediaWiki:Common.css"
From EncyclopAtys
CeNobiteElf (talk | contribs) |
|||
(40 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
β | /* CSS placed here will be applied to all skins * | + | /***** CSS placed here will be applied to all skins on the entire site. *****/ |
β | + | ||
β | + | #content .hiddenlinks a, #content .hiddenlinks a:link, #content .hiddenlinks a:visited | |
β | . | + | { color: inherit; } |
β | . | + | |
β | . | + | body { |
β | . | + | font-size:0.75em; |
β | + | } | |
β | + | ||
+ | .toc { | ||
+ | display:inline-block; | ||
+ | } | ||
+ | |||
+ | div.cadre { | ||
+ | background-color:#3B8B87; | ||
+ | background-image:url(https://atys.wiki.ryzom.com/images/9/97/Bluebg.png); | ||
+ | background-repeat:no-repeat; | ||
+ | } | ||
+ | |||
+ | div.skill_full { | ||
+ | display:block; | ||
+ | width:235px; | ||
+ | background-color:#798319; | ||
+ | border-top:1px solid #020202; | ||
+ | border-bottom:1px solid #020202; | ||
+ | border-left:1px solid #020202; | ||
+ | border-right:1px solid #020202; | ||
+ | margin-bottom:5px; | ||
+ | font-size:12px; | ||
+ | font-weight:bold; | ||
+ | color:#FFFFFF; | ||
+ | text-align:center; | ||
+ | overflow:visible; | ||
+ | } | ||
+ | |||
+ | div.skill_empty { | ||
+ | display:block; | ||
+ | width:235px; | ||
+ | background-image:url(/w/skins/Atystry/images/skin_blank.png); | ||
+ | border-top:1px solid #020202; | ||
+ | border-bottom:1px solid #020202; | ||
+ | border-left:1px solid #020202; | ||
+ | border-right:1px solid #020202; | ||
+ | margin-bottom:5px; | ||
+ | font-size:12px; | ||
+ | font-weight:bold; | ||
+ | color:#FFFFFF; | ||
+ | text-align:center; | ||
+ | overflow:visible; | ||
+ | } | ||
+ | |||
+ | div.skill_part { | ||
+ | display:block; | ||
+ | width:235px; | ||
+ | background-color:#8E5810; | ||
+ | border-top:1px solid #020202; | ||
+ | border-bottom:1px solid #020202; | ||
+ | border-left:1px solid #020202; | ||
+ | border-right:1px solid #020202; | ||
+ | margin-bottom:5px; | ||
+ | font-size:12px; | ||
+ | font-weight:bold; | ||
+ | color:#FFFFFF; | ||
+ | text-align:center; | ||
+ | overflow:visible; | ||
+ | } | ||
+ | |||
+ | .hintergrundfarbe1 { /* Wie Inhaltsverzeichnis */ | ||
+ | background-color: #f9f9f9; | ||
+ | } | ||
+ | .rahmenfarbe4 { /* Neutrale Farbe, deutlich */ | ||
+ | border-color: #8888aa; | ||
+ | border-width: 1px; | ||
+ | } | ||
β | |||
β | |||
β | |||
β | /* | + | /* Mark redirects in Special:Allpages and Special:Watchlist */ |
β | . | + | .allpagesredirect { |
β | + | font-style: italic; | |
β | . | + | } |
β | + | .allpagesredirect:after { | |
β | + | color: #808080; content: " (redirect)" | |
β | + | } | |
+ | .watchlistredir { | ||
+ | font-style: italic; | ||
+ | } | ||
+ | /* Giving headers and TOC a little extra space */ | ||
+ | h2 { | ||
+ | margin-top: 20px; | ||
+ | } | ||
+ | .toc { | ||
+ | margin-top: 20px; | ||
+ | } | ||
β | /* Infobox | + | /* Infobox template style */ |
β | + | .infobox { | |
β | + | border: 1px solid #aaaaaa; | |
β | + | background-color: #f9f9f9; | |
β | + | color: black; | |
β | { | + | margin-bottom: 0.5em; |
β | + | margin-left: 1em; | |
β | + | padding: 0.2em; | |
β | + | float: right; | |
β | + | clear: right; | |
β | + | } | |
β | + | .infobox td, | |
β | + | .infobox th { | |
β | + | vertical-align: top; | |
β | + | } | |
β | + | .infobox caption { | |
β | + | font-size: larger; | |
β | + | margin-left: inherit; | |
+ | } | ||
+ | .infobox.bordered { | ||
+ | border-collapse: collapse; | ||
+ | } | ||
+ | .infobox.bordered td, | ||
+ | .infobox.bordered th { | ||
+ | border: 1px solid #aaaaaa; | ||
+ | } | ||
+ | .infobox.bordered .borderless td, | ||
+ | .infobox.bordered .borderless th { | ||
+ | border: 0; | ||
+ | } | ||
β | + | /* Forum formatting (by -Algorithm & -Splaka) */ | |
β | |||
β | |||
β | |||
β | |||
β | |||
β | |||
β | |||
β | |||
β | |||
β | |||
β | / | + | .forumheader { |
β | . | + | border: 1px solid #aaa; |
β | + | margin-top: 1em; | |
β | . | + | padding: 12px; |
β | + | } | |
+ | .forumlist td.forum_edited a { | ||
+ | color: black; | ||
+ | text-decoration: none; | ||
+ | } | ||
+ | .forumlist td.forum_title a { | ||
+ | padding-left: 20px; | ||
+ | } | ||
+ | .forumlist td.forum_title a.forum_new { | ||
+ | font-weight: bold; | ||
+ | background: url(/images/4/4e/Forum_new.gif) center left no-repeat; | ||
+ | padding-left: 20px; | ||
+ | } | ||
+ | .forumlist td.forum_title a.forum_new:visited { | ||
+ | font-weight: normal; | ||
+ | background: none; | ||
+ | padding-left: 20px; | ||
+ | } | ||
+ | .forumlist th.forum_title { | ||
+ | padding-left: 20px; | ||
+ | } | ||
β | /* | + | /* Recent changes byte indicators */ |
β | |||
β | |||
β | |||
β | |||
β | |||
β | |||
β | |||
β | |||
β | |||
β | |||
β | + | .mw-plusminus-pos { | |
β | + | color: #006500; | |
β | + | } | |
β | + | .mw-plusminus-neg { | |
β | + | color: #8B0000; | |
β | + | } | |
β | |||
β | /* | + | /* Image frame fix */ |
β | div | + | div.tright, div.tleft { |
β | + | border: 1px solid silver; | |
β | + | } | |
β | |||
β | /* | + | div.thumbinner { |
β | table#mw- | + | background: inherit; |
β | { background: | + | border: none; |
β | # | + | color: inherit; |
β | { color: | + | } |
+ | #article div.thumb { | ||
+ | color:inherit; | ||
+ | } | ||
+ | |||
+ | .collapseButton { /* 'show'/'hide' buttons created dynamically by the */ | ||
+ | position:absolute; /* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */ | ||
+ | font-weight: normal; /* are styled here so they can be customised. */ | ||
+ | text-align: right; | ||
+ | width: auto; | ||
+ | } | ||
+ | .collapseButton_dark { /* 'show'/'hide' buttons created dynamically by the */ | ||
+ | position:absolute; /* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */ | ||
+ | font-weight: normal; /* are styled here so they can be customised. */ | ||
+ | text-align: right; | ||
+ | width: auto; | ||
+ | color:#FFFFFF; | ||
+ | } | ||
+ | .collapseButton_outer { | ||
+ | float: right; | ||
+ | } | ||
+ | .collapseButton_dark a { | ||
+ | color:#D6D6D6; | ||
+ | } | ||
+ | |||
+ | |||
+ | /* === Babel === */ | ||
+ | |||
+ | div.babelbox { | ||
+ | float: right; | ||
+ | margin-left: 1em; | ||
+ | margin-bottom: 0.5em; | ||
+ | width: 246px; | ||
+ | border: 1px solid #99B3FF; | ||
+ | padding: 2px 0 2px 0; | ||
+ | } | ||
+ | .lang-blockN, .lang-block0, .lang-block1, .lang-block2, .lang-block3 { | ||
+ | margin: 2px 4px 2px 4px; /* t, l, b, r */ | ||
+ | width:238px; | ||
+ | border-collapse: collapse; | ||
+ | } | ||
+ | td.lang-codeN, td.lang-code0, td.lang-code1, td.lang-code2, td.lang-code3 { | ||
+ | text-align:center; | ||
+ | font-size:14pt; | ||
+ | width:45px; | ||
+ | height:45px; | ||
+ | } | ||
+ | td.lang-descriptionN, td.lang-description0, td.lang-description1, | ||
+ | td.lang-description2, td.lang-description3 { | ||
+ | font-size:8pt; | ||
+ | padding:4pt; | ||
+ | line-height:1.25em; | ||
+ | } | ||
+ | |||
+ | .lang-block0 { | ||
+ | border:1px solid #FFB3B3; | ||
+ | } | ||
+ | td.lang-code0 { | ||
+ | background-color: #FFB3B3; | ||
+ | color: black; | ||
+ | } | ||
+ | td.lang-description0 { | ||
+ | background-color: #FFE0E8; | ||
+ | color: black; | ||
+ | } | ||
+ | |||
+ | .lang-block1, .lang-block2, .lang-block3 { | ||
+ | border:1px solid #99B3FF; | ||
+ | } | ||
+ | td.lang-code1, td.lang-code2, td.lang-code3 { | ||
+ | background-color: #99B3FF; | ||
+ | color: black; | ||
+ | } | ||
+ | td.lang-description1, td.lang-description2, td.lang-description3 { | ||
+ | background-color: #E0E8FF; | ||
+ | color: black; | ||
+ | } | ||
+ | |||
+ | .lang-blockN { | ||
+ | border:1px solid #6EF7A7; | ||
+ | } | ||
+ | td.lang-codeN { | ||
+ | background-color: #6EF7A7; | ||
+ | color: black; | ||
+ | } | ||
+ | td.lang-descriptionN { | ||
+ | background-color: #C5FCDC; | ||
+ | color: black; | ||
+ | } | ||
+ | |||
+ | /** | ||
+ | * Stylesheet for Babel extension. | ||
+ | * | ||
+ | * This should be added to your MediaWiki:Common.css page when installing this | ||
+ | * extension and should not be modified. You may modify the CSS code on the | ||
+ | * MediaWiki:Common.css page to adjust colours etc. | ||
+ | * | ||
+ | * @addtogroup Extensions | ||
+ | */ | ||
+ | |||
+ | /* Babel wrapper layout. */ | ||
+ | table.mw-babel-wrapper { | ||
+ | width: 238px; | ||
+ | float: right; | ||
+ | clear: right; | ||
+ | margin: 1em; | ||
+ | border-style: solid; | ||
+ | border-width: 1px; | ||
+ | border-color: #99B3FF; | ||
+ | } | ||
+ | |||
+ | /* Babel box layout. */ | ||
+ | div.mw-babel-box { | ||
+ | float: left; | ||
+ | clear: left; | ||
+ | margin: 1px; | ||
+ | } | ||
+ | |||
+ | div.mw-babel-box table { | ||
+ | width: 238px; | ||
+ | } | ||
+ | |||
+ | div.mw-babel-box table th { | ||
+ | width: 238px; | ||
+ | width: 45px; | ||
+ | height: 45px; | ||
+ | font-size: 14pt; | ||
+ | font-family: monospace; | ||
+ | } | ||
+ | |||
+ | div.mw-babel-box table td { | ||
+ | font-size: 8pt; | ||
+ | padding: 4pt; | ||
+ | line-height: 1.25em; | ||
+ | } | ||
+ | |||
+ | /* Babel box colours. */ | ||
+ | div.mw-babel-box-0 { | ||
+ | border: solid #B7B7B7 1px; | ||
+ | } | ||
+ | |||
+ | div.mw-babel-box-1 { | ||
+ | border: solid #C0C8FF 1px; | ||
+ | } | ||
+ | |||
+ | div.mw-babel-box-2 { | ||
+ | border: solid #77E0E8 1px; | ||
+ | } | ||
+ | |||
+ | div.mw-babel-box-3 { | ||
+ | border: solid #99B3FF 1px; | ||
+ | } | ||
+ | |||
+ | div.mw-babel-box-4 { | ||
+ | border: solid #CCCC00 1px; | ||
+ | } | ||
+ | |||
+ | div.mw-babel-box-5 { | ||
+ | border: solid #F99C99 1px; | ||
+ | } | ||
+ | |||
+ | div.mw-babel-box-N { | ||
+ | border: solid #6EF7A7 1px; | ||
+ | } | ||
+ | |||
+ | div.mw-babel-box-0 table th { | ||
+ | background-color: #B7B7B7; | ||
+ | } | ||
+ | |||
+ | div.mw-babel-box-1 table th { | ||
+ | background-color: #C0C8FF; | ||
+ | } | ||
+ | |||
+ | div.mw-babel-box-2 table th { | ||
+ | background-color: #77E0E8; | ||
+ | } | ||
+ | |||
+ | div.mw-babel-box-3 table th { | ||
+ | background-color: #99B3FF; | ||
+ | } | ||
+ | |||
+ | div.mw-babel-box-4 table th { | ||
+ | background-color: #CCCC00; | ||
+ | } | ||
+ | |||
+ | div.mw-babel-box-5 table th { | ||
+ | background-color: #F99C99; | ||
+ | } | ||
+ | |||
+ | div.mw-babel-box-N table th{ | ||
+ | background-color: #6EF7A7; | ||
+ | } | ||
+ | |||
+ | div.mw-babel-box-0 table { | ||
+ | background-color: #E8E8E8; | ||
+ | } | ||
+ | |||
+ | div.mw-babel-box-1 table { | ||
+ | background-color: #F0F8FF; | ||
+ | } | ||
+ | |||
+ | div.mw-babel-box-2 table { | ||
+ | background-color: #D0F8FF; | ||
+ | } | ||
+ | |||
+ | div.mw-babel-box-3 table { | ||
+ | background-color: #E0E8FF; | ||
+ | } | ||
+ | |||
+ | div.mw-babel-box-4 table { | ||
+ | background-color: #FFFF99; | ||
+ | } | ||
+ | |||
+ | div.mw-babel-box-5 table { | ||
+ | background-color: #F9CBC9; | ||
+ | } | ||
β | + | div.mw-babel-box-N table { | |
β | + | background-color: #C5FCDC; | |
β | + | } | |
β | |||
β | |||
β | + | .babel-box td.babel-footer { | |
β | + | text-align: center; | |
β | + | } | |
β | |||
β | |||
β | |||
β | |||
β | |||
β | + | /* Remove underline from IPA links */ | |
β | + | .IPA a:link, .IPA a:visited { | |
β | + | text-decoration: none; | |
β | + | } | |
β | |||
β | |||
β | |||
β | |||
β |
Latest revision as of 10:11, 22 October 2017
/***** CSS placed here will be applied to all skins on the entire site. *****/
#content .hiddenlinks a, #content .hiddenlinks a:link, #content .hiddenlinks a:visited
{ color: inherit; }
body {
font-size:0.75em;
}
.toc {
display:inline-block;
}
div.cadre {
background-color:#3B8B87;
background-image:url(https://atys.wiki.ryzom.com/images/9/97/Bluebg.png);
background-repeat:no-repeat;
}
div.skill_full {
display:block;
width:235px;
background-color:#798319;
border-top:1px solid #020202;
border-bottom:1px solid #020202;
border-left:1px solid #020202;
border-right:1px solid #020202;
margin-bottom:5px;
font-size:12px;
font-weight:bold;
color:#FFFFFF;
text-align:center;
overflow:visible;
}
div.skill_empty {
display:block;
width:235px;
background-image:url(/w/skins/Atystry/images/skin_blank.png);
border-top:1px solid #020202;
border-bottom:1px solid #020202;
border-left:1px solid #020202;
border-right:1px solid #020202;
margin-bottom:5px;
font-size:12px;
font-weight:bold;
color:#FFFFFF;
text-align:center;
overflow:visible;
}
div.skill_part {
display:block;
width:235px;
background-color:#8E5810;
border-top:1px solid #020202;
border-bottom:1px solid #020202;
border-left:1px solid #020202;
border-right:1px solid #020202;
margin-bottom:5px;
font-size:12px;
font-weight:bold;
color:#FFFFFF;
text-align:center;
overflow:visible;
}
.hintergrundfarbe1 { /* Wie Inhaltsverzeichnis */
background-color: #f9f9f9;
}
.rahmenfarbe4 { /* Neutrale Farbe, deutlich */
border-color: #8888aa;
border-width: 1px;
}
/* Mark redirects in Special:Allpages and Special:Watchlist */
.allpagesredirect {
font-style: italic;
}
.allpagesredirect:after {
color: #808080; content: " (redirect)"
}
.watchlistredir {
font-style: italic;
}
/* Giving headers and TOC a little extra space */
h2 {
margin-top: 20px;
}
.toc {
margin-top: 20px;
}
/* Infobox template style */
.infobox {
border: 1px solid #aaaaaa;
background-color: #f9f9f9;
color: black;
margin-bottom: 0.5em;
margin-left: 1em;
padding: 0.2em;
float: right;
clear: right;
}
.infobox td,
.infobox th {
vertical-align: top;
}
.infobox caption {
font-size: larger;
margin-left: inherit;
}
.infobox.bordered {
border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
border: 1px solid #aaaaaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
border: 0;
}
/* Forum formatting (by -Algorithm & -Splaka) */
.forumheader {
border: 1px solid #aaa;
margin-top: 1em;
padding: 12px;
}
.forumlist td.forum_edited a {
color: black;
text-decoration: none;
}
.forumlist td.forum_title a {
padding-left: 20px;
}
.forumlist td.forum_title a.forum_new {
font-weight: bold;
background: url(/images/4/4e/Forum_new.gif) center left no-repeat;
padding-left: 20px;
}
.forumlist td.forum_title a.forum_new:visited {
font-weight: normal;
background: none;
padding-left: 20px;
}
.forumlist th.forum_title {
padding-left: 20px;
}
/* Recent changes byte indicators */
.mw-plusminus-pos {
color: #006500;
}
.mw-plusminus-neg {
color: #8B0000;
}
/* Image frame fix */
div.tright, div.tleft {
border: 1px solid silver;
}
div.thumbinner {
background: inherit;
border: none;
color: inherit;
}
#article div.thumb {
color:inherit;
}
.collapseButton { /* 'show'/'hide' buttons created dynamically by the */
position:absolute; /* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */
font-weight: normal; /* are styled here so they can be customised. */
text-align: right;
width: auto;
}
.collapseButton_dark { /* 'show'/'hide' buttons created dynamically by the */
position:absolute; /* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */
font-weight: normal; /* are styled here so they can be customised. */
text-align: right;
width: auto;
color:#FFFFFF;
}
.collapseButton_outer {
float: right;
}
.collapseButton_dark a {
color:#D6D6D6;
}
/* === Babel === */
div.babelbox {
float: right;
margin-left: 1em;
margin-bottom: 0.5em;
width: 246px;
border: 1px solid #99B3FF;
padding: 2px 0 2px 0;
}
.lang-blockN, .lang-block0, .lang-block1, .lang-block2, .lang-block3 {
margin: 2px 4px 2px 4px; /* t, l, b, r */
width:238px;
border-collapse: collapse;
}
td.lang-codeN, td.lang-code0, td.lang-code1, td.lang-code2, td.lang-code3 {
text-align:center;
font-size:14pt;
width:45px;
height:45px;
}
td.lang-descriptionN, td.lang-description0, td.lang-description1,
td.lang-description2, td.lang-description3 {
font-size:8pt;
padding:4pt;
line-height:1.25em;
}
.lang-block0 {
border:1px solid #FFB3B3;
}
td.lang-code0 {
background-color: #FFB3B3;
color: black;
}
td.lang-description0 {
background-color: #FFE0E8;
color: black;
}
.lang-block1, .lang-block2, .lang-block3 {
border:1px solid #99B3FF;
}
td.lang-code1, td.lang-code2, td.lang-code3 {
background-color: #99B3FF;
color: black;
}
td.lang-description1, td.lang-description2, td.lang-description3 {
background-color: #E0E8FF;
color: black;
}
.lang-blockN {
border:1px solid #6EF7A7;
}
td.lang-codeN {
background-color: #6EF7A7;
color: black;
}
td.lang-descriptionN {
background-color: #C5FCDC;
color: black;
}
/**
* Stylesheet for Babel extension.
*
* This should be added to your MediaWiki:Common.css page when installing this
* extension and should not be modified. You may modify the CSS code on the
* MediaWiki:Common.css page to adjust colours etc.
*
* @addtogroup Extensions
*/
/* Babel wrapper layout. */
table.mw-babel-wrapper {
width: 238px;
float: right;
clear: right;
margin: 1em;
border-style: solid;
border-width: 1px;
border-color: #99B3FF;
}
/* Babel box layout. */
div.mw-babel-box {
float: left;
clear: left;
margin: 1px;
}
div.mw-babel-box table {
width: 238px;
}
div.mw-babel-box table th {
width: 238px;
width: 45px;
height: 45px;
font-size: 14pt;
font-family: monospace;
}
div.mw-babel-box table td {
font-size: 8pt;
padding: 4pt;
line-height: 1.25em;
}
/* Babel box colours. */
div.mw-babel-box-0 {
border: solid #B7B7B7 1px;
}
div.mw-babel-box-1 {
border: solid #C0C8FF 1px;
}
div.mw-babel-box-2 {
border: solid #77E0E8 1px;
}
div.mw-babel-box-3 {
border: solid #99B3FF 1px;
}
div.mw-babel-box-4 {
border: solid #CCCC00 1px;
}
div.mw-babel-box-5 {
border: solid #F99C99 1px;
}
div.mw-babel-box-N {
border: solid #6EF7A7 1px;
}
div.mw-babel-box-0 table th {
background-color: #B7B7B7;
}
div.mw-babel-box-1 table th {
background-color: #C0C8FF;
}
div.mw-babel-box-2 table th {
background-color: #77E0E8;
}
div.mw-babel-box-3 table th {
background-color: #99B3FF;
}
div.mw-babel-box-4 table th {
background-color: #CCCC00;
}
div.mw-babel-box-5 table th {
background-color: #F99C99;
}
div.mw-babel-box-N table th{
background-color: #6EF7A7;
}
div.mw-babel-box-0 table {
background-color: #E8E8E8;
}
div.mw-babel-box-1 table {
background-color: #F0F8FF;
}
div.mw-babel-box-2 table {
background-color: #D0F8FF;
}
div.mw-babel-box-3 table {
background-color: #E0E8FF;
}
div.mw-babel-box-4 table {
background-color: #FFFF99;
}
div.mw-babel-box-5 table {
background-color: #F9CBC9;
}
div.mw-babel-box-N table {
background-color: #C5FCDC;
}
.babel-box td.babel-footer {
text-align: center;
}
/* Remove underline from IPA links */
.IPA a:link, .IPA a:visited {
text-decoration: none;
}