Järjestelmäviesti:Monobook.css

Greedopedia, Tähtien sota -huumoriwiki, jossa on yli 582 967 853 artikkelia
Siirry navigaatioonSiirry hakuun

Huomautus: Selaimen välimuisti pitää tyhjentää asetusten tallentamisen jälkeen, jotta muutokset tulisivat voimaan.

  • Firefox ja Safari: Napsauta Shift-näppäin pohjassa Päivitä, tai paina Ctrl-F5 tai Ctrl-R (⌘-R Macilla)
  • Google Chrome: Paina Ctrl-Shift-R (⌘-Shift-R Macilla)
  • Internet Explorer: Napsauta Ctrl-näppäin pohjassa Päivitä tai paina Ctrl-F5
  • Opera: Valikko → Asetukset (Opera → Asetukset Macilla) ja sitten Tietosuoja ja turvallisuus → Tyhjennä selaustiedot → Välimuistissa olevat kuvat ja tiedostot.
/* Tämä sivu sisältää Monobook-ulkoasua muuttavia tyylejä. */
/* <pre><nowiki> */

/**
 * DarthBook versio 0.3.4
 * Lainattu Darthipediasta, perustuen Memory Alphan versioon Monobookista
 *
 * Tekijät:
 * Cid Highwind (Memory Alphan versio)
 * Jack Phoenix <jack@countervandalism.net>
 * Pinky
 * Supergeeky1
 *
 * Yleisiä vinkkejä muokkaamiseen:
 ** Varmista, että muutoksesi ovat edes jonkin tason [http://jigsaw.w3.org/css-validator/ kelvollista] CSS:ää...
 ** Käytä tabulaattori-näppäintä sisentämiseen, ei välilyöntejä! Jos käytät välilyöntejä, Jack puree sinua
 ** Jos epäröit, konsultoi Jack Phoenixia ensin ja vasta sen jälkeen tee (tai älä tee) muokkauksesi.
 *
 * --Jack Phoenix, 24. heinäkuuta 2009 / 26. toukokuuta 2010
 */

@media screen, projection {

div#content {
	padding: 0 1em 1.5em 1em;
	background: #2E2E33;
	color: #FFF;
	border: 1px solid #AAA;
	line-height: 1.5em;
	position: relative;
	z-index: 2;
}

body {
	background: #2E2E33 url("http://images.shoutwiki.com/fi.darth/2/26/Background.png") 0 0 repeat-x;
	color: #FFFFFF;
}

div#globalWrapper {
	background: none;
}

/* general styles */

table, table.wikitable {
	background: #2E2E33;
	color: #FFF;
}
/* Links */
a {
	color: #66BBFF;
}
/* Visited (=clicked) links */
a:visited {
	color: #4070D0;
}

a.stub {
	color: #66FFCC;
}

a.new, #p-personal a.new {
	color: #DD5010 !important;
}

a.new:visited, #p-personal a.new:visited {
	color: #DD5010 !important;
}

h1, h2, h3, h4, h5, h6 {
	color: #FFD942;
}


fieldset {
	border: 1px solid #AAAAAA;
}

legend {
	background: #2E2E33;
}


abbr, acronym, .explain {
	color: #FFFFFF;
}

code {
	background-color: #222222;
	color: #FFFFFF;
}

pre {
	border: 1px dashed #AAAAAA;
	color: #FFFFFF;
	background-color: #222222;
}

#contentSub, #contentSub2 {
	color: #888888;
}

.firstHeading {
	margin-bottom: .1em;
}

/* user notification thing */
.usermessage {
	background-color: #394A5C;
	border: 1px solid #66BBFF;
	color: #FFFFFF;
	text-align: center;
}

.error {
	color: #FF0000;
}

.errorbox {
	border-color: #660000;
	background-color: #401F22;
	color: #FF0000;
}
.successbox {
	border-color: #66BBFF;
	background-color: #394A5C;
}

/* Category portlet at the bottom of every page that has categories */
#catlinks {
	background-color: #222222;
	background-image: url(http://images.shoutwiki.com/fi.darth/a/a8/DarthDarthBinksCategory.png);
	background-repeat: no-repeat;
	background-position: center right;
	padding-right: 50px;
}

/*
** content styles
*/

#toc,
.toc,
.mw-warning {
	background-color: #222222;
}

#toc #toctitle,
.toc #toctitle,
#toc .toctitle,
.toc .toctitle {
	background-color: transparent;
}

#toc ul ul,
.toc ul ul {
	margin: 0 0 0 1em;
}

div.toc ul li:hover {
	list-style-image: none !important;
}

