MediaWiki:Monobook.css

From HoloNet
Jump to navigationJump to search

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* <pre style="overflow: scroll"><nowiki> */

/* NON MONOBOOK SPECIFIC STUFF TO BE MOVED TO [[MediaWiki:Common.css]]! */

/*@import "http://starwars.wikia.com/index.php?title=MediaWiki:Common.css&action=raw&ctype=text/css";*/

/* Highlighting redirects orange, as Gadgets break too often. */
a.mw-redirect {color:darkorange}

/* Display text below main article header, located at MediaWiki:tagline */
#siteSub {
	display: inline;
	font-size: 0.9em;
	font-weight: normal;
	font-style: italic;
}

/* rounded corners - Mozilla/Firefox  and WebKit browsers only */
.pBody {
	padding: 0.1em 0.1em;
	-moz-border-radius-topright: 0.5em;
	-moz-border-radius-bottomright: 0.5em;
	-webkit-border-top-right-radius: 0.5em;
	-webkit-border-bottom-right-radius: 0.5em;
	border-top-right-radius: 0.5em;
	border-bottom-right-radius: 0.5em;
}

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

#content, .toc {
	-moz-border-radius-topleft: 0.5em;
	-moz-border-radius-topright: 0.5em;
	-moz-border-radius-bottomleft: 0.5em;
	-moz-border-radius-bottomright: 0.5em;
	-webkit-border-radius: 0.5em;
	border-radius: 0.5em;
}

body {
	background: #D8E9FC url(http://images.shoutwiki.com/swholonet/0/09/Skyline1big_blue.jpg) repeat-x;
	font-family: arial, helvetica, sans-serif;
}

#globalWrapper {
	font-size: 13px;
}

.portlet {
	font-size: 1em;
}

#column-one {
	font-size: 0.95em;
}

div.tleft { border: none; }
div.tright { margin-left: 13px; }

.content-bg { background: white; }

.portlet .pBody, #column-content, #content, #p-cactions li, #catlinks {
	border-width: 0px;
}

#p-cactions li a, #p-cactions li.selected a {
	border-color: white;
}

a:link, a:visited {
/*	text-decoration: none; */
}

a:hover, a.new:hover, li.new a:hover {
	color: orange;
	text-decoration: underline;
}

/*
div.tleft, div.tright, div.thumb {
	border-color: transparent;
}
*/

div.tleft div, div.tright div, div.thumb div {
	border-width: 0;
	background: #F2F5FD;
}

div.tleft a.internal img, div.tright a.internal img, div.thumb a.internal img {
	border-width: 0;
}

input[type="text"], input[type="password"], textarea, select, #content textarea, #wpOldTitle, #wpReason, #wpSummary, #searchInput {
	border: 1px solid #aaa;
}

input[type="text"]:focus, input[type="password"]:focus, textarea:focus, #wpOldTitle:focus, #wpReason:focus, #wpSummary:focus, #searchInput:focus {
	background: #fffff0;
}

#catlinks, #toc, .toc {
	background: #f2f5fd;
}

li#pt-userpage,	li#pt-anonuserpage, li#pt-login {
	background: url(http://images.wikia.com/starwars/images/5/54/User-icon.png) top left no-repeat;
}

/*
h1, h2 {
	border-color: #D8E9FC;
}
*/

#p-cactions {
	margin-left: 1em;
}

#p-personal ul {
	font-weight: bold;
}

.category-gallery {
    display: none !important;
}

.RelatedPagesModule {
    display: none !important;
}

/* div -> figure change, aka. mostly image thumbnail-related fixes */
.article-thumb .caption { color: #000000; }
p.caption { font-size: 85% ; !important } /* restores thumbnail caption to ~original size */
figure.tleft { border: none; margin-right: 13px; margin-left: 0; }
figure.tright { margin-left: 13px; margin-right: 0; }

figure.tleft figure, figure.tright figure, figure.thumb figure, figure.thumbinner {
	border-width: 0;
	background: #F2F5FD;
	text-align: left;
}

figure.tleft a.internal img, figure.tright a.internal img, figure.thumb a.internal img {
	border-width: 0;
}

/* Logo and background for the wiki */
.mw-wiki-logo {background-image: url(http://images.shoutwiki.com/swholonet/b/bc/Wiki.png);}
body {background-image: url(//images.shoutwiki.com);}

/* Restoring thumbnail frame */
figure.article-thumb { 
	padding-top: 3px;
        padding-left: 3px;
	padding-bottom: 1px;
        padding-right: 6px !important;
	background-color: #EFF3FC;
}

img.thumbimage {
	background-color: white;
}
/* End of thumbnail frame fix */

div.wikia-gallery span.wikia-gallery-item {
	display: inline-block;
}

/* Temp fix for main page */
.main-page-tag-lcs-exploded {
	margin-right: -300px;
}
.main-page-tag-lcs-exploded > div {
	margin-right: 300px;
}

/* Kill the blank space next to the logout link; space is used for message wall notifications on other wikis */
li#pt-wall-notifications {
	display:none;
}

/* Fix for missing sort arrows in sortable table */
.chevron {
	border-color: #FFFFFF transparent transparent;
	border-style: solid;
	border-width: 4px;
	margin-top: 2px;
	vertical-align: middle;
	width: 0;
}

/* Making the top row of action buttons on the Main Page clickable (broken in some browsers) */
/* Courtesy of http://goo.gl/GpvdAU */
body.page-Main_Page #p-cactions li a {
	z-index: 1500;
}

/* Class for anything that should only be visible in Oasis, such as the skin notice on the Main Page */
.monobook-hide {
	display: none;
}

/* Temp fix for eras image spacing */
#title-eraicons { font-size: 0; }

/* Fix for redlink userpages showing up as blue in the RC */
a.mw-userlink.new { 
	color: #BA0000 !important;
}

/* </nowiki></pre> */