Difference between revisions of "MediaWiki:Common.css"

From The Official Visionaire Studio: Adventure Game Engine Wiki
Line 537: Line 537:
 
/* end */
 
/* end */
  
/*
 
** MediaWiki Print style sheet for CSS2-capable browsers.
 
** Copyright Gabriel Wicke, http://www.aulinx.de/
 
**
 
** Derived from the plone (http://plone.org/) styles
 
** Copyright Alexander Limi
 
*/
 
 
/* Thanks to A List Apart (http://alistapart.com/) for useful extras */
 
a.stub,
 
a.new{ color:#ba0000; text-decoration:none; }
 
 
#toc {
 
    /*border:1px solid #2f6fab;*/
 
    border:1px solid #aaaaaa;
 
    background-color:#f9f9f9;
 
    padding:5px;
 
}
 
.tocindent {
 
margin-left: 2em;
 
}
 
.tocline {
 
margin-bottom: 0px;
 
}
 
 
/* images */
 
div.floatright {
 
    float: right;
 
    clear: right;
 
    margin: 0;
 
    position:relative;
 
    border: 0.5em solid White;
 
    border-width: 0.5em 0 0.8em 1.4em;
 
}
 
div.floatright p { font-style: italic;}
 
div.floatleft {
 
    float: left;
 
    margin: 0.3em 0.5em 0.5em 0;
 
    position:relative;
 
    border: 0.5em solid White;
 
    border-width: 0.5em 1.4em 0.8em 0;
 
}
 
div.floatleft p { font-style: italic; }
 
/* thumbnails */
 
div.thumb {
 
    margin-bottom: 0.5em;
 
    border-style: solid; border-color: White;
 
    width: auto;
 
    overflow: hidden;
 
}
 
div.thumbinner {
 
    border:1px solid #cccccc;
 
    padding: 3px !important;
 
    background-color:#f9f9f9;
 
    font-size: 94%;
 
    text-align: center;
 
}
 
html .thumbimage {
 
    border:1px solid #cccccc;
 
}
 
html .thumbcaption {
 
    border: none;
 
    padding: 0.3em 0 0.1em 0;
 
}
 
div.magnify { display: none; }
 
div.tright {
 
    float: right;
 
    clear: right;
 
    border-width: 0.5em 0 0.8em 1.4em;
 
}
 
div.tleft {
 
    float: left;
 
    margin-right:0.5em;
 
    border-width: 0.5em 1.4em 0.8em 0;
 
}
 
img.thumbborder {
 
border: 1px solid #dddddd;
 
}
 
 
/* table standards */
 
table.rimage {
 
    float:right;
 
    width:1pt;
 
    position:relative;
 
    margin-left:1em;
 
    margin-bottom:1em;
 
    text-align:center;
 
}
 
 
body {
 
    background: White;
 
    /*font-size: 11pt !important;*/
 
    color: Black;
 
    margin: 0;
 
    padding: 0;
 
}
 
 
.noprint,
 
div#jump-to-nav,
 
div.top,
 
div#column-one,
 
#colophon,
 
.editsection,
 
.toctoggle,
 
.tochidden,
 
div#f-poweredbyico,
 
div#f-copyrightico,
 
li#viewcount,
 
li#about,
 
li#disclaimer,
 
li#privacy,
 
#mw-hidden-catlinks {
 
    /* Hides all the elements irrelevant for printing */
 
    display: none;
 
}
 
 
ul {
 
    list-style-type: square;
 
}
 
 
#content {
 
    background: none;
 
    border: none ! important;
 
    padding: 0 ! important;
 
    margin: 0 ! important;
 
}
 
#footer {
 
background : white;
 