#toc .toctoggle,
.toc .toctoggle {
	font-size: 100%;
}

/* Additional TOC formatting */
li.toclevel-1 {
	border-top: 1px solid #555555;
}

.toc a,
#toc a {
	text-decoration: none;
}

/* thumbnails */
/* see ADDITIONS for "table div.thumb" */
div.thumb {
	border-color: #2E2E33;
}
div.thumb div {
	border: 1px solid #AAAAAA;
	padding: 3px !important;
	background-color: #222222;
	font-size: 94%;
	text-align: center;
	overflow: hidden;
}
div.thumb div a img {
	border: none;
}
div.thumb div div.thumbcaption {
	border: none;
	text-align: left;
	line-height: 1.4em;
	padding: .3em 0 .1em 0;
	color: #ffffff;
}

div.tright {
	margin-left: 0.75em;
	margin-right: 0em;
}
div.tleft {
	float: left;
	margin-right: .5em;
	border-width: .5em 1.4em .8em 0;
	margin-left: 0em;
	margin-right: 0.75em;
}

div.thumb div.magnify {
	border: 0;
}

/* Page history styling */
#pagehistory span.user {
	margin-left: 1.4em;
	margin-right: .4em;
}

#pagehistory li {
	border: 1px solid #2E2E33;
}

#pagehistory li.selected {
	background-color: #222222;
	color: white;
}

/*
** Diff rendering
*/
table.diff, td.diff-otitle, td.diff-ntitle {
	background-color: #2E2E33;
}
td.diff-addedline {
	background: #000033;
}
td.diff-deletedline {
	background: #330000;
}
td.diff-context {
	background: #2E2E33;
}
span.diffchange {
	color: #FFD942;
	font-weight: bold;
	text-decoration: underline;
}

/* disable interwiki styling */
#bodyContent a.extiw,
#bodyContent a.extiw:active {
	color: #66BBFF;
}
#bodyContent a.external {
	color: #66BBFF;
}

/*
** general portlet styles (elements in the quickbar)
*/
.portlet h6 {
	border: 1px solid #AAAAAA;
}

.pBody {
	background-color: #2E2E33;
	color: #FFFFFF;
	border: 1px solid #AAAAAA;
}

/*
** the navigation portlet
*/
#p-navigation {
	position: relative;
	z-index: 3;
}

#p-navigation .pBody {
	padding-right: 0;
}

#p-navigation a {
	display: block;
}

#p-navigation li.active a, #p-navigation li.active a:hover {
	text-decoration: none;
	display: inline;
	font-weight: bold;
}

/* this is the ul contained in the portlet */
#p-personal ul {
	color: #AAAAAA;
	text-transform: lowercase;
}
#p-personal li {
	color: #AAAAAA;
}
#p-personal li.active {
	font-weight: bold;
}
#p-personal li a {
	color: #66BBFF;
}

/* the icon in front of the user name, single quotes
in bg url to hide it from iemac */
li#pt-userpage,
li#pt-anonuserpage,
li#pt-login {
	background: url(http://images.shoutwiki.com/fi.darth/5/54/User-icon.png) top left no-repeat;
}

/*
** the page-related actions- page/talk, edit etc
*/
#p-cactions li {
	border-color: #AAAAAA;
	background: #2E2E33;
}

#p-cactions li.selected {
	border-color: #AAAAAA;
	font-weight: normal;
}
#p-cactions li a {
	background-color: #222222;
	color: #FFFFFF;
	text-transform: lowercase;
}
#p-cactions li.selected a {
	background-color: #2E2E33;
	color: #FFD942;
	border-color: #AAAAAA;
}
#p-cactions .new a {
	color: #DD5010 !important;
}
#p-cactions li a:hover {
	background-color: #2E2E33;
}

/*
** footer
*/
#footer {
	border-top: 1px solid #AAA;
	border-bottom: 1px solid #AAA;
	background: #2E2E33 url(http://images.shoutwiki.com/fi.darth/4/4a/FooterBG.jpg) repeat-x;
}

/* hide from incapable browsers */
head:first-child+body #footer li {
	white-space: normal; /* was: nowrap */
}

/* js pref toc */
#preftoc li {
	background-color: #f0f0f0;
	color: #000;
	border: 1px solid #2E2E33;
}
#preftoc li.selected {
	background-color: #222222;
	border: 1px solid #AAAAAA;
}

#preferences {
	border: none;
	padding: 0;
	margin: 0;
	background-color: #2E2E33;
}

#preferences legend {
	color: #FFD942;
}

#preferences .oo-ui-labelElement-label {
	color: inherit;
}

.prefsection table, .prefsection legend {
	background-color: #222;
}

