MediaWiki:Common.css

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

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

margin-bottom: 3px; }
 * toc, .toc {

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

ul.gallery, li.gallerybox div.thumb { margin-bottom: 0; padding-bottom: 0; }	margin: 2px; padding: 2px; } li.gallerycaption { text-align: unset; }
 * 1) mw-content-text ul.gallery {

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

border-top: 3px double #cccccc; border-bottom: 3px double #cccccc; }
 * 1) disambig {

.sigbox { background: url(https://halo.wiki.gallery/images/sigboxbg.png) no-repeat top left; min-height: 35px; min-width: 295px; }

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

.col-begin { margin-top: 0.3em; border-collapse: collapse; } .col-begin td { padding: 0; }

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

/* References */ ol.references { margin-top: 0; font-size: 90%; } ol.references div { display: inline; } ol.references span { line-height: 1; } ol.references li { break-inside: avoid-column; }

/* File pages */ .mw_metadata { margin-top: 5px; }

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

div.thumb { border-color: transparent; }

.IntroPageBox { background-color: #ffe; background-repeat: no-repeat; background-position: bottom right; } .IntroPageBox div.tright { border-color: transparent !important; }

.desktopHide { display: none !important; }

/* Main page */ body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-view #contentSub, body.page-Main_Page.action-view #siteSub, body.page-Main_Page.action-view #catlinks, body.page-Main_Page.action-view #lastmod { display: none !important; } body.page-Main_Page.action-view #bodyContent { margin-top: 18px; }	margin-left: 4px; }	margin-right: 6px; }
 * 1) hpedialogo .floatleft {
 * 1) hpedialogo .floatright {

/* Mark redirects on Special:AllPages and Special:EditWatchlist */ .allpagesredirect a.mw-redirect, .watchlistredir a.mw-redirect { color: #888 !important; }

/* 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; }	margin-top: 10px !important; margin-bottom: 2.5px !important; }
 * 1) mw-imagepage-content .noticebox {

/* Upload form */ display: none; }
 * 1) mw-htmlform-description .mw-editTools {

/* Edit box */ .wikiEditor-ui-toolbar .section-main, .wikiEditor-ui-toolbar .tabs { height: auto; } .wikiEditor-ui textarea#wpTextbox1 { height: 474px; line-height: 1.4em; } .mw-summary-preview { margin-bottom: 0.5em; }	padding-bottom: 0.5em; }	margin-right: -3px; }
 * 1) wpSummaryLabel .oo-ui-textInputWidget textarea,
 * 2) wpSummaryLabel .oo-ui-textInputWidget input {
 * 1) wpSummaryWidget .oo-ui-labelElement-label {

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

/* Watchlist expiry */ height: auto; min-height: 0; padding-top: 4px; padding-left: 7px; padding-bottom: 3px; }
 * 1) wpWatchlistExpiry, #wpWatchlistExpiryWidget .oo-ui-dropdownWidget-handle {

/* Edit section */ .client-js .mw-content-ltr .mw-editsection-bracket:first-of-type, .client-js .mw-content-rtl .mw-editsection-bracket:first-of-type, .client-js .mw-content-rtl .mw-editsection-bracket:not(:first-of-type), .client-js .mw-content-ltr .mw-editsection-bracket:not(:first-of-type) { margin: 0; color: unset; }

/* Diff text */ .diffchange { font-weight: normal; } .diff-addedline, .diff-deletedline, .diff-context { font-size: 92%; }

/* OOUI fix */ .oo-ui-optionWidget.oo-ui-labelElement > .oo-ui-labelElement-label { overflow: visible; }

/* Video widget */ .infobox .videoWidget, .infobox .videoWidget iframe { display: block !important; } .infobox .autoResize { margin: 0 auto !important; } .autoResize:not(.thumbinner) .thumbcaption { margin: 0; padding: 0; } .videoWidget + p { margin: 0; }

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

/* Dismissable site notice */ .sitedir-ltr .mw-dismissable-notice-body { margin: 0 60px 0 0; } .sitedir-rtl .mw-dismissable-notice-body { margin: 0 0 0 60px; }

/* Captcha spacing */ margin-top: 2.5px; }	margin-top: 10px; }	margin-bottom: 5px; } .mw-htmlform-field-HTMLReCaptchaNoCaptchaField .mw-input { margin-top: 1px; } .editOptions .g-recaptcha { margin-bottom: 10px; } .mw-ui-vform { width: 302px; }
 * 1) editform #wpCaptchaWord {
 * 1) userloginForm label:not([for]) + .mw-input {
 * 1) userloginForm .mw-ui-vform-field:nth-of-type(7) {

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

/* Halopedia upload tweaks */ .mw-upload-editlicenses, display: none; }
 * 1) wikieditor-toolbar-file-dialog + .ui-dialog-buttonpane .ui-dialog-buttonset .ui-button:last-child {

/* Indicator icons */ .mw-indicators, position: relative; }
 * 1) mw-indicator-rc {

/* New user message box */ .usermessage { margin-top: 1em; }

/* Width fixes */ td, th { overflow: hidden; } table, .thumbinner { max-width: 100%; } @media all and (max-width: 1350px) { table.wikitable, table.darker { width: auto !important; display: block !important; overflow: auto !important; max-width: max-content !important; min-width: 100px !important; border: 0 !important; } } @media all and (max-width: 1250px) { table.wikitable img, table.darker img { min-width: 15px !important; max-width: 100% !important; height: auto !important; }	.mw-parser-output table:not(.wikitable) { min-width: 0 !important; } }
 * 1) content { overflow-x: clip; }

/* Multimedia viewer */ .mw-mmv-image img { background: #fff !important; } .mw-mmv-filepage-buttons, .mw-mmv-reuse-pane .oo-ui-widget-disabled { display: none !important; } .mw-mmv-overlay { z-index: 10000000000; } .mw-mmv-wrapper { z-index: 10000000001; font-size: medium; }

/* Mobile only */ .mobileonly { display: none; }

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

/* 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; }	top: 10px !important; }	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; }
 * 1) profile-toggle-button {
 * 1) profile-top {

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