MediaWiki:Common.css: Difference between revisions

From Halopedia, the Halo wiki

(test)
mNo edit summary
 
(788 intermediate revisions by 21 users not shown)
Line 1: Line 1:
/** CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins on desktop */


#column-content #content {position: relative; }
/* Navbox style
      Edit here: https://www.halopedia.org/MediaWiki:Gadget-NavboxStyle.css
  Staff highlights
      Edit here: https://www.halopedia.org/MediaWiki:Gadget-StaffHighlights.css
  Custom wallpapers
      Edit here: https://www.halopedia.org/MediaWiki:Gadget-Wallpapers.css */


/* <pre><nowiki> */
/* General CSS changes */
#/* Forum formatting -Algorithm & -Splaka */
#.forumheader { border: 1px solid #aaa; background-color: #f9f9f9; margin-top: 1em; padding: 12px; }
#.forumlist td.forum_edited a { color: black; 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; }
/* class for forum navigation templates ([[Template:forumtop|forumtop]], [[Template:shtop|shtop]]) */
.forumheader
span.mw-plusminus-pos {color: #006400;}
span.mw-plusminus-neg {color: #8B0000;}
span.mw-plusminus-neg { color: #FF0000; font-weight: bold;}
{
  background: #eee;
  border: 1px solid #aaa;
  padding: 5px;
}


/* Help header tests by Catherine */
h1 { font-size: 2.00em; }
h2 { font-size: 1.75em; }
h3 { font-size: 1.45em; }
h4 { font-size: 1.32em; }
h5 { font-size: 1.15em; }
h6 { font-size: 1.00em; }


.fakeh2 {
font-size: 1.75em;
border-bottom: 1px solid #a2a9b1;
padding-top: 0.5em;
padding-bottom: 0.17em;
margin-bottom: 0.6em;
}
.fakeh3 {
font-size: 1.45em;
font-weight: bold;
padding-top: 0.5em;
padding-bottom: 0.17em;
margin-bottom: 0.3em;
}


    .basic {
div.tleft, div.tright {
        background-image: url('http://images.wikia.com/communitytest/images/3/3b/Greenheader.png');  
margin-top: 0.2em;
        color:#006600;  
margin-bottom: 0.8em;
    }
}


    .moderate {
.catlinks {
        background-image: url('http://images.wikia.com/communitytest/images/7/7f/Blueheader.png');
background: #f9f9f9 url(https://halo.wiki.gallery/images/chiefcat.jpg) no-repeat top right;
        color:#333399;
}
    }


    .expert {
.mw-parser-output > .col-begin {
        background-image: url('http://images.wikia.com/communitytest/images/e/ed/Purpleheader.png');
margin-top: 0.3em;
        color:#663399;  
}
    }


    .red {
.featurelist .mw-collapsible {
        background-image: url('http://images.wikia.com/halo/images/7/79/Redheader.png');
margin-right: 10px;
        color:#999933;  
}
    }
.featurelist h3 {
padding-top: 0;
padding-bottom: 0.5em;
}
.featurelist .mw-collapsible-content {
margin-top: -0.5em;
margin-bottom: 0.5em;
}
.featurelist td > p {
display: none;
}


/* Site subtitle */
p.subtitle, #siteSub {
display: block;
font-size: 90%;
font-style: italic;
margin: 0;
}


    .helpheader {
/* Infoboxes */
        background-repeat: repeat-y;
.infobox {
        font-size: 140%;  
float: right;
        line-height: 150%;  
clear: right;
        margin: 15px 0px 3px 0px;  
font-size: 90%;
        padding:0.4em;  
margin: 0 0 1em 1em;
        text-align:left;
padding: 2px;
        vertical-align:middle;
}
        border-style: none;
.infoboxheading {
    }
font-size: 130%;
}


/* </nowiki>*/
.random-users-avatars img {
background: #fff;
}
 
div.thumb {
border-color: transparent;
}
 
/* Main page */
body.page-Main_Page.action-view #bodyContent {
margin-top: 18px;
}
 
/* Meet the community */
.random-users-avatars {
padding: 0px 0px 0px 10px;
}
.random-users-avatars h2 {
border-bottom: none;
margin: 0px 0px 0px 0px;
padding: 7px 0px 8px 0px;
}
.random-users-avatars img {
border: 1px solid #DCDCDC;
display: block;
float: left;
height: 50px;
margin: 0px 8px 8px 0px;
width: 50px;
}
 
.page-Special_UpdateProfile_preferences .site-button,
.page-Special_UploadAvatar .site-button {
margin-top: 10px;
}
.page-Special_UpdateProfile_preferences input[type="checkbox"] {
margin: 2px 5px 0 0;
}
.profile-update {
margin-bottom: 5px;
}
 
.profile-tab-bar {
margin-top: 26px;
}
 
.foreground {
background: url(https://halo.wiki.gallery/images/pagebg.jpg) no-repeat center 65px !important;
}
.foreground a {
color: #1AAAE7;
}
 
.hp-tagdesc + p > br:first-of-type {
display: none;
}
 
/* Notice boxes */
body:not(.ns-6) .noticebox + .noticebox {
margin-top: -5px !important;
}
#mw-imagepage-content .noticebox {
margin-top: 10px !important;
margin-bottom: 2.5px !important;
}
 
/* Hide reference button in editor toolbar */
#wikiEditor-ui-toolbar .oo-ui-buttonElement[rel="reference"] {
display: none !important;
}
 
