Welcome to the Lylat Wiki, all about the Star Fox series! If you'd like to help out, please take a look at our community portal.

Difference between revisions of "MediaWiki:Common.css"

From Lylat Wiki, your source on Star Fox information. By Fans, for Fans.
Jump to navigationJump to search
no edit summary
 
(41 intermediate revisions by 5 users not shown)
Line 1: Line 1:
@charset "utf-8";
/* CSS Document */
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */


Line 49: Line 46:
border: 2px solid #0000CC;
border: 2px solid #0000CC;
border-right: none;
border-right: none;
background-image: url(http://upload.wikimedia.org/wikipedia/mediawiki/b/b8/PD-banner.png);
background-image: url(//upload.wikimedia.org/wikipedia/mediawiki/b/b8/PD-banner.png);
background-repeat: no-repeat;
background-repeat: no-repeat;
background-position: right top;
background-position: right top;
}
}
.ns-12 #bodyContent {
.ns-12 #bodyContent {
background-image: url(http://upload.wikimedia.org/wikipedia/mediawiki/6/67/PD-icon-faded.png);
background-image: url(//upload.wikimedia.org/wikipedia/mediawiki/6/67/PD-icon-faded.png);
background-repeat: no-repeat;
background-repeat: no-repeat;
background-position: right 5em;
background-position: right 5em;
Line 147: Line 144:
font-style: italic;
font-style: italic;
}
}
/* Bug 1583 Printing of thumbnails */
 
div.tright {
clear: right;
}
/* SideBoxes ([[:de:Wikipedia:TownBox|TB]]) */
div.sideBox {
position: relative;
float: right;
background: white;
margin-left: 1em;
border: 1px solid gray;
padding: 0.3em;
width: 200px;
overflow: hidden;
clear: right;
}
div.sideBox dl {
padding: 0;
margin: 0 0 0.3em 0;
font-size: 96%;
}
div.sideBox dl dt {
background: none;
margin: 0.4em 0 0 0;
}
div.sideBox dl dd {
margin: 0.1em 0 0 1.1em;
background-color: #f3f3f3;
}
/* Major warning - used on the main page template to warn against editing carelessly, but can be used elsewhere as well */
/* Major warning - used on the main page template to warn against editing carelessly, but can be used elsewhere as well */
.majorwarning {
.majorwarning {
Line 186: Line 153:
border: 2px solid red;
border: 2px solid red;
}
}
/******* MAIN PAGE STYLING **********/
 
#p-personal li a {
#mainpage_topbox {
        color:#FFF;
background: #f9f9f9;
padding: 0px;
border: 1px solid #aaaaaa;
margin: 0.2em 10px 10px;
}
.mainpage_boxtitle, .mainpage_hubtitle, #mainpage_pagetitle {
font-size: 105%;
padding: 0.4em;
background-color: #eeeeee;
border-bottom: 1px solid #aaaaaa;
}
.mainpage_boxtitle {
line-height: 120%;
}
#mainpage_pagetitle {
color: #cf7606;
font-size: 200% !important;
}
#mainpage_sitelinks {
padding: 0.2em;
text-align: center;
background-color: white;
}
.mainpage_hubtitle {
text-align: center;
}
.mainpage_boxcontents, .mainpage_boxcontents_small {
background: #ffffff;
padding: 0.2em 0.4em;
}
.mainpage_boxcontents_small {
font-size: 95%;
}
.mainpage_hubbox, #mainpage_newscell, #mainpage_downloadcell {
padding: 0;
border: 1px solid #aaaaaa;
}
.mainpage_hubbox {
margin-bottom: 0;
}
#mainpage_newscell {
margin-bottom: 15px;
margin-top: 0 !important;
}
#mainpage_newscell .mainpage_boxtitle {
background-image: url(http://upload.wikimedia.org/wikipedia/commons/thumb/8/89/Exquisite-khelpcenter.png/20px-Exquisite-khelpcenter.png);
background-repeat: no-repeat;
background-position: 99% 0.3em;
padding-right: 25px;
}
#mainpage_downloadcell {
width: 17em;
margin-bottom: 5px;
}
#mainpage_downloadcell .mainpage_boxtitle {
background-image: url(http://upload.wikimedia.org/wikipedia/commons/thumb/5/5d/Crystal_Clear_action_build.png/18px-Crystal_Clear_action_build.png);
background-repeat: no-repeat;
background-position: 96% 0.33em;
padding-right: 25px;
}
/* The words 'MediaWiki.org' in the title.*/
#mainpage_mwtitle {
color: #005288;
}
}
/********* Extension Infobox Styling ***********/
/********* Extension Infobox Styling ***********/
   
   
Line 304: Line 209:
background-color: #009900;
background-color: #009900;
}
}
/**** prettify [[Extension Matrix]] ****/
 