color : black;
 
    border-top: 1px solid black;
 
}
 
 
h1, h2, h3, h4, h5, h6 {
 
font-weight: bold;
 
}
 
 
p, .documentDescription {
 
    margin: 1em 0 ! important;
 
    line-height: 1.2em;
 
}
 
 
.tocindent p {
 
margin: 0 0 0 0 ! important;
 
}
 
 
pre {
 
    border: 1pt dashed black;
 
    white-space: pre;
 
    font-size: 8pt;
 
    overflow: auto;
 
    padding: 1em 0;
 
background : white;
 
color : black;
 
}
 
 
table.listing,
 
table.listing td {
 
    border: 1pt solid black;
 
    border-collapse: collapse;
 
}
 
 
a {
 
    color: Black !important;
 
    background: none !important;
 
    padding: 0 !important;
 
}
 
 
a:link, a:visited {
 
    color: #520;
 
    background: transparent;
 
    text-decoration: underline;
 
}
 
 
#content a.external.text:after, #content a.external.autonumber:after {
 
    /* Expand URLs for printing */
 
    content: " (" attr(href) ") ";
 
}
 
 
#globalWrapper {
 
    width: 100% !important;
 
    min-width: 0 !important;
 
}
 
 
#content {
 
background : white;
 
color : black;
 
}
 
 
#column-content {
 
    margin: 0 !important;
 
}
 
 
#column-content #content {
 
    padding: 1em;
 
    margin: 0 !important;
 
}
 
/* MSIE/Win doesn't understand 'inherit' */
 
a, a.external, a.new, a.stub {
 
color: black ! important;
 
text-decoration: none ! important;
 
}
 
 
/* Continue ... */
 
a, a.external, a.new, a.stub {
 
color: inherit ! important;
 
text-decoration: inherit ! important;
 
}
 
 
img { border: none; }
 
img.tex { vertical-align: middle; }
 
span.texhtml { font-family: serif; }
 
 
#siteNotice { display: none; }
 
 
div.gallerybox {
 
border: 1px solid #cccccc;
 
background-color:#f9f9f9;
 
width:  150px;
 
}
 
 
div.gallerytext {
 
overflow: visible;
 
}     
 
 
/*
 
** Diff rendering
 
*/
 
table.diff { background:white; }
 