div.prefsectiontip {
	font-size: 95%;
	margin-top: 0;
	background-color: #394A5C;
	border: 1px solid #66BBFF;
	padding: .2em .7em;
	clear: both;
}

/* Login form (Special:UserLogin) */
div#userloginForm form,
div#userlogin form#userlogin2 {
	background-color: #222;
}

div#userloginForm table,
div#userlogin form#userlogin2 table {
	background-color: #222;
}

div#userloginForm h2,
div#userlogin form#userlogin2 h2 {
	padding-top: 0;
}

div#userlogin .captcha {
	width: 400px;
	background-color: #2E2E33;
}

#login-emailforlost {
	font-size: 85%;
	line-height: 1.2;
	padding-top: 2em;
}

.not-patrolled {
	background-color: #330000;
}

span.unpatrolled {
	color: #FFF;
}

span.searchmatch {
	color: red;
}

span.newpageletter {
	font-weight: bold;
	color: #FFF;
	background-color: yellow;
}
span.minoreditletter {
	color: #FFF;
	background-color: #c5ffe6;
}

/* Galleries */
table.gallery {
	border: 1px solid #AAA;
	margin: 2px auto 2px auto;
	background-color: #222;
}

table.gallery tr {
	background-color: #222;
}

table.gallery td {
	background-color: #222;
	border: none;
	margin: 2px;
}

div.gallerybox {
	width: 150px;
	border: none;
	background-color: inherit;
}

div.gallerybox div.thumb {
	border: 1px solid #AAA;
}

div.gallerytext {
	font-size: smaller;
	text-align: center;
	background-color: inherit;
	border: none;
}

.editExternally {
	background-color: #2E2E33;
}

/* Classes for EXIF data display */
table.mw_metadata th {
	background-color: #222;
}

table.mw_metadata td {
	background-color: transparent;
}

/* filetoc */
ul#filetoc {
	background-color: #222;
}

#editform .editOptions {
	background-color: transparent;
	color: #fff;
}

/* AllMessages table */
#allmessagestable th {
	background-color: #222;
}

#allmessagestable tr.orig {
	background-color: #2E2E33;
}

#allmessagestable tr.new {
	background-color: #401F22;
}

#allmessagestable tr.def {
	background-color: #394A5C;
}

/* noarticletext */
div.noarticletext {
	border: none;
	background: #2E2E33;
	color: #FFF;
}

div#searchTargetContainer {
	background: #2E2E33;
}

/***********************************************************
Additional formatting
***********************************************************/

/* Misc. */
#siteSub {
	display: block !important;
	margin-top: -5px;
	font-size: smaller;
	color: #FFFFFF;
	font-style: italic;
}

/* HACK:Prevent #siteSub from showing up in ns:102 (see Common.css)--CID, 2006-09-10
**      Prevent #ca-talk from showing up in ns:100 (see Common.css)--CID, 2006-09-12
*/
.ns-102 * #siteSub,
.ns-100 * li#ca-talk {
	display: none !important;
}

div.fullImageLink {
	text-align: center;
}
div.fullMedia {
	text-align: center;
	border: 1px solid #AAAAAA;
	background-color: #222222;
	padding: 5px;
	font-size: smaller;
	margin: 0.5em 0;
}

#bodyContent div.noicon a {
	background: none;
	padding: 0;
}

/* Tables generally have #222 as bg color */
table div.thumb {
	border-color: #222;
}

/* Make "credits" line in div#footer wrap like it should */
li #credits {
	white-space: normal !important;
}

/* editcount table */
#editcount table {
	background-color: transparent !important;
}

/* Overriding some search formatting */
.searchfragment {
	color: #FFF;
}

/***********************************************************
** This is for the forum-function (in Ten Forward)
** Florian 2006-04-14
** imported from MA/de by Kobi 2006-05-13
*/

.forum_title a.forum_new {
	font-weight: bold;
	/*background: url("/en/images/c/cc/Ma_forum_new.gif") center left no-repeat;*/
	padding-left: 20px;
}

.forum_title a.forum_new:visited {
	font-weight: normal;
	background: none;
	padding-left: 20px;
}

.forumheader {
	background-color: #800000; 
	color: #BBBBBB;
}

} /* closes @media screen, projection at the very start of this page */


