Welcome to Assassin's Creed Wiki! Log in and join the community.
MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
imported>Kirkburn Adding from http://www.wikia.com/wiki/Help:Dynamic_navigation |
imported>Richard1990 No edit summary |
||
| 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. *****/ | ||
/* | |||
/* Hide title and tagline on Main Page */ | |||
body.page-Assassin's_Creed_Wiki h1.firstHeading, body.page-Assassin's_Creed_Wiki #siteSub { | |||
display:none; | |||
} | |||
/* Mark redirects in Special:Allpages and Special:Watchlist */ | /* Mark redirects in Special:Allpages and Special:Watchlist */ | ||
.allpagesredirect { font-style: italic; } | .allpagesredirect a { | ||
.watchlistredir { font-style: italic; } | color:#888; | ||
font-style:italic; | |||
} | |||
.watchlistredir a { | |||
color:#888; | |||
font-style:italic; | |||
} | |||
/* Forum formatting (by -Algorithm & -Splaka) */ | |||
.forumheader { | |||
background-color:#F9F9F9; | |||
border:1px solid #AAA; | |||
margin-top:1em; | |||
padding:12px; | |||
} | |||
.forumlist td.forum_edited a { | |||
color:#000; | |||
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; | |||
} | |||
/* Infobox template style */ | /* Infobox template style */ | ||
.infobox { | .infobox { | ||
border:1px solid #AAA; | |||
background-color:#F9F9F9; | |||
color:black; | |||
margin:0.5em 0 0.5em 1em; | |||
padding:0.2em; | |||
float:right; | |||
clear:right; | |||
} | } | ||
.infobox td, | .infobox td, | ||
.infobox th { | .infobox th { | ||
vertical-align:top; | |||
} | } | ||
.infobox caption { | .infobox caption { | ||
font-size:larger; | |||
margin-left:inherit; | |||
} | } | ||
.infobox.bordered { | .infobox.bordered { | ||
border-collapse:collapse; | |||
} | } | ||
.infobox.bordered td, | .infobox.bordered td, | ||
.infobox.bordered th { | .infobox.bordered th { | ||
border:1px solid #AAA; | |||
} | } | ||
.infobox.bordered .borderless td, | .infobox.bordered .borderless td, | ||
.infobox.bordered .borderless th { | .infobox.bordered .borderless th { | ||
border:0; | |||
} | } | ||
.infobox.bordered .mergedtoprow td, | |||
.infobox.bordered .mergedtoprow th { | |||
. | border:0; | ||
border-top:1px solid #AAA; | |||
border-right:1px solid #AAA; | |||
} | } | ||
. | .infobox.bordered .mergedrow td, | ||
.infobox.bordered .mergedrow th { | |||
border:0; | |||
border-right:1px solid #AAA; | |||
} | } | ||
. | |||
/* Wikitable class for skinning normal tables */ | |||
table.wikitable { | |||
margin:1em 1em 1em 0; | |||
background:#F9F9F9; | |||
border:1px #AAA solid; | |||
border-collapse:collapse; | |||
} | } | ||
. | table.wikitable th, table.wikitable td { | ||
border:1px #AAA solid; | |||
padding:0.2em; | |||
} | } | ||
. | table.wikitable th { | ||
background:#F2F2F2; | |||
text-align:center; | |||
} | } | ||
. | table.wikitable caption, { | ||
margin-left:inherit; | |||
margin-right:inherit; | |||
font-weight:bold; | |||
} | } | ||
/* | /* default skin for navigation boxes */ | ||
. | table.navbox { | ||
background-color:#F9F9F9; | |||
border:1px solid #AAA; | |||
clear:both; | |||
font-size:90%; | |||
margin:1em 0em 0em; | |||
padding:2px; | |||
text-align:center; | |||
width:100%; | |||
} | |||
table.navbox th { | |||
background-color:#CCF; | |||
font-size:120%; | |||
padding-left:1em; | |||
padding-right:1em; | |||
} | } | ||
@media print { | @media print { | ||
.navbox { | .navbox { | ||
display: none; | display:none; | ||
} | } | ||
} | } | ||
/* Standard Navigationsleisten, aka box hiding thingy from . | /* Standard Navigationsleisten, aka "box hiding thingy" from the German Wikipedia. Documentation at Wikipedia:NavFrame on Wikipedia. */ | ||
div.Boxmerge, | div.Boxmerge, | ||
div.NavFrame { | div.NavFrame { | ||
margin:0px; | |||
padding:4px; | |||
border:1px solid #AAA; | |||
text-align:center; | |||
border-collapse:collapse; | |||
font-size:95%; | |||
} | } | ||
div.Boxmerge div.NavFrame { | div.Boxmerge div.NavFrame { | ||
border-style:none; | |||
border-style:hidden; | |||
} | } | ||
div.NavFrame + div.NavFrame { | div.NavFrame + div.NavFrame { | ||
border-top-style:none; | |||
border-top-style:hidden; | |||
} | } | ||
div.NavPic { | div.NavPic { | ||
background-color:#FFF; | |||
margin:0px; | |||
padding:2px; | |||
float:left; | |||
} | } | ||
div.NavFrame div.NavHead { | div.NavFrame div.NavHead { | ||
height:1.6em; | |||
font-weight:bold; | |||
background-color:#CCF; | |||
position:relative; | |||
} | } | ||
div.NavFrame p { | div.NavFrame p { | ||
font-size:100%; | |||
} | } | ||
div.NavFrame div.NavContent { | div.NavFrame div.NavContent { | ||
font-size:100%; | |||
} | } | ||
div.NavFrame div.NavContent p { | div.NavFrame div.NavContent p { | ||
font-size:100%; | |||
} | } | ||
div.NavEnd { | div.NavEnd { | ||
margin:0px; | |||
padding:0px; | |||
line-height:1px; | |||
clear:both; | |||
} | } | ||
a.NavToggle { | a.NavToggle { | ||
position:absolute; | |||
top:0px; | |||
right:3px; | |||
font-weight:normal; | |||
font-size:smaller; | |||
} | |||
/* Small reference list for Template:Reflist */ | |||
ol.references { | |||
font-size: 100%; | |||
} | |||
.references-small { | |||
font-size:90%; | |||
} | |||
.references-2column { | |||
font-size:90%; | |||
-moz-column-count:2; | |||
column-count:2; | |||
} | |||
.same-bg { | |||
background:none | |||
} | |||
/* Highlight clicked reference in blue to help navigation */ | |||
ol.references > li:target, sup.reference:target, span.citation:target, cite:target { | |||
background-color: #DEF; | |||
} | |||
/* Display text below main article header, located at MediaWiki:Tagline */ | |||
#siteSub { | |||
display:inline; | |||
font-size:92%; | |||
font-weight:normal; | |||
} | |||
/* Colour the number of characters added/removed in the recent changes */ | |||
.mw-plusminus-pos { | |||
color: #006500; | |||
} | |||
.mw-plusminus-neg { | |||
color: #8B0000; | |||
} | |||
/* remove talk link from forum namespace (monobooks/newskins/quartzskins/monaco) -Splarka */ | |||
body.ns-110 #ca-talk, body.ns-110 #this_talk, body.ns-110 #page_tabs li+li { | |||
display:none; | |||
} | |||
/* Put a checker background at the image description page only visible if the image has transparent background */ | |||
#file img { | |||
background: url("http://images.wikia.com/central/images/5/5d/Checker-16x16.png") repeat; | |||
} | } | ||
Revision as of 21:38, 24 November 2009
/***** CSS placed here will be applied to all skins on the entire site. *****/
/* Hide title and tagline on Main Page */
body.page-Assassin's_Creed_Wiki h1.firstHeading, body.page-Assassin's_Creed_Wiki #siteSub {
display:none;
}
/* Mark redirects in Special:Allpages and Special:Watchlist */
.allpagesredirect a {
color:#888;
font-style:italic;
}
.watchlistredir a {
color:#888;
font-style:italic;
}
/* Forum formatting (by -Algorithm & -Splaka) */
.forumheader {
background-color:#F9F9F9;
border:1px solid #AAA;
margin-top:1em;
padding:12px;
}
.forumlist td.forum_edited a {
color:#000;
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;
}
/* Infobox template style */
.infobox {
border:1px solid #AAA;
background-color:#F9F9F9;
color:black;
margin:0.5em 0 0.5em 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 #AAA;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
border:0;
}
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
border:0;
border-top:1px solid #AAA;
border-right:1px solid #AAA;
}
.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
border:0;
border-right:1px solid #AAA;
}
/* Wikitable class for skinning normal tables */
table.wikitable {
margin:1em 1em 1em 0;
background:#F9F9F9;
border:1px #AAA solid;
border-collapse:collapse;
}
table.wikitable th, table.wikitable td {
border:1px #AAA solid;
padding:0.2em;
}
table.wikitable th {
background:#F2F2F2;
text-align:center;
}
table.wikitable caption, {
margin-left:inherit;
margin-right:inherit;
font-weight:bold;
}
/* default skin for navigation boxes */
table.navbox {
background-color:#F9F9F9;
border:1px solid #AAA;
clear:both;
font-size:90%;
margin:1em 0em 0em;
padding:2px;
text-align:center;
width:100%;
}
table.navbox th {
background-color:#CCF;
font-size:120%;
padding-left:1em;
padding-right:1em;
}
@media print {
.navbox {
display:none;
}
}
/* Standard Navigationsleisten, aka "box hiding thingy" from the German Wikipedia. Documentation at Wikipedia:NavFrame on Wikipedia. */
div.Boxmerge,
div.NavFrame {
margin:0px;
padding:4px;
border:1px solid #AAA;
text-align:center;
border-collapse:collapse;
font-size:95%;
}
div.Boxmerge div.NavFrame {
border-style:none;
border-style:hidden;
}
div.NavFrame + div.NavFrame {
border-top-style:none;
border-top-style:hidden;
}
div.NavPic {
background-color:#FFF;
margin:0px;
padding:2px;
float:left;
}
div.NavFrame div.NavHead {
height:1.6em;
font-weight:bold;
background-color:#CCF;
position:relative;
}
div.NavFrame p {
font-size:100%;
}
div.NavFrame div.NavContent {
font-size:100%;
}
div.NavFrame div.NavContent p {
font-size:100%;
}
div.NavEnd {
margin:0px;
padding:0px;
line-height:1px;
clear:both;
}
a.NavToggle {
position:absolute;
top:0px;
right:3px;
font-weight:normal;
font-size:smaller;
}
/* Small reference list for Template:Reflist */
ol.references {
font-size: 100%;
}
.references-small {
font-size:90%;
}
.references-2column {
font-size:90%;
-moz-column-count:2;
column-count:2;
}
.same-bg {
background:none
}
/* Highlight clicked reference in blue to help navigation */
ol.references > li:target, sup.reference:target, span.citation:target, cite:target {
background-color: #DEF;
}
/* Display text below main article header, located at MediaWiki:Tagline */
#siteSub {
display:inline;
font-size:92%;
font-weight:normal;
}
/* Colour the number of characters added/removed in the recent changes */
.mw-plusminus-pos {
color: #006500;
}
.mw-plusminus-neg {
color: #8B0000;
}
/* remove talk link from forum namespace (monobooks/newskins/quartzskins/monaco) -Splarka */
body.ns-110 #ca-talk, body.ns-110 #this_talk, body.ns-110 #page_tabs li+li {
display:none;
}
/* Put a checker background at the image description page only visible if the image has transparent background */
#file img {
background: url("http://images.wikia.com/central/images/5/5d/Checker-16x16.png") repeat;
}