MediaWiki:Nimbus.css

From Halopedia, the Halo wiki

Revision as of 04:40, August 11, 2012 by Nicmavr (talk | contribs)

Note: After publishing, 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: Press Ctrl-F5.
/* CSS placed here will affect users of the Nimbus skin */

#site-logo {
	margin: 0 0 -10px 1px;
	padding-top: 10px;
}

#site-logo a {
	height: 164px;
	width: 222px;
	display: block;
	background: url(/images/logo2.png) repeat scroll 0 0 transparent;
}

body {
	background: #FFFFFF url(/images/bodybg2.jpg) repeat-x left top; 
}

#siteNotice {
	background: #FFFFFF url(/images/bodybg2-sn.jpg) repeat-x scroll -231px -95px;
	padding: 4px 10px;
	-moz-border-radius: 1.4em;
	-webkit-border-radius: 1.4em;
	border-radius: 1.4em;
	khtml-border-radius: 1.4em;
	-icab-border-radius: 1.4em;
}

#anonNotice {
	font-size: 115%;
	font-weight: bold;
}

#article {
	background: #FFFFFF url(/images/articlebg.jpg) no-repeat center 160px;
}

.pagetitle {
	margin-bottom: 1px;
}

div.tright {
	border-width: 0;
	margin: 0.5em 0 0.8em 1.4em;
}
div.tleft {
	border-width: 0;
	margin: 0.5em 1.4em 0.8em 0;
}

/* Temp fix IE 8 footer bug with show/hide templates */
#footer-container {
	position: static;
}

/* Hide heading on main page */
.page-Main_Page #article-text {
	margin-top: 10px;
}
.page-Main_Page .pagetitle, .page-Main_Page #siteSub, .page-Main_Page .subtitle {
	display: none;
}

/* Links */
a { color: #00f; }
a:visited { color: #00c; }
a:active { color: orange; }
a.extiw, a.extiw:active { color: #3366BB; }
a.external {
	color: #0066FF;
	background: url(/images/external.png) no-repeat scroll right center transparent;
	padding: 0 13px 0 0;
}

h2 {
	margin-bottom: 11px;
}

#article-body {
	padding-bottom: 0;
}

/* Wider sub-menus */
.sub-menu {
	width: 160px;
	right: -160px;
}

/* Widen up that search box, increase input font size */
#search-top {
	position: absolute;
	top: 60px;
	right: 0;
	margin-right: 20px;
	z-index: 10;
}
#searchInput {
	width: 180px;
	font-size: 125%;
}
input.search-field {
	height: 18px;
	width: 180px !important;
}
input.search-button {
	float: left;
	margin: 0 -5px 0 -1px;
}
#navigation {
	margin-bottom: -5px;
}
#search-title {
	border-bottom: medium none;
	color: #333333;
	font-size: 16px;
	font-weight: bold;
	letter-spacing: -1px;
	margin: 0 0 5px !important;
}

/* Move "more wikis" button to the left */
#sw-more-category {
	left: 10px;
}

/* Spacing between avatar rows */
#footer-contributors img {
	margin-bottom: 3px;
}

/* Site subtitle */
.subtitle, #siteSub {
	display: block;
	font-size: 11px;
	font-style: italic;
}
#contentSub, #contentSub2 {
	margin: -2px 0 12px 10px;
}

/* Image tweak for Watch button */
#article-controls img {
	padding-right: 4px;
}

/* Remove the background behind the tabs */
#action-bar {
	background-color: transparent;
}

/* Replace rounded corners with square corners */
.tab-on, .more-tab-on {
	background-image: url(/images/article_tab_on_left.gif);
}
.tab-on span, .more-tab-on span {
	background: none;
}
.tab-off, .more-tab-off {
	background-image: url(/images/article_tab_off_left.gif);
}
.tab-off span, .more-tab-off span {
	background: none;
}

