Difference between revisions of "MediaWiki:Common.css"
From EncyclopAtys
(19 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
/***** CSS placed here will be applied to all skins on the entire site. *****/ | /***** CSS placed here will be applied to all skins on the entire site. *****/ | ||
β | + | ||
β | align:left; | + | #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; | ||
} | } | ||
Line 64: | Line 126: | ||
/* Forum formatting (by -Algorithm & -Splaka) */ | /* Forum formatting (by -Algorithm & -Splaka) */ | ||
+ | |||
.forumheader { | .forumheader { | ||
border: 1px solid #aaa; | border: 1px solid #aaa; | ||
Line 91: | Line 154: | ||
/* Recent changes byte indicators */ | /* Recent changes byte indicators */ | ||
+ | |||
.mw-plusminus-pos { | .mw-plusminus-pos { | ||
color: #006500; | color: #006500; | ||
Line 111: | Line 175: | ||
color:inherit; | 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 === */ | /* === Babel === */ | ||
Line 176: | Line 261: | ||
} | } | ||
β | . | + | /** |
β | + | * Stylesheet for Babel extension. | |
β | font- | + | * |
β | + | * 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;
}