/***********************************************************
** FIX: Fixing [[Special:Imagelist]] table colors
** -- Cid, 2007-03-28
*/
.TablePager, .TablePager td, .TablePager th { 
	border-color: #AAA;
}
.TablePager th { background-color: #2E2E33; }
.TablePager td { background-color: transparent; } /* Jack */
.TablePager tr:hover td { background-color: transparent; } /* Jack */

.imagelist .TablePager_col_links { background-color: #2E2E33; }
.imagelist th.TablePager_sort { background-color: #2E2E33; }

/* changing the colors of various classes to better fit the skin */
.toccolours {
	background-color: #777;
}

.portlet h5 {
	background-color: #600;
	border: 1px solid #600;
}
ul {
	list-style-image: url("http://images.shoutwiki.com/fi.darth/c/ca/Bullet1.png");
}
ul li:hover { 
	list-style-image: url("http://images.shoutwiki.com/fi.darth/d/d5/Bullet2.png");
}

.portlet ul {
	list-style-image: url("http://images.shoutwiki.com/fi.darth/c/ca/Bullet1.png");
}
.portlet ul li:hover { 
	list-style-image: url("http://images.shoutwiki.com/fi.darth/d/d5/Bullet2.png");
}

/* Standard style for switchbox stuff */
#p-search select,
#p-search input[type="text"] {
	width: 10.9em;
	margin: 0;
	font-size: 95%;
}
#p-search select {
	width: 11.2em;
}

#p-search input[type="submit"] {
	margin-top: 1px;
	font-size: 95%;
	padding-left: .5em;
	padding-right: .5em;
	font-weight: bold;
}
#p-search input[type="submit"] + input[type="submit"] {
	font-weight: normal;
}

/*** Bold 'edit this page' link to encourage newcomers ***/
#ca-edit a {
	font-weight: bold !important; 
}

/* rounded corners */
.pBody {
	border-top-right-radius: 0.5em;
	border-bottom-right-radius: 0.5em;
	-moz-border-radius-topright: 0.5em;
	-moz-border-radius-bottomright: 0.5em;
	padding: 0.1em 0.1em;
}

#p-cactions ul li, #p-cactions ul li a {
	border-top-right-radius: 0.5em;
	border-top-left-radius: 0.5em;
	-moz-border-radius-topright: 0.5em;
	-moz-border-radius-topleft: 0.5em;
}

#content, .toc {
	border-top-left-radius: 0.5em;
	border-top-right-radius: 0.5em;
	border-bottom-left-radius: 0.5em;
	border-bottom-right-radius: 0.5em;
	-moz-border-radius-topleft: 0.5em;
	-moz-border-radius-topright: 0.5em;
	-moz-border-radius-bottomleft: 0.5em;
	-moz-border-radius-bottomright: 0.5em;
}

div.gallerybox div.thumb:hover, div.gallerybox div.thumb div:hover {
	background-color: #2E2E33;
}

/* Fixes for Special:Interwiki */
body.page-Toiminnot_Interwiki table.mw-interwikitable.body td.mw-interwikitable-local-yes {
	background: #006400;
}
 
body.page-Toiminnot_Interwiki code {
	background-color: #F9F9F9;
}

/* Wikitable background fix to make the text readable */
.wikitable, .wikitable thm, .mw-datatable td {
	background-color: transparent !important;
}

/* ShoutWikin uutislaatikko (NewsBox) */
#p-ShoutWikin_viestit h5 {
	text-transform: none;
}

/* Make diffs readable / Tee eroavaisuussivuista luettavia */
td.diff-context {
	color: #FFF;
}
td.diff-addedline .diffchange, td.diff-deletedline .diffchange {
	background-color: transparent !important;
}

/* Tuoreiden muutosten infolaatikon teksti näkyviin */
.mw-changeslist-legend {
	background-color: #2E2E33 !important;
}

/* Taulukon otsikot näkyviin */
.filehistory th, .preview-limit-report th {
	background-color: #222222 !important;
}

/* Hakusivun välilehdet */
.mw-search-profile-tabs {
	background-color: #232329;
	color: white;
}

.mw-search-profile-tabs .current a {
	color: white;
}

/* Tekstikenttien tyyli paremmin vastaamaan muuta ulkoasua */
#searchInput, .createboxInput, .oo-ui-inputWidget-input:not(.oo-ui-buttonElement-button) {
	background-color: #0c0c0e !important;
	color: white !important;
}

.editOptions .oo-ui-labelElement-label, 
.oo-ui-tagMultiselectWidget-outlined .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title, 
.oo-ui-tagMultiselectWidget-outlined .mw-rcfilters-ui-filterTagMultiselectWidget-emptyFilters, 
.oo-ui-tagMultiselectWidget-outlined .oo-ui-buttonElement-button .oo-ui-labelElement-label {
	color: white;
}

.oo-ui-tagMultiselectWidget-handle {
	background-color: #232329 !important;
	color: white !important;
}