.xm-table {
border: 1px solid #666666;
background-color: white;
}
.xm-table td, .xm-table th {
vertical-align: top;
text-align: left;
border: none;
background-color: #EEEEEE;
}
.xm-table th {
font-weight: bold;
}
.xm-name {
font-weight: bold;
}
.xm-status-unknown {
color: #888888;
}
.xm-status-experimental {
color: red;
}
.xm-status-beta {
color: blue;
}
.xm-status-stable {
color: green;
}
.xm-type-unknown {
color: #888888;
}
.xm-name, .xm-status, .xm-type, .xm-version, .xm-updated {
white-space: nowrap;
}
.xm-updated {
font-size: 80%;
}
.xm-alert {
background-color: yellow;
}
td.xm-blank {
background-color: inherit;
}
td.xm-updated {
background-color: inherit;
}
td.xm-description {
background-color: inherit;
font-style: italic;
}
th.xm-blank, th.xm-updated, th.xm-description {
background-color: inherit;
padding-bottom: 0.6ex;
border-bottom: 1px solid #666666;
}
th.xm-description {
font-style: italic;
}
/** GENERAL PURPOSE PRETTY TABLES */
/** GENERAL PURPOSE PRETTY TABLES */
table.datatable {
table.datatable {
Line 423: Line 269:
color: #36b;
color: #36b;
}
}
.portlet h3 {
color: #FFFFFF;
}
/* prevent ugly horizontal page expansion */
/* prevent ugly horizontal page expansion */
pre {
pre {
Line 466: Line 317:
border: 1px solid #CC0000;
border: 1px solid #CC0000;
background-color: #CC6666;
background-color: #CC6666;
}
/* Language template */
.LanguageLinks {
margin-top: 0.5em;
}
.LanguageLinks table {
clear: both;
border: 1px solid #aaaaaa;
border-collapse: collapse;
padding: 0.2em;
margin: 0;
font-size: 85%;
margin: 0 1px;
}
.LanguageLinks span {
white-space: nowrap;
}
}
/* Page headings used throughout the wiki (though not very much at the time of writing...) */  
/* Page headings used throughout the wiki (though not very much at the time of writing...) */  
Line 512: Line 346:
}
}


