MediaWiki:Common.css: Difference between revisions

From Halopedia, the Halo wiki

(all it did was make the sidebar portlets have no background...)
mNo edit summary
 
(762 intermediate revisions by 19 users not shown)
Line 1: Line 1:
/* :[http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fhalo.wikia.com%2Findex.php%3Ftitle%3DMediaWiki%3ACommon.css%26usemsgcache%3Dyes%26action%3Draw%26ctype%3Dtext%2Fcss%26smaxage%3D18000 validate!] ''(yah, funny)''
/* CSS placed here will be applied to all skins on desktop */
/* <pre><nowiki> CSS placed here will be applied to all skins */


div.Boxmerge,
/* Navbox style
div.NavFrame {
      Edit here: https://www.halopedia.org/MediaWiki:Gadget-NavboxStyle.css
        margin: 0px;
  Staff highlights
        padding: 4px;
      Edit here: https://www.halopedia.org/MediaWiki:Gadget-StaffHighlights.css
        border: 1px solid #aaa;
  Custom wallpapers
        text-align: center;
      Edit here: https://www.halopedia.org/MediaWiki:Gadget-Wallpapers.css */
        border-collapse: collapse;
 
        font-size: 95%;
/* 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.Boxmerge div.NavFrame {
 
        border-style: none;
#main-wrap {
        border-style: hidden;
padding-bottom: 33px;
}
}
div.NavFrame + div.NavFrame {
.easywrap {
        border-top-style: none;
width: 100%;
        border-top-style: hidden;
table-layout: fixed;
word-wrap: break-word;
overflow: hidden;
}
}
div.NavPic {
 
        background-color: #fff;
div.tleft, div.tright {
        margin: 0px;
margin-top: 0.2em;
        padding: 2px;
margin-bottom: 0.8em;
        float: left;
}
}
div.NavFrame div.NavHead {
 
        height: 1.6em;
.catlinks {
        font-weight: bold;
background: #f9f9f9 url(https://halo.wiki.gallery/images/chiefcat.jpg) no-repeat top right;
        background-color: #ccf;
        position:relative;
}
}
div.NavFrame p {
 
        font-size: 100%;
.mw-parser-output > .col-begin {
margin-top: 0.3em;
}
}
div.NavFrame div.NavContent {
 
        font-size: 100%;
.featurelist .mw-collapsible {
margin-right: 10px;
}
}
div.NavFrame div.NavContent p {
.featurelist h3 {
        font-size: 100%;
padding-top: 0;
padding-bottom: 0.5em;
}
}
div.NavEnd {
.featurelist .mw-collapsible-content {
        margin: 0px;
margin-top: -0.5em;
        padding: 0px;
margin-bottom: 0.5em;
        line-height: 1px;
        clear: both;
}
}
a.NavToggle {
.featurelist td > p {
        position:absolute;
display: none;
        top:0px;
        right:3px;
        font-weight:normal;
        font-size:smaller;
}
}


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


/* <pre><nowiki> */
/* Infoboxes */
/* Forum formatting -Algorithm & -Splaka */
.infobox {
.forumheader { border: 1px solid #aaa; background-color: #f9f9f9; margin-top: 1em; padding: 12px; }
float: right;
.forumlist td.forum_edited a { color: black; text-decoration: none }
clear: right;
.forumlist td.forum_title a { padding-left: 20px; }
font-size: 90%;
.forumlist td.forum_title a.forum_new { font-weight: bold; background: url(/images/4/4e/Forum_new.gif)
margin: 0 0 1em 1em;
center left no-repeat; padding-left: 20px; }
padding: 2px;
.forumlist td.forum_title a.forum_new:visited { font-weight: normal; background: none; padding-left: 20px; }
}
.forumlist th.forum_title { padding-left: 20px; }
.infoboxheading {
/* class for forum navigation templates ([[Template:forumtop|forumtop]], [[Template:shtop|shtop]]) */
font-size: 130%;
.forumheader {
}
  background-color: #eee;
  border: 1px solid #aaa;
  padding: 5px;
}


span.mw-plusminus-pos {color: #006400;}
.random-users-avatars img {
span.mw-plusminus-neg {color: #8B0000;}
background: #fff;
span.mw-plusminus-neg { color: #FF0000; font-weight: bold;}  
}


/* Stuff for the "From Halopedia, the Halo Wikia, [bleh]" */
div.thumb {
border-color: transparent;
}


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


  display: inline;
/* Meet the community */
  font-size: 90%;
.random-users-avatars {
  font-weight: normal;
padding: 0px 0px 0px 10px;
  font-style: italic;
}
.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;
}
}


/* Administrator and bot Hilights by RelentlessRecusant and Guesty-Persony-Thingy */
.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;
}


table.diff a[title="User:RelentlessRecusant"],
.profile-tab-bar {
ul#pagehistory li a[title="User:RelentlessRecusant"],
margin-top: 26px;
ul.special li a[title="User:RelentlessRecusant"],
}
table.diff a[title="User:Guesty-Persony-Thingy"],
ul#pagehistory li a[title="User:Guesty-Persony-Thingy"],
ul.special li a[title="User:Guesty-Persony-Thingy"],
table.diff a[title="User:ED"],
ul#pagehistory li a[title="User:ED"],
ul.special li a[title="User:ED"],
table.diff a[title="User:ED"],
table.diff a[title="User:Dragonclaws"],
ul#pagehistory li a[title="User:Dragonclaws"],
ul.special li a[title="User:Dragonclaws"] { font-weight: bold;color:#6b8e23}


table.diff a[title="User:GPTBot"],
.foreground {
ul#pagehistory li a[title="User:GPTBot"], 
background: url(https://halo.wiki.gallery/images/pagebg.jpg) no-repeat center 65px !important;
ul.special li a[title="User:GPTBot"] { font-weight: bold;color:red}
}
.foreground a {
color: #1AAAE7;
}


/* Help header tests by Catherine */
.hp-tagdesc + p > br:first-of-type {
display: none;
}


.basic {
/* Notice boxes */
  background-image: url('http://images.wikia.com/communitytest/images/3/3b/Greenheader.png');  
body:not(.ns-6) .noticebox + .noticebox {
  color:#006600;  
margin-top: -5px !important;
}
#mw-imagepage-content .noticebox {
margin-top: 10px !important;
margin-bottom: 2.5px !important;
}
}


.moderate {
/* Hide reference button in editor toolbar */
  background-image: url('http://images.wikia.com/communitytest/images/7/7f/Blueheader.png');
#wikiEditor-ui-toolbar .oo-ui-buttonElement[rel="reference"] {
  color:#333399;  
display: none !important;
}
}


.expert {
/* Site activity */
background-image: url('http://images.wikia.com/communitytest/images/e/ed/Purpleheader.png');
.mp-activity {
color:#663399;  
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;
}
}


.red {
/* Adjust inputbox button padding in Firefox */
  background-image: url('http://images.wikia.com/halo/images/7/79/Redheader.png');
.bodySearchWrap .mw-ui-button {
  color:#990000;  
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;
}
}
}