td.diff-otitle { background:#ffffff; }
 
td.diff-ntitle { background:#ffffff; }
 
td.diff-addedline {
 
    background:#ccffcc;
 
    font-size: smaller;
 
    border: solid 2px black;
 
}
 
td.diff-deletedline {
 
    background:#ffffaa;
 
    font-size: smaller;
 
    border: dotted 2px black;
 
}
 
td.diff-context {
 
    background:#eeeeee;
 
    font-size: smaller;
 
}
 
.diffchange {
 
    color: silver;
 
    font-weight: bold;
 
    text-decoration: underline;
 
}
 
  
  

Revision as of 15:33, 18 August 2014

/* CSS placed here will be applied to all skins */

/* main theme edits here */




body {
	background-color: #83c0f0;
}

div, li {
	font-family: sans-serif;
	font-size: 0.95em;
}

div, input {
	color: #28465c;
}

h1 {
	color: #597e9a;
	background-color: #e9f5ff;
	padding: 0.3em 0.5em 0.3em 0.5em;
	font-size: 1.75em;
	border-bottom: 1px solid #d7e8f7;
	margin: 0;
}

h2 {
	padding-bottom: 0.3em;
	border-bottom: 1px solid #dae8f2;
	font-size: 1.4em;
}

h3 {
	font-size: 1em;
	font-variant: small-caps;
}

h1, h2, h3 {
	color: #597e9a;
}

a {
	text-decoration: none;
	color: #597e9a;
	background: none;
}

/* .toc, #toc { display: none; } */

/*
a:visited {
	color: #5a3696;
}
*/
a:active {
	color: #000;
}
a:hover {
	text-decoration: underline;
}
a.stub {
	color: #772233;
}

/*
a.new:visited, #p-personal a.new:visited {
	color: #a55858;
}
*/

h1 .editsection { font-size: 0.5em; opacity: 0.2; }
h1 .editsection:hover { opacity: 1; }

h2 .editsection { font-size: 0.5em; opacity: 0.2; }
h2 .editsection:hover { opacity: 1; }

h3 .editsection { font-size: 0.5em; opacity: 0.2; font-variant: normal; }
h3 .editsection:hover { opacity: 1; }

.visualClear {
	clear: both;
}

/*
** keep the whitespace in front of the ^=, hides rule from konqueror
** this is css3, the validator doesn't like it when validating as css2
*/
#bodyContent a.external,
#bodyContent a[href ^="gopher://"] {
	background: url(external.png) center right no-repeat;
	padding: 0 13px 0 0;
}
.rtl #bodyContent a.external,
.rtl #bodyContent a[href ^="gopher://"] {
	background-image: url(external-rtl.png);
}
#bodyContent a[href ^="https://"],
.link-https {
	background: url(lock_icon.gif) center right no-repeat;
	padding: 0 16px 0 0;
}
#bodyContent a[href ^="mailto:"],
.link-mailto {
	background: url(mail_icon.gif) center right no-repeat;
	padding: 0 18px 0 0;
}
#bodyContent a[href ^="news://"] {
	background: url(news_icon.png) center right no-repeat;
	padding: 0 18px 0 0;
}
#bodyContent a[href ^="ftp://"],
.link-ftp {
	background: url(file_icon.gif) center right no-repeat;
	padding: 0 18px 0 0;
}
#bodyContent a[href ^="irc://"],
#bodyContent a.extiw[href ^="irc://"],
.link-irc {
	background: url(discussionitem_icon.gif) center right no-repeat;
	padding: 0 18px 0 0;
}
#bodyContent a.external[href $=".ogg"], #bodyContent a.external[href $=".OGG"],
#bodyContent a.external[href $=".mid"], #bodyContent a.external[href $=".MID"],
#bodyContent a.external[href $=".midi"], #bodyContent a.external[href $=".MIDI"],
#bodyContent a.external[href $=".mp3"], #bodyContent a.external[href $=".MP3"],
#bodyContent a.external[href $=".wav"], #bodyContent a.external[href $=".WAV"],
#bodyContent a.external[href $=".wma"], #bodyContent a.external[href $=".WMA"],
.link-audio {
	background: url("audio.png") center right no-repeat;
	padding: 0 13px 0 0;
}
#bodyContent a.external[href $=".ogm"], #bodyContent a.external[href $=".OGM"],
#bodyContent a.external[href $=".avi"], #bodyContent a.external[href $=".AVI"],
#bodyContent a.external[href $=".mpeg"], #bodyContent a.external[href $=".MPEG"],
#bodyContent a.external[href $=".mpg"], #bodyContent a.external[href $=".MPG"],
.link-video {
	background: url("video.png") center right no-repeat;
	padding: 0 13px 0 0;
}
#bodyContent a.external[href $=".pdf"], #bodyContent a.external[href $=".PDF"],
#bodyContent a.external[href *=".pdf#"], #bodyContent a.external[href *=".PDF#"],
#bodyContent a.external[href *=".pdf?"], #bodyContent a.external[href *=".PDF?"],
.link-document {
	background: url("document.png") center right no-repeat;
	padding: 0 12px 0 0;
}


#column-content {
	width: 100%;
	float: right;
	margin: 0 0 .6em -163px;
	padding: 0;
}
#content {
	margin: 0 0.3em 0.3em 163px;
	padding: 0;
	position: relative;
}
#column-one {
	padding-top: 140px;
}

#bodyContent {
	background: #f8fcff;
	padding: 0.3em 1.3em 1.3em 1.3em;
	min-height: 55em;
	border-radius: 0 0 5px 5px;
}

.printfooter {
	display: none;
}


