MediaWiki:Common.css: Difference between revisions

m
no edit summary
No edit summary
mNo edit summary
 
(8 intermediate revisions by the same user not shown)
Line 40: Line 40:
word-wrap: break-word;
word-wrap: break-word;
overflow: hidden;
overflow: hidden;
}
#toc, .toc {
margin-bottom: 3px;
}
}


Line 49: Line 45:
margin-top: 0.2em;
margin-top: 0.2em;
margin-bottom: 0.8em;
margin-bottom: 0.8em;
}
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 67: Line 51:
}
}


#disambig {
.mw-parser-output > .col-begin {
border-top: 3px double #cccccc;
margin-top: 0.3em;
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 91: 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;
}
}


Line 119: Line 88:
.infoboxheading {
.infoboxheading {
font-size: 130%;
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;
}
}


Line 147: Line 96:
div.thumb {
div.thumb {
border-color: transparent;
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 */
/* 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 {
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 236: Line 154:
margin-top: 10px !important;
margin-top: 10px !important;
margin-bottom: 2.5px !important;
margin-bottom: 2.5px !important;
}
/* 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;
}
}


Line 266: Line 159:
#wikiEditor-ui-toolbar .oo-ui-buttonElement[rel="reference"] {
#wikiEditor-ui-toolbar .oo-ui-buttonElement[rel="reference"] {
display: none !important;
display: none !important;
}
/* 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 326: Line 174:
.item p {
.item p {
margin-bottom: 0.3em;
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 */
#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-htmlform-field-HTMLReCaptchaNoCaptchaField .mw-input {
margin-top: 1px;
}
.editOptions .g-recaptcha {
margin-bottom: 10px;
}
.mw-ui-vform {
width: 302px;
}
}


Line 370: 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;
}
/* Indicator icons */
.mw-indicators,
#mw-indicator-rc {
position: relative;
}
/* New user message box */
.usermessage {
margin-top: 1em;
}
/* Width fixes */
#content { overflow-x: clip; }
table, .thumbinner { max-width: 100%; }
@media all and (max-width: 1350px) {
.content-table > table.darker, .mw-parser-output > table.darker,
.content-table > table.wikitable, .mw-parser-output > table.wikitable {
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;
}
}
/* 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;
}
}