.helpheader {
/* Who's online */
  background-repeat: repeat-y;
#whosonline {
  font-size: 140%;
margin-bottom: 0;
  line-height: 150%;
  margin: 15px 0px 3px 0px;
  padding:0.4em;
  text-align:left;
  vertical-align:middle;
  border-style: none;
}
}


/* tweaks for title-messing templates */
/* Site notice */
#title-override { left: 0px!important; font-weight: bold!important; background: #f4f8ff!important; }
@media all and (max-width: 1100px) {
#title-eraicons { display: none!important; visibility: hidden !important; }
#siteNotice {
font-size: 80%;
}
}


div.tleft { border: none!important; }
/* User welcome */
div.tright { margin-left: 13px!important; }
.mp-welcome-logged-in {
div.thumb { background: inherit!important; }
margin-top: -13px;
width: 270px;
}
.mp-welcome-points {
width: 170px;
padding-left: 5px;
}


#toc { background: inherit!important; border-width: 0px!important }
/* Social profile */
 
.pagetitle {
#search-icon-wrapper {
display: block !important;
    cursor: pointer;
}
.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 {
#search-popup {
width: 95%;
    position: absolute;
    background: #f2f5f9;
    text-align: left;
    z-index: 8;
}
}
 
.user-section-heading {
/* JS Tab System, Jacked and Hacked from the jsprefs in monobook/main.css -Dantman */
.tabtoc {
margin: 0;
padding: 0;
width: 100%;
clear: both;
clear: both;
}
}
.tabtoc li {
.user-section-title {
background-color: #f0f0f0;
letter-spacing: normal;
color: #000;
}
#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;
}
}
/* @media screen, projection { */
.user-board-message-content {
.tabtoc li {
margin: 0 5px;
margin: 1px -2px 1px 2px;
float: left;
padding: 2px 0 3px 0;
border: 1px solid #fff;
border-right-color: #716f64;
border-bottom: 0;
position: relative;
white-space: nowrap;
list-style-type: none;
list-style-image: none;
z-index: 3;
}
/* } */
.tabtoc li.selected {
font-weight: bold;
background-color: #f9f9f9;
border: 1px solid #aaa;
border-bottom: none;
cursor: default;
top: 1px;
padding-top: 2px;
margin-right: -3px;
}
}
.tabtoc > li.selected {
.user-board-message-body {
top: 2px;
float: none;
}
}
.tabtoc a,
.user-board-message-from {
.tabtoc a:active {
background-color: #F8F5F5;
display: block;
color: #000;
padding: 0 .7em;
position: relative;
text-decoration: none;
}
}
.tabtoc li.selected a {
.no-info-container {
cursor: default;
background-color: #F8F5F5;
text-decoration: none;
}
}
.tabcontainer {
.profile-tab a:hover {
margin: 0;
color: #466C2C !important;
border: 1px solid #aaa;
clear: both;
padding: 1.5em;
background-color: #F9F9F9;
}
}
.tabsection {
.page-nav {
border: none;
margin: 8px 5px 10px;
padding: 0;
margin: 0;
}
}
.tabsection .tabbox {
.page-nav a, .page-nav a:visited {
border: 1px solid #aaa;
border: 1px solid #ccc;
float: left;
padding: 2px 6px;
margin-right: 2em;
background: #F8F5F5;
color: #000;
}
}
.tabsection .tab {
.page-nav a:hover {
font-weight: bold;  
background: #eee;
text-decoration: none;
}
}
.tabsection table, .tabsection .tab {
.g-give-all {
background-color: #F9F9F9;
background: #fff;
}
}
/* @media screen, projection { */
.mainTab {
display: none;
}
/* } */