/* Remove top bar */
#header {
	height: 0;
}
#sw-more-category {
	display: none;
}
#wiki-login {
	margin-top: 0;
	background: #687F79;
	padding: 4px 0 4px 10px;
}
#login-message {
	margin: 1px 10px 0 1px;
}

/* Watch link */
#article-controls a {
	font-size: 110%;
	color: #c5ffd3;
}
#article-controls a:hover {
	color: #95ffaf;
}
#ca-unwatch {
	margin-bottom: -3px;
	text-align: right;
	position: relative;
	top: 23px;
	right: 10px;
	z-index: 15;
}
#ca-unwatch a {
	color: #c5ffd3;
	padding-left: 3px;
	font-size: 110%;
}
#ca-unwatch a:hover {
	color: #95ffaf;
	text-decoration: none;
}

/* Fix for the save preferences button being too far down */
.jsprefs#preferences {
	padding-bottom: 55px;
}

/* Give the log out button text some hover color */
a.negative-button:hover {
	color: #941A00;
}

/* Put the main border on top as well */
#article-body {
	border: 1px solid #D4DFD7;
}
#article-tabs {
	top: 6px;
}

#other-links a {
	width: 92px;
}

/* Left-align search suggestions */
.os-suggest-result, .os-suggest-result-hl {
	text-align: left;
}

/* Categories box */
.catlinks {
    margin-top: 6px;
}

/** Tabtoc modification **/
.tabcontainer {
	padding: 7px;
}
.tabtoc li.selected {
	border-radius: 5px 5px 0 0;
	-webkit-border-radius: 5px 5px 0 0;
	-moz-border-radius: 5px 5px 0 0;
	-ms-border-radius: 5px 5px 0 0;
	-o-border-radius: 5px 5px 0 0;
	top: 2px;
}
.tabtoc li {
	background: transparent;
	top: 4px;
	left: -2px;
	border: none;
}

/** Vector-style nav **/
#article-tabs {
	left: -3px;
}
.tab-on, .more-tab-on {
	background: -moz-linear-gradient(center bottom , #FFFFFF 40%, rgba(255, 255, 255, 0) 100%) repeat scroll 0 0 transparent;
	background: -webkit-gradient(linear, 0% 100%, 0% 0%, color-stop(75%, #FFFFFF), color-stop(100%, rgba(255,255,255,0)));
}
.tab-off, .more-tab-off {
	background: -moz-linear-gradient(center bottom , #F0EAD6 40%, rgba(255, 255, 255, 0) 100%) repeat scroll 0 0 transparent;
	background: -webkit-gradient(linear, 0% 100%, 0% 0%, color-stop(75%, #F0EAD6), color-stop(100%, rgba(255,255,255,0)));
}

.tabtoc {
   margin: 0 !important;
}

/** Log-in bar **/
#wiki-login {
	-webkit-border-radius: 0 0 0 .7em;
	-moz-border-radius: 0 0 0 .7em;
	-ms-border-radius: 0 0 0 .7em;
	-o-border-radius: 0 0 0 .7em;
	border-radius: 0 0 0 .7em;
}

/** Side bar **/
#menu, .bottom-left-nav {
	background: white;
}

#navigation-title {
	background: url(/skins/Nimbus/navigation_top.gif) no-repeat scroll top left;
}

/** Footer position **/
#footer-container {
	height: 143px;
	-webkit-border-radius: 0 0 .7em .7em;
	-moz-border-radius: 0 0 .7em .7em;
	-ms-border-radius: 0 0 .7em .7em;
	-o-border-radius: 0 0 .7em .7em;
	border-radius: 0 0 .7em .7em;
}
#footer-container, #footer-bottom {
	margin: 0 10px 0 220px;
}
#footer-actions, #footer-contributors {
	width: 45%;
}
#footer-contributors {
	padding: 10px 0 0 0;
}

/* Era icons */
#title-linktabs { 
	top: 5px !important;
}

/* No white border around gallery boxes */
li.gallerybox {
	border-color: transparent;
}