|
|
(66 intermediate revisions by 2 users not shown) |
Line 4: |
Line 4: |
| Edit here: https://www.halopedia.org/MediaWiki:Gadget-NavboxStyle.css | | Edit here: https://www.halopedia.org/MediaWiki:Gadget-NavboxStyle.css |
| Staff highlights | | Staff highlights |
| Edit here: https://www.halopedia.org/MediaWiki:Gadget-StaffHighlights.css */ | | 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 */ | | /* General CSS changes */ |
Line 38: |
Line 40: |
| word-wrap: break-word; | | word-wrap: break-word; |
| overflow: hidden; | | overflow: hidden; |
| }
| |
|
| |
| #toc, .toc {
| |
| margin-bottom: 3px;
| |
| } | | } |
|
| |
|
Line 47: |
Line 45: |
| margin-top: 0.2em; | | margin-top: 0.2em; |
| margin-bottom: 0.8em; | | margin-bottom: 0.8em; |
| }
| |
| .thumb .mediaContainer {
| |
| margin: 4px auto 2px;
| |
| }
| |
|
| |
| ul.gallery, li.gallerybox div.thumb {
| |
| margin-bottom: 0;
| |
| padding-bottom: 0;
| |
| }
| |
| #mw-content-text ul.gallery {
| |
| margin: 2px;
| |
| padding: 2px;
| |
| }
| |
| li.gallerycaption {
| |
| text-align: unset;
| |
| } | | } |
|
| |
|
Line 68: |
Line 51: |
| } | | } |
|
| |
|
| pre {
| | .mw-parser-output > .col-begin { |
| overflow: auto;
| | margin-top: 0.3em; |
| }
| |
| | |
| #disambig {
| |
| border-top: 3px double #cccccc;
| |
| border-bottom: 3px double #cccccc;
| |
| }
| |
| | |
| .sigbox { | |
| background: url(https://halo.wiki.gallery/images/sigboxbg.png) no-repeat top left; | |
| min-height: 35px;
| |
| min-width: 295px;
| |
| } | | } |
|
| |
|
Line 96: |
Line 68: |
| .featurelist td > p { | | .featurelist td > p { |
| display: none; | | display: none; |
| }
| |
|
| |
| .col-begin {
| |
| margin-top: 0.3em;
| |
| border-collapse: collapse;
| |
| }
| |
| .col-begin td {
| |
| padding: 0;
| |
| }
| |
|
| |
| /* Special:WikiForum style */
| |
| table.mw-wikiforum-frame {
| |
| background: #fff;
| |
| border: 0;
| |
| border-spacing: 0 !important;
| |
| }
| |
| #txtSearch {
| |
| width: 85%;
| |
| }
| |
| td.mw-wikiforum-title,
| |
| tr.mw-wikiforum-marked {
| |
| background: #fff;
| |
| }
| |
| tr.mw-wikiforum-sticky td.mw-wikiforum-title,
| |
| tr.mw-wikiforum-sticky {
| |
| background: #f5faff;
| |
| }
| |
| td.mw-wikiforum-title,
| |
| th.mw-wikiforum-title,
| |
| td.mw-wikiforum-admin,
| |
| th.mw-wikiforum-admin,
| |
| td.mw-wikiforum-value,
| |
| th.mw-wikiforum-value,
| |
| td.mw-wikiforum-lastpost,
| |
| th.mw-wikiforum-lastpost {
| |
| border-color: #ccc;
| |
| }
| |
| th.mw-wikiforum-thread-top {
| |
| border: 1px solid #ccc;
| |
| background: #cedff2;
| |
| }
| |
| td.mw-wikiforum-thread-main {
| |
| padding: 0 10px;
| |
| border: 1px solid #ccc;
| |
| background: #f5faff;
| |
| }
| |
| td.mw-wikiforum-thread-sub {
| |
| border: 1px solid #ccc;
| |
| background: #fff;
| |
| }
| |
| .mw-wikiforum-thread-sub blockquote {
| |
| font-size: 12px;
| |
| padding: 0 10px 4px !important;
| |
| margin-left: 0;
| |
| margin-bottom: 10px;
| |
| }
| |
| .mw-wikiforum-thread-sub blockquote p:last-of-type {
| |
| margin-bottom: 0;
| |
| }
| |
| .mw-wikiforum-thread-sub blockquote p.posted {
| |
| margin-bottom: 6px !important;
| |
| }
| |
| .wikiforum-avatar-image + .mw-parser-output > blockquote {
| |
| margin-right: 90px;
| |
| }
| |
| .mw-wikiforum-thread-sub blockquote > blockquote > blockquote > blockquote {
| |
| display: none;
| |
| }
| |
| td.mw-wikiforum-thread-main .mw-parser-output,
| |
| td.mw-wikiforum-thread-sub .mw-parser-output {
| |
| margin-top: 12px;
| |
| }
| |
| table.mw-wikiforum-posted {
| |
| margin-top: 10px;
| |
| }
| |
| td.mw-wikiforum-thread-main,
| |
| td.mw-wikiforum-thread-sub {
| |
| word-wrap: normal;
| |
| word-break: break-word;
| |
| }
| |
| .wikiforum-avatar-image {
| |
| padding: 2px 0 3px 5px;
| |
| }
| |
| td.mw-wikiforum-rightside a:hover {
| |
| text-decoration: none;
| |
| } | | } |
|
| |
|
Line 195: |
Line 82: |
| float: right; | | float: right; |
| clear: right; | | clear: right; |
| | font-size: 90%; |
| | margin: 0 0 1em 1em; |
| padding: 2px; | | padding: 2px; |
| margin: 0 0 1em 1em;
| |
| } | | } |
| | | .infoboxheading { |
| /* References */
| | font-size: 130%; |
| 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;
| |
| } | | } |
|
| |
|
| /* Checkered background for transparent images */
| |
| #file img {
| |
| background: url(https://halo.wiki.gallery/resources/src/mediawiki.action/images/checker.png) repeat;
| |
| }
| |
| .mw_metadata {
| |
| margin-top: 5px;
| |
| }
| |
| .random-users-avatars img { | | .random-users-avatars img { |
| background: white; | | background: #fff; |
| } | | } |
|
| |
|
Line 229: |
Line 98: |
| } | | } |
|
| |
|
| .cleared {
| | /* Main page */ |
| clear: both;
| |
| }
| |
| | |
| .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 .mw-revision,
| |
| 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 { | | body.page-Main_Page.action-view #bodyContent { |
| margin-top: 18px; | | margin-top: 18px; |
| }
| |
| #hpedialogo .floatleft {
| |
| margin-left: 4px;
| |
| }
| |
| #hpedialogo .floatright {
| |
| margin-right: 6px;
| |
| }
| |
|
| |
| /* Mark redirects on Special:AllPages and Special:EditWatchlist */
| |
| .allpagesredirect a.mw-redirect, .watchlistredir a.mw-redirect {
| |
| color: #888 !important;
| |
| } | | } |
|
| |
|
Line 322: |
Line 156: |
| } | | } |
|
| |
|
| /* Black ink */ | | /* Hide reference button in editor toolbar */ |
| .blackink {
| | #wikiEditor-ui-toolbar .oo-ui-buttonElement[rel="reference"] { |
| background-color: #000000;
| | display: none !important; |
| border-radius:4px;
| |
| color: #000000;
| |
| padding: 1px;
| |
| transition: 1.5s;
| |
| -o-transition: 1.5s;
| |
| -ms-transition: 1.5s;
| |
| -moz-transition: 1.5s;
| |
| -webkit-transition: 1.5s;
| |
| transition-delay: 0.3s;
| |
| -o-transition-delay: 0.3s;
| |
| -ms-transition-delay: 0.3s;
| |
| -moz-transition-delay: 0.3s;
| |
| -webkit-transition-delay: 0.3s;
| |
| }
| |
| .blackink a {
| |
| color: #000000;
| |
| padding: 1px;
| |
| text-decoration: underline;
| |
| }
| |
| | |
| .blackink:hover {
| |
| background-color: inherit !important;
| |
| color: inherit;
| |
| }
| |
| | |
| /* Upload form */
| |
| #mw-htmlform-description .mw-editTools {
| |
| display: none;
| |
| }
| |
| | |
| /* 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;
| |
| }
| |
| #wpSummaryLabel .oo-ui-textInputWidget textarea,
| |
| #wpSummaryLabel .oo-ui-textInputWidget input {
| |
| padding-bottom: 0.5em;
| |
| }
| |
| #wpSummaryWidget .oo-ui-labelElement-label {
| |
| margin-right: -3px;
| |
| }
| |
| | |
| /* Watchlist expiry */
| |
| #wpWatchlistExpiry, #wpWatchlistExpiryWidget .oo-ui-dropdownWidget-handle {
| |
| height: auto;
| |
| min-height: 0;
| |
| padding-top: 4px;
| |
| padding-left: 7px;
| |
| padding-bottom: 3px;
| |
| }
| |
| | |
| /* 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;
| |
| } | | } |
|
| |
|
Line 433: |
Line 174: |
| .item p { | | .item p { |
| margin-bottom: 0.3em; | | margin-bottom: 0.3em; |
| }
| |
|
| |
| /* Dismissable SiteNotice */
| |
| .sitedir-ltr .mw-dismissable-notice-body {
| |
| margin: 0.25em 60px 0.25em 0;
| |
| }
| |
| .sitedir-rtl .mw-dismissable-notice-body {
| |
| margin: 0.25em 0 0.25em 60px;
| |
| }
| |
| .mw-dismissable-notice-body > #localNotice {
| |
| margin-bottom: 0;
| |
| }
| |
|
| |
| /* Captcha spacing */
| |
| #editform #wpCaptchaWord {
| |
| margin-top: 2.5px;
| |
| }
| |
| #userloginForm label:not([for]) + .mw-input {
| |
| margin-top: 10px;
| |
| }
| |
| #userloginForm .mw-ui-vform-field:nth-of-type(7) {
| |
| margin-bottom: 5px;
| |
| }
| |
| .mw-input img, #editform img, label img {
| |
| image-rendering: auto !important;
| |
| }
| |
| .mw-htmlform-field-HTMLReCaptchaNoCaptchaField .mw-input {
| |
| margin-top: 1px;
| |
| }
| |
| .editOptions .g-recaptcha {
| |
| margin-bottom: 10px;
| |
| }
| |
| .mw-ui-vform {
| |
| width: 302px;
| |
| } | | } |
|
| |
|
Line 483: |
Line 190: |
| padding-bottom: 5px !important; | | padding-bottom: 5px !important; |
| } | | } |
| }
| |
|
| |
| /* Halopedia upload tweaks */
| |
| .mw-upload-editlicenses,
| |
| #wikieditor-toolbar-file-dialog + .ui-dialog-buttonpane .ui-dialog-buttonset .ui-button:last-child {
| |
| display: none;
| |
| }
| |
|
| |
| /* News template */
| |
| .property {
| |
| background: url(https://halo.wiki.gallery/images/6/6c/ONI_Property.jpg) repeat center top !important;
| |
| }
| |
| .property a {
| |
| color: #000080;
| |
| }
| |
| .property a:visited {
| |
| color: #000080;
| |
| }
| |
|
| |
| /* Indicator icons */
| |
| .mw-indicators,
| |
| #mw-indicator-rc {
| |
| position: relative;
| |
| }
| |
| .mw-indicator img {
| |
| image-rendering: auto !important;
| |
| }
| |
| #mw-indicator-mw-helplink {
| |
| display: none;
| |
| }
| |
|
| |
| /* Explain text */
| |
| .explain[title] {
| |
| text-decoration: none;
| |
| border-bottom: 1px dotted;
| |
| }
| |
|
| |
| /* New user message box */
| |
| .usermessage {
| |
| margin-top: 1em;
| |
| }
| |
|
| |
| /* Width fixes */
| |
| table {
| |
| max-width: 100%;
| |
| }
| |
| @media all and (max-width: 1350px) {
| |
| table.darker,
| |
| table.wikitable {
| |
| display: block;
| |
| overflow: auto;
| |
| max-width: max-content;
| |
| border: 0;
| |
| }
| |
| }
| |
|
| |
| /* Media player fix */
| |
| .wikitable .mediaContainer {
| |
| margin-top: 2px;
| |
| }
| |
| .video-js {
| |
| overflow: hidden;
| |
| display: block !important;
| |
| }
| |
| .vjs-time-tooltip {
| |
| display: none !important;
| |
| }
| |
| #file > .video-js {
| |
| display: inline-block !important;
| |
| }
| |
| .thumb .video-js {
| |
| margin-left: auto;
| |
| margin-right: auto;
| |
| }
| |
| .infobox .video-js {
| |
| margin-top: 1px;
| |
| min-width: 200px;
| |
| width: auto !important;
| |
| }
| |
|
| |
| /* Multimedia viewer */
| |
| .mw-mmv-image img {
| |
| background: #fff !important;
| |
| image-rendering: auto !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;
| |
| } | | } |
|
| |
|
Line 585: |
Line 197: |
| } | | } |
|
| |
|
| /* SiteNotice */ | | /* Site notice */ |
| @media all and (max-width: 1100px) { | | @media all and (max-width: 1100px) { |
| #siteNotice { | | #siteNotice { |
| font-size: 80%; | | font-size: 80%; |
| } | | } |
| }
| |
|
| |
| /* SiteNotice news */
| |
| #localNotice #editnews,
| |
| #localNotice p {
| |
| display: none;
| |
| }
| |
| #localNotice p:first-child {
| |
| display: block !important;
| |
| }
| |
| #localNotice #morenews {
| |
| display: block !important;
| |
| text-align: center;
| |
| font-weight: bold;
| |
| margin-top: 5px;
| |
| }
| |
| #rc-news p:not(:last-of-type) {
| |
| margin: 0;
| |
| } | | } |
|
| |
|
Line 687: |
Line 281: |
| padding: 2px 6px; | | padding: 2px 6px; |
| background: #F8F5F5; | | background: #F8F5F5; |
| color: black; | | color: #000; |
| } | | } |
| .page-nav a:hover { | | .page-nav a:hover { |
Line 694: |
Line 288: |
| } | | } |
| .g-give-all { | | .g-give-all { |
| background: white; | | background: #fff; |
| }
| |
| | |
| /* Custom wallpaper */
| |
| .opacity70 {
| |
| background: url(https://halo.wiki.gallery/images/c/ca/70opacity.png) repeat;
| |
| }
| |
| .odst {
| |
| background: url(https://halo.wiki.gallery/images/4/46/ODSTbg4.jpg) no-repeat center top !important;
| |
| }
| |
| .odst a {
| |
| color: #00BFFF;
| |
| }
| |
| .odst a:visited {
| |
| color: #00BFFF;
| |
| }
| |
| .rookie {
| |
| background: url(https://halo.wiki.gallery/images/c/c2/BG_-_ODST.png) no-repeat center top !important;
| |
| }
| |
| .rookie a {
| |
| color: #1AAAE7;
| |
| }
| |
| .rookie a:visited {
| |
| color: #1AAAE7;
| |
| }
| |
| .censor {
| |
| background: url(https://halo.wiki.gallery/images/4/48/ONI_Censored.jpg) no-repeat center top !important;
| |
| }
| |
| .censor a {
| |
| color: #C0C0C0;
| |
| }
| |
| .censor a:visited {
| |
| color: #C0C0C0;
| |
| }
| |
| .halo5 {
| |
| background: url(https://halo.wiki.gallery/images/8/87/Halo_5_-_Guardian_wallpaper.jpg) no-repeat center top !important;
| |
| }
| |
| .halo5 a {
| |
| color: #C0C0C0;
| |
| }
| |
| .halo5 a:visited {
| |
| color: #C0C0C0;
| |
| }
| |
| .doomed {
| |
| background: url(https://halo.wiki.gallery/images/6/61/HR_EliteExecution_Concept.jpg) no-repeat center top !important;
| |
| }
| |
| .doomed a {
| |
| color: #CD5C5C;
| |
| }
| |
| .doomed a:visited {
| |
| color: #CD5C5C;
| |
| }
| |
| .cea {
| |
| background: url(https://halo.wiki.gallery/images/3/3e/HCEA_Installation04Menu_Concept_1.jpg) no-repeat center top !important;
| |
| }
| |
| .cea a {
| |
| color: #800080;
| |
| }
| |
| .cea a:visited {
| |
| color: #800080;
| |
| }
| |
| .halo3 {
| |
| background: url(https://halo.wiki.gallery/images/e/ef/H3_-_Manual_interior.jpg) no-repeat center top !important;
| |
| }
| |
| .halo3 a {
| |
| color: #1AAAE7;
| |
| }
| |
| .halo3 a:visited {
| |
| color: #1AAAE7;
| |
| }
| |
| | |
| /* Image background */
| |
| a[href="/File:HOD_Icon_Hall_of_History.png"] img {
| |
| background: gray;
| |
| } | | } |
|
| |
|
Line 788: |
Line 309: |
| .mw-echo-ui-overlay { | | .mw-echo-ui-overlay { |
| z-index: 100; | | 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; |
| } | | } |