/* </nowiki>*/
/* Echo extension */
 
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup {
/* message boxes */
font-size: 12px;
}
.iumb table.hidable-content, .ooumb table.hidable-content {
.mw-echo-ui-notificationsInboxWidget-toolbarWrapper {
    padding: 0;
margin-bottom: 10px;
}
.mw-echo-ui-crossWikiUnreadFilterWidget-group {
display: none;
}
}
 
.oo-ui-popupWidget-body-padded {
.iumb-hidable-button, .ooumb-hidable-button {
margin-top: 8px;
    text-align: right;
    margin: 0;
    padding: 0 5px 0 0;
    font-size: 0.8em;
    vertical-align: bottom;
}
}
 
.oo-ui-popupWidget-head {
.nb2-end a, .nb2-end .hidable-button {
overflow: hidden;
    color: #f9f9f9;
    text-transform: lowercase;
    text-decoration: none;
}
}
 
.mw-echo-ui-overlay {
.hidable-button {
z-index: 100;
    color: #088;
    cursor: pointer;
}
}


.infobox .hidable-button {
/*
    color: #f0f0f0;
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;
}
}
/*</nowiki></pre>*/

Latest revision as of 11:07, March 22, 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;
}

#main-wrap {
	padding-bottom: 33px;
}
.easywrap {
	width: 100%;
	table-layout: fixed;
	word-wrap: break-word;
	overflow: hidden;
}

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;
}

/* Echo extension */
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup {
	font-size: 12px;
}
.mw-echo-ui-notificationsInboxWidget-toolbarWrapper {
	margin-bottom: 10px;
}
.mw-echo-ui-crossWikiUnreadFilterWidget-group {
	display: none;
}
.oo-ui-popupWidget-body-padded {
	margin-top: 8px;
}
.oo-ui-popupWidget-head {
	overflow: hidden;
}
.mw-echo-ui-overlay {
	z-index: 100;
}

/*
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;
}