Difference between revisions of "MediaWiki:Common.css"

From Ryzom Commons

Jump to: navigation, search
m
(Images in HTTPS)
 
(3 intermediate revisions by one other user not shown)
Line 3: Line 3:
 
div.cadre {
 
div.cadre {
 
background-color:#3B8B87;
 
background-color:#3B8B87;
background-image:url(http://atys.wiki.ryzom.com/w/images/9/97/Bluebg.png);
+
background-image:url(https://atys.wiki.ryzom.com/images/9/97/Bluebg.png);
 +
background-repeat:no-repeat;
 +
}
 +
 
 +
.toc {
 +
display:inline-block;
 +
}
 +
 
 +
body {
 +
font-size:0.75em;
 
}
 
}
  

Latest revision as of 13:33, 22 October 2017

/* CSS placed here will be applied to all skins */
/* Language navigation links (moved from monobook.css */
div.cadre {
background-color:#3B8B87;
background-image:url(https://atys.wiki.ryzom.com/images/9/97/Bluebg.png);
background-repeat:no-repeat;
}

.toc {
display:inline-block;
}

body {
font-size:0.75em;
}

/* Recent changes byte indicators */
.mw-plusminus-pos {
   color: #006500;
}
.mw-plusminus-neg {
   color: #8B0000;
}

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

/* Image frame fix */
div.tright, div.tleft {
   border: 1px solid silver;
}

div.thumbinner {
   background: inherit;
   border: none;
   color: inherit;
}
#article div.thumb {
   color:inherit;
}

/* Language divs */

.divlang {
    background: #F9F9F9;
    border: 1px solid #E9E9E9;
    font-size: 0.85em;
    margin: 0 0 1em 0;
    padding: 0.5em 1em;
    text-align: left;
}
 
.divlang ul {
    display: inline;
    margin-left: 0;
    padding-left: 0;
}
 
.divlang ul li {
    border-left: 1px solid #E4E4E4;
    display: inline;
    list-style: none;
    margin-left: 0;
    padding: 0 0.5em;
}
 
.divlang ul li.firstlang {
    border-left: none;
    display: inline;
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

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