MediaWiki:Nimbus.css: Difference between revisions

From Halopedia, the Halo wiki

No edit summary
mNo edit summary
 
(212 intermediate revisions by 6 users not shown)
Line 1: Line 1:
/* CSS placed here will affect users of the Nimbus skin */
/* CSS placed here will affect users of the Nimbus skin */


#site-logo {
body { background: #fff url(https://halo.wiki.gallery/images/bodybg6.jpg) repeat-x center top / contain; }
margin: 0 0 -10px 1px;
#site-logo a { background-size: contain; }
padding-top: 10px;
#site-logo { margin: 0 0 -10px -4px; }
}
#mw-indicator-rc { top: 22px; }
 
#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 */
.client-nojs #site-logo a,
#action-bar {
.mw-special-Gadgets #site-logo a,
background-color: transparent;
.mw-special-Userlogin #site-logo a,
.mw-special-Preferences #site-logo a,
.mw-special-ChangeEmail #site-logo a,
.mw-special-ResetTokens #site-logo a,
.mw-special-BotPasswords #site-logo a,
.mw-special-CreateAccount #site-logo a,
.mw-special-PasswordReset #site-logo a {
background-image: url(https://halo.wiki.gallery/images/3/3c/HP-Logo2023.png), url(https://halo.wiki.gallery/images/7/71/HP-LogoJohnHINF2.png);
}
}


/* Replace rounded corners with square corners */
#article-text a.external[href^="https://www.halopedia.org"] {
.tab-on, .more-tab-on {
color: #00f;
background-image: url(/images/article_tab_on_left.gif);
}
.tab-on span, .more-tab-on span {
background: none;
background: none;
padding: 0;
}
}
.tab-off, .more-tab-off {
#article-text a.external[href^="https://www.halopedia.org"]:active {
background-image: url(/images/article_tab_off_left.gif);
color: orange;
}
}
.tab-off span, .more-tab-off span {
#article-text a.external[href^="https://www.halopedia.org"]:visited {
background: none;
color: #00c;
}
}


/* Remove top bar */
.ns-talk p + dl, .ns-110 p + dl,
#header {
.rootpage-Halopedia_Changing_username p + dl {
height: 0;
margin-top: -0.4em;
}
#sw-more-category {
display: none;
}
}
#wiki-login {
.ns-talk dl + dl, .ns-110 dl + dl,
margin-top: 0;
.rootpage-Halopedia_Changing_username dl + dl {
background: #687F79;
margin-top: -0.2em;
padding: 4px 0 4px 10px;
}
#login-message {
margin: 1px 10px 0 1px;
}
}


/* Watch link */
.pagetitle {
#article-controls a {
font-size: 2.3em;
font-size: 110%;
padding-top: 11px;
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;
}
}
 
#article-body, #content {
/* 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;
border: 1px solid #D4DFD7;
}
}
#article-tabs {
#navigation-title, #footer-container h2,
top: 6px;
#other-links a, #article-tabs a, #article-tabs div {
}
color: #3B4744;
 
#other-links a {
width: 92px;
}
}


/* Left-align search suggestions */
#navigation-title { background: url(https://halo.wiki.gallery/images/nav-top.png) no-repeat scroll left bottom #D4DFD7; }
.os-suggest-result, .os-suggest-result-hl {
#other-links { background: url(https://halo.wiki.gallery/images/nav-bottom.png) no-repeat scroll left top #D4DFD7; }
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;
}

Latest revision as of 14:22, November 18, 2023

/* CSS placed here will affect users of the Nimbus skin */

body { background: #fff url(https://halo.wiki.gallery/images/bodybg6.jpg) repeat-x center top / contain; }
#site-logo a { background-size: contain; }
#site-logo { margin: 0 0 -10px -4px; }
#mw-indicator-rc { top: 22px; }

.client-nojs #site-logo a,
.mw-special-Gadgets #site-logo a,
.mw-special-Userlogin #site-logo a,
.mw-special-Preferences #site-logo a,
.mw-special-ChangeEmail #site-logo a,
.mw-special-ResetTokens #site-logo a,
.mw-special-BotPasswords #site-logo a,
.mw-special-CreateAccount #site-logo a,
.mw-special-PasswordReset #site-logo a {
	background-image: url(https://halo.wiki.gallery/images/3/3c/HP-Logo2023.png), url(https://halo.wiki.gallery/images/7/71/HP-LogoJohnHINF2.png);
}

#article-text a.external[href^="https://www.halopedia.org"] {
	color: #00f;
	background: none;
	padding: 0;
}
#article-text a.external[href^="https://www.halopedia.org"]:active {
	color: orange;
}
#article-text a.external[href^="https://www.halopedia.org"]:visited {
	color: #00c;
}

.ns-talk p + dl, .ns-110 p + dl,
.rootpage-Halopedia_Changing_username p + dl {
	margin-top: -0.4em;
}
.ns-talk dl + dl, .ns-110 dl + dl,
.rootpage-Halopedia_Changing_username dl + dl {
	margin-top: -0.2em;
}

.pagetitle {
	font-size: 2.3em;
	padding-top: 11px;
}
#article-body, #content {
	border: 1px solid #D4DFD7;
}
#navigation-title, #footer-container h2,
#other-links a, #article-tabs a, #article-tabs div {
	color: #3B4744;
}

#navigation-title { background: url(https://halo.wiki.gallery/images/nav-top.png) no-repeat scroll left bottom #D4DFD7; }
#other-links { background: url(https://halo.wiki.gallery/images/nav-bottom.png) no-repeat scroll left top #D4DFD7; }