/* Site activity */
.mp-activity {
padding: 3px 0;
border: none;
}
.mp-site-activity h2 {
padding: 10px 0 2px 0;
}
.item {
margin: 2px 0 2px 20px
}
.item p {
margin-bottom: 0.3em;
}
 
/* Adjust inputbox button padding in Firefox */
.bodySearchWrap .mw-ui-button {
padding-top: 7px !important;
padding-bottom: 7px !important;
}
.createboxButton {
padding-top: 6px !important;
padding-bottom: 6px !important;
}
@-moz-document url-prefix() {
.createboxButton {
padding-top: 6px !important;
padding-bottom: 5px !important;
}
}
 
/* Who's online */
#whosonline {
margin-bottom: 0;
}
 
/* Site notice */
@media all and (max-width: 1100px) {
#siteNotice {
font-size: 80%;
}
}
 
/* User welcome */
.mp-welcome-logged-in {
margin-top: -13px;
width: 270px;
}
.mp-welcome-points {
width: 170px;
padding-left: 5px;
}
 
/* Social profile */
.pagetitle {
display: block !important;
}
.mw-special-UpdateProfile input[type="text"],
.mw-special-EditProfile input[type="text"] {
width: 225px;
border: 1px solid #c8ccd1;
}
.mw-special-UpdateProfile select,
.mw-special-EditProfile select {
width: 229px;
border: 1px solid #c8ccd1;
}
.mw-special-EditProfile textarea {
width: 95%;
}
.user-section-heading {
clear: both;
}
.user-section-title {
letter-spacing: normal;
}
#profile-toggle-button {
top: 10px !important;
}
#profile-top {
margin-bottom: 15px;
}
table, div#profile-top, .profile-info {
background-color: transparent;
}
.profile-info-container p {
margin: 0 0 8px 10px;
}
.user-home-item-gift {
margin: 2px 25px;
}
.user-board-message {
background: #fff;
}
.user-board-message img {
max-width: 100% !important;
height: auto !important;
}
.user-board-message-content {
margin: 0 5px;
}
.user-board-message-body {
float: none;
}
.user-board-message-from {
background-color: #F8F5F5;
}
.no-info-container {
background-color: #F8F5F5;
}
.profile-tab a:hover {
color: #466C2C !important;
}
.page-nav {
margin: 8px 5px 10px;
}
.page-nav a, .page-nav a:visited {
border: 1px solid #ccc;
padding: 2px 6px;
background: #F8F5F5;
color: #000;
}
.page-nav a:hover {
background: #eee;
text-decoration: none;
}
.g-give-all {
background: #fff;
}
 
/*
To limit the size of the preview warningbox
when many template errors/warnings are displayed
*/
.warningbox, .mw-warning-box {
max-height: 300px;
overflow-y: auto;
}

Latest revision as of 09:14, August 20, 2024

/* CSS placed here will be applied to all skins on desktop */

/* Navbox style
       Edit here: https://www.halopedia.org/MediaWiki:Gadget-NavboxStyle.css
   Staff highlights
       Edit here: https://www.halopedia.org/MediaWiki:Gadget-StaffHighlights.css
   Custom wallpapers
       Edit here: https://www.halopedia.org/MediaWiki:Gadget-Wallpapers.css */

/* General CSS changes */

h1 { font-size: 2.00em; }
h2 { font-size: 1.75em; }
h3 { font-size: 1.45em; }
h4 { font-size: 1.32em; }
h5 { font-size: 1.15em; }
h6 { font-size: 1.00em; }

.fakeh2 {
	font-size: 1.75em;
	border-bottom: 1px solid #a2a9b1;
	padding-top: 0.5em;
	padding-bottom: 0.17em;
	margin-bottom: 0.6em;
}
.fakeh3 {
	font-size: 1.45em;
	font-weight: bold;
	padding-top: 0.5em;
	padding-bottom: 0.17em;
	margin-bottom: 0.3em;
}

div.tleft, div.tright {
	margin-top: 0.2em;
	margin-bottom: 0.8em;
}

.catlinks {
	background: #f9f9f9 url(https://halo.wiki.gallery/images/chiefcat.jpg) no-repeat top right;
}

.mw-parser-output > .col-begin {
	margin-top: 0.3em;
}

.featurelist .mw-collapsible {
	margin-right: 10px;
}
.featurelist h3 {
	padding-top: 0;
	padding-bottom: 0.5em;
}
.featurelist .mw-collapsible-content {
	margin-top: -0.5em;
	margin-bottom: 0.5em;
}
.featurelist td > p {
	display: none;
}