/* from [[User:Splarka/Help:Linked images]] */
.imagelink_wikilogo a {
width: 135px;
height: 135px;
display: block;
text-decoration: none;
background-image: url("http://upload.wikimedia.org/wikipedia/mediawiki/b/bc/Wiki.png")
}
/* wikitable/prettytable class for skinning normal tables */
/* wikitable/prettytable class for skinning normal tables */
table.ggs_table, table.overall_table, table.group_table, table.project_table, table.user_table, table.main_table {
table.ggs_table, table.overall_table, table.group_table, table.project_table, table.user_table, table.main_table {
Line 900: Line 725:
}
}
.color5 a:visited {
.color5 a:visited {
color: #ffd100;
color: #000000;
}
}
.color5 a.new:visited {
.color5 a.new:visited {
Line 1,264: Line 1,089:
/* Colored usernames for administators and bureaucrats on Special:RecentChanges
/* Colored usernames for administators and bureaucrats on Special:RecentChanges


Blue Ninjakoopa */
2Tie */ table.diff a[title="User:2Tie"], ul#pagehistory li a[title="User:2Tie"], ul.special li a[title="User:2Tie"], /*
table.diff a[title="User:Blue Ninjakoopa"], ul#pagehistory li a[title="User:Blue Ninjakoopa"], ul.special li a[title="User:Blue Ninjakoopa"], /*
 
Alex95 */ table.diff a[title="User:Alex95"], ul#pagehistory li a[title="User:Alex95"], ul.special li a[title="User:Alex95"], /*
 
Archaic */ table.diff a[title="User:Archaic"], ul#pagehistory li a[title="User:Archaic"], ul.special li a[title="User:Archaic"], /*


Cipriano 119 */ table.diff a[title="User:Cipriano 119"], ul#pagehistory li a[title="User:Cipriano 119"], ul.special li a[title="User:Cipriano 119"], /*
GuyPerfect */ table.diff a[title="User:GuyPerfect"], ul#pagehistory li a[title="User:GuyPerfect"], ul.special li a[title="User:GuyPerfect"], /*


Hope(N Forever) */ table.diff a[title="User:Hope(N Forever)"], ul#pagehistory li a[title="User:Hope(N Forever)"], ul.special li a[title="User:Hope(N Forever)"], /*
Hope(N Forever) */ table.diff a[title="User:Hope(N Forever)"], ul#pagehistory li a[title="User:Hope(N Forever)"], ul.special li a[title="User:Hope(N Forever)"], /*


Neo */ table.diff a[title="User:Neo"], ul#pagehistory li a[title="User:Neo"], ul.special li a[title="Neo"], /*
Justin */ table.diff a[title="User:Justin"], ul#pagehistory li a[title="User:Justin"], ul.special li a[title="User:Justin"], /*


RAP */ table.diff a[title="User:RAP"], ul#pagehistory li a[title="User:RAP"], ul.special li a[title="User:RAP"], /*
Tacopill */ table.diff a[title="User:Tacopill"], ul#pagehistory li a[title="User:Tacopill"], ul.special li a[title="User:Tacopill"], /*


Tacopill */ table.diff a[title="User:Tacopill"], ul#pagehistory li a[title="User:Tacopill"], ul.special li a[title="User:Tacopill"], /*
ToastUltimatum */ table.diff a[title="User:ToastUltimatum"], ul#pagehistory li a[title="User:ToastUltimatum"], ul.special li a[title="User:ToastUltimatum"] {
color: #bf3f9f;
}
 
table.infobox {
padding:0;
width:350px;
float: right;
        margin: 0 0 1em 1.15em;
}
 
ul.gallery {
float: center;
}
 
.center {
        text-align: center;
}
 
img {
        image-rendering: optimizeSpeed;
        image-rendering: -moz-crisp-edges;
        image-rendering: -o-crisp-edges;
        image-rendering: -webkit-optimize-contrast;
        image-rendering: optimize-contrast;
        image-rendering: crisp-edges;
        image-rendering: pixelated;
        -ms-interpolation-mode: nearest-neighbor;
}
 
/* wikitable for lylat wiki */
table.wikitable {background:#fff;margin:1em 0;border:1pt solid #DF2500;border-collapse:collapse;color:black}
table.wikitable > * > tr > td, table.wikitable > * > tr > th, table.wikitable > * > tr > td, table.wikitable > * > tr > th {border:1pt solid #DF2500;padding:0.2em 0.4em}
table.wikitable > * > tr > th {background: #FFD67D;}
 
/* Button; copied from https://www.w3schools.com/css/css3_buttons.asp */
.button
{
  background-color: #32CD32; /* Green */
  border: solid 1.5px white;
  border-radius: 0.2em;
  color: white;
  padding: 5px 8px;
  text-align: center;
  display: inline-block;
  font-size: 16px;
}


ToastUltimatum */ table.diff a[title="User:ToastUltimatum"], ul#pagehistory li a[title="User:ToastUltimatum"], ul.special li a[title="User:ToastUltimatum"], /*
/* Turn button link text white */
.button a:link {
  color: white;
}


TW */ table.diff a[title="User:TW"], ul#pagehistory li a[title="User:TW"], ul.special li a[title="User:TW"], /*
.button a:visited {
  color: white;
}


Wolf O'Donnell */ table.diff a[title="User:Wolf O'Donnell"], ul#pagehistory li a[title="User:Wolf O'Donnell"], ul.special li a[title="User:Wolf O'Donnell"] {
/* Turn wikitable header link text white */
color: #bf3f9f;
.wikitable th a:link {
  color: white;
}
}
body {
 
background: url(http://starfoxwiki.info/w/skins/common/images/Starfield.png);
.wikitable th a:visited {
color: white;
}
}

Navigation menu