/*
** general portlet styles (elements in the quickbar)
*/
.portlet {
	border: none;
	margin: 0 0 .5em;
	padding: 0;
	float: none;
	width: 155px;
	overflow: hidden;
}
.portlet h4 {
	font-size: 1.25em;
	font-weight: bold;
	white-space: nowrap;
	color: #638cad;
}
.portlet h5 {
	background: transparent;
	display: inline;
	text-transform: capitalize;
	font-weight: normal;
	white-space: nowrap;
	font-size: 1em;
	font-weight: bold;
	color: #638cad;
}
.portlet h6 {
	background: #ffae2e;
	border: 1px solid #2f6fab;
	border-style: solid solid none solid;
	padding: 0 1em 0 1em;
	text-transform: lowercase;
	display: block;
	font-size: 1em;
	height: 1.2em;
	font-weight: normal;
	white-space: nowrap;
}
.pBody {
	font-size: 0.8em;
	background-color: #7ab3de;
	border-radius: 5px;
	padding: 1em;
	margin-top: .25em;
}
.portlet h1,
.portlet h2,
.portlet h3,
.portlet h4 {
	margin: 0;
	padding: 0;
}
.portlet ul {
	list-style-type: none;
	padding: 0px;
	margin: 0px;
}
.portlet li {
	padding: 0;
	margin: 0;
}

.portlet a, .portlet a.new {
	color: #dfedf8;
}

.portlet a:hover {
	color: #fff;
}
/*
#p-personal a.new {
	color: white;
}
*/

/*
** the page-related actions- page/talk, edit etc
*/
#p-cactions {
	white-space: nowrap;
	background-color: #dcefff;
	list-style: none;
	border-radius: 5px 5px 0 0;
	border-bottom: 1px solid #c0def8;
	overflow: visible;
	width: auto;
}
#p-cactions ul {
	list-style: none;
	padding: 0.8em;
	margin: 0px;
}
#p-cactions li {
	display: inline;
	margin: 0 .3em 0 0;
}

#p-cactions li.selected {
}

#p-cactions li a {
	background-color: #597e9a;
	color: #eef7ff;
	text-decoration: none;
	font-size: 10px;
	padding: 0.3em 1em 0.3em 1em;
	border-radius: 3px;
	font-weight: bold;
}
#p-cactions li.selected a {
	background-color: #e658a0;
}
#p-cactions .new a {
	color: #white;
	opacity: 0.7;
}
#p-cactions li a:hover {
	text-decoration: none;
	background-color: #7caf45;
}

#p-cactions h5 {
	display: none;
}

#p-cactions li.istalk {
	margin-right: 0;
}
#p-cactions li.istalk a {
	padding-right: .5em;
}
#p-cactions #ca-addsection a {
	padding-left: .4em;
	padding-right: .4em;
}

/*
** Logo properties
*/

#p-logo {
	top: 0;
	left: 0;
	position: absolute; /*needed to use z-index */
	z-index: 3;
	height: 155px;
	width: 12em;
	overflow: visible;
}
#p-logo h5 {
	display: none;
}
#p-logo a,
#p-logo a:hover {
	display: block;
	height: 155px;
	width: 12.2em;
	background-repeat: no-repeat;
	background-position: 35% 50% !important;
	text-decoration: none;
}


/*
** Search portlet
*/
#p-search {
}

input.searchButton {
	margin-top: 1px;
	font-size: 95%;
}
#searchGoButton {
	padding-left: .5em;
	padding-right: .5em;
	font-weight: bold;
}
#searchInput {
	width: 130px;
	margin: 0 0 3px;
	font-size: 95%;
	border: 1px solid white;
}
#p-search .pBody {
	text-align: left;
}
#p-search #searchform 
{
	margin: 0;
}


#p-search #searchform div div {
	margin-top: .4em;
	font-size: 95%;
}

/*
** footer
*/
#footer {
	background-color: #e5f1fa;
	margin: .6em 0 1em 0;
	/*padding: .4em 0 1.2em 0;*/
	padding: 0.2em;
	text-align: center;
	border-radius: 5px;
	font-size: 0.75em;
}
#footer li {
	display: inline;
	margin: 0 1.3em;
}
#f-poweredbyico, #f-copyrightico {
	margin: 2px 2px
}
#f-poweredbyico {
	float: right;
	height: 1%;
}
#f-copyrightico {
	float: left;
	height: 1%;
}

.catlinks {
	border: 1px solid #aaa;
	background-color: #f9f9f9;
	padding: 5px;
	margin-top: 1em;
	clear: both;
	background-color: #e5f1fa;
	border: 1px solid #d5e3ee;
}

/**
* Source code.
**/

.mw-geshi {
	padding: 3px 7px 3px 7px;
	background-color: #e5f1fa;
	border: 1px solid #d5e3ee;
	border-radius: 3px;
}

/* GESHI */

.lua {
	font-family: monospace;
	list-style-type: decimal;
	list-style-position: outside;
	font-size: 12px;
}
.lua .li1 {
	color: #0d8bca;
	border-left: 1px solid #d1d9fd;
	background: #f1f9fd;
}

.lua .de1 {
	font-family: monospace;
	color: #333;
	margin: 0 0 0 0;
}

.lua .kw1 { 
	color: #0d8bca;
	font-weight: bold;
}

.lua .co1, .lua .coMULTI { 
	color: #888;
	font-weight: normal;
}

.lua .nu0 { 
	color: red;
}

.lua .sy0 { 
	color: #555;
}

.lua .st0 { 
	color: #008000;
}

.lua .br0 { 
	color: #555;
}

#mw-pages { display: none; }

.gamelistitem {
	background-color: #e5f1fa;
	border-bottom: 1px solid #d5e3ee;
	padding: 5px;
	clear: both;
}

.gamelistitem .thumb {
	float: left;
	width: 161px;
	height: 100px;
}

.gamelistitem .thumb p {
	margin: 0 0 0 0 !important;
	color: #e5f1fa;
}

.gamelistitem .data {
	float: left;
	padding: 0;
	margin-left: 7px;
}

.gamelistitem .data {
	float: left;
	padding: 0;
	margin-left: 7px;
}

.gamelistitem .data .name {
	margin-bottom: 5px;
}
.gamelistitem .data .property {}
.gamelistitem .data .property .name {
	margin-right: 7px;
	font-weight: bold;
}
.gamelistitem .data .top {}
.gamelistitem .data .bottom {}

.gamelistitem .data .description {
	margin-top: 5px;
}
.gamelistitem .data {}

.i18n {
	text-align: center;
	margin-bottom: 1em;
	border: 1px solid #D5E3EE;
	background-color: #E5F1FA;
	padding: 3px;
	position: relative;
	border-radius: 3px;
}

.i18n span {
	position: absolute;
	right: 2px;
	bottom: 2px;
}

/* end */




/* let's create the various font styles */


.bold {
font-weight: bold;
}

.italic {
font-style: italic;
}

.underline {
text-decoration: underline;
}

.strike {
text-decoration: line-through;
}

.medium {
font-size: 15px;
}

.large {
font-size: 18px;
}

/* now let's create the colors */

.red {
color: red;
}

.blue {
color: blue;
}

.green {
color: green;
}

.orange {
color: orange;
}

.yellow {
color: yellow;
}

.pink {
color: pink;
}

.grey {
color: grey;
}

.darkgrey {
color: darkgrey;
}

/* misc styles */

.alt-bg {
background: #ebebeb;
width: 100%;
}

.tbl-ds {
background: #f5f5f5;
border: 1px dashed darkgrey;
width: 100%;
}

.tbl-alt {
background: #ebebeb;
/*border: 1px dashed darkgrey;*/
width: 100%;
}

.gruen {
background: #B8FF94;
}

.scriptable {
background: #66FF33;
}