/* Site subtitle */
p.subtitle, #siteSub {
	display: block;
	font-size: 90%;
	font-style: italic;
	margin: 0;
}

/* Infoboxes */
.infobox {
	float: right;
	clear: right;
	font-size: 90%;
	margin: 0 0 1em 1em;
	padding: 2px;
}
.infoboxheading {
	font-size: 130%;
}

.random-users-avatars img {
	background: #fff;
}

div.thumb {
	border-color: transparent;
}

/* Main page */
body.page-Main_Page.action-view #bodyContent {
	margin-top: 18px;
}

/* Meet the community */
.random-users-avatars {
	padding: 0px 0px 0px 10px;
}
.random-users-avatars h2 {
	border-bottom: none;
	margin: 0px 0px 0px 0px;
	padding: 7px 0px 8px 0px;
}
.random-users-avatars img {
	border: 1px solid #DCDCDC;
	display: block;
	float: left;
	height: 50px;
	margin: 0px 8px 8px 0px;
	width: 50px;
}

.page-Special_UpdateProfile_preferences .site-button,
.page-Special_UploadAvatar .site-button {
	margin-top: 10px;
}
.page-Special_UpdateProfile_preferences input[type="checkbox"] {
	margin: 2px 5px 0 0;
}
.profile-update {
	margin-bottom: 5px;
}

.profile-tab-bar {
	margin-top: 26px;
}

.foreground {
	background: url(https://halo.wiki.gallery/images/pagebg.jpg) no-repeat center 65px !important;
}
.foreground a {
	color: #1AAAE7;
}

.hp-tagdesc + p > br:first-of-type {
	display: none;
}

/* Notice boxes */
body:not(.ns-6) .noticebox + .noticebox {
	margin-top: -5px !important;
}
#mw-imagepage-content .noticebox {
	margin-top: 10px !important;
	margin-bottom: 2.5px !important;
}

/* Hide reference button in editor toolbar */
#wikiEditor-ui-toolbar .oo-ui-buttonElement[rel="reference"] {
	display: none !important;
}

/* Site activity */
.mp-activity {
	padding: 3px 0;
	border: none;
}
.mp-site-activity h2 {
	padding: 10px 0 2px 0;
}
.item {
	margin: 2px 0 2px 20px
}
.item p {
	margin-bottom: 0.3em;
}

/* Adjust inputbox button padding in Firefox */
.bodySearchWrap .mw-ui-button {
	padding-top: 7px !important;
	padding-bottom: 7px !important;
}
.createboxButton {
	padding-top: 6px !important;
	padding-bottom: 6px !important;
}
@-moz-document url-prefix() { 
	.createboxButton {
		padding-top: 6px !important;
		padding-bottom: 5px !important;
	}
}

/* Who's online */
#whosonline {
	margin-bottom: 0;
}

/* Site notice */
@media all and (max-width: 1100px) {
	#siteNotice {
		font-size: 80%;
	}
}

/* User welcome */
.mp-welcome-logged-in {
	margin-top: -13px;
	width: 270px;
}
.mp-welcome-points {
	width: 170px;
	padding-left: 5px;
}

/* Social profile */
.pagetitle {
	display: block !important;
}
.mw-special-UpdateProfile input[type="text"],
.mw-special-EditProfile input[type="text"] {
	width: 225px;
	border: 1px solid #c8ccd1;
}
.mw-special-UpdateProfile select,
.mw-special-EditProfile select {
	width: 229px;
	border: 1px solid #c8ccd1;
}
.mw-special-EditProfile textarea {
	width: 95%;
}
.user-section-heading {
	clear: both;
}
.user-section-title {
	letter-spacing: normal;
}
#profile-toggle-button {
	top: 10px !important;
}
#profile-top {
	margin-bottom: 15px;
}
table, div#profile-top, .profile-info {
	background-color: transparent;
}
.profile-info-container p {
	margin: 0 0 8px 10px;
}
.user-home-item-gift {
	margin: 2px 25px;
}
.user-board-message {
	background: #fff;
}
.user-board-message img {
	max-width: 100% !important;
	height: auto !important;
}
.user-board-message-content {
	margin: 0 5px;
}
.user-board-message-body {
	float: none;
}
.user-board-message-from {
	background-color: #F8F5F5;
}
.no-info-container {
	background-color: #F8F5F5;
}
.profile-tab a:hover {
	color: #466C2C !important;
}
.page-nav {
	margin: 8px 5px 10px;
}
.page-nav a, .page-nav a:visited {
	border: 1px solid #ccc;
	padding: 2px 6px;
	background: #F8F5F5;
	color: #000;
}
.page-nav a:hover {
	background: #eee;
	text-decoration: none;
}
.g-give-all {
	background: #fff;
}

/*
To limit the size of the preview warningbox
when many template errors/warnings are displayed
*/
.warningbox, .mw-warning-box {
	max-height: 300px;
	overflow-y: auto;
}