| Line 933: |
Line 933: |
| | .wraplinks a { | | .wraplinks a { |
| | white-space: normal; | | white-space: normal; |
| − | }
| |
| − |
| |
| − | /* Increase the height of the image upload box */
| |
| − | #wpUploadDescription {
| |
| − | height: 13em;
| |
| − | }
| |
| − |
| |
| − | /* Minimum thumb width */
| |
| − | .thumbinner {
| |
| − | min-width: 100px;
| |
| − | }
| |
| − |
| |
| − | /* Prevent floating boxes from overlapping any category listings,
| |
| − | file histories, edit previews, and edit [Show changes] views. */
| |
| − | #mw-subcategories, #mw-pages, #mw-category-media,
| |
| − | #filehistory, #wikiPreview, #wikiDiff {
| |
| − | clear: both;
| |
| − | }
| |
| − |
| |
| − | /* Selectively hide headers in WikiProject banners */
| |
| − | /* TemplateStyles */
| |
| − | .wpb .wpb-header {
| |
| − | display: none;
| |
| − | }
| |
| − |
| |
| − | .wpbs-inner .wpb .wpb-header {
| |
| − | display: table-row;
| |
| − | }
| |
| − |
| |
| − | .wpbs-inner .wpb-outside {
| |
| − | display: none; /* hide things that should only display outside shells */
| |
| − | }
| |
| − |
| |
| − | /* Styling for Abuse Filter tags */
| |
| − | .mw-tag-markers {
| |
| − | font-style: italic;
| |
| − | font-size: 90%;
| |
| − | }
| |
| − |
| |
| − | /* Hide stuff meant for accounts with special permissions. Made visible again in
| |
| − | [[MediaWiki:Group-checkuser.css]], [[MediaWiki:Group-sysop.css]], [[MediaWiki:Group-patroller.css]],
| |
| − | [[MediaWiki:Group-templateeditor.css]], [[MediaWiki:Group-extendedmover.css]],
| |
| − | [[MediaWiki:Group-extendedconfirmed.css]], and [[Mediawiki:Group-autoconfirmed.css]]. */
| |
| − | .checkuser-show,
| |
| − | .sysop-show,
| |
| − | .patroller-show,
| |
| − | .templateeditor-show,
| |
| − | .extendedmover-show,
| |
| − | .extendedconfirmed-show,
| |
| − | .autoconfirmed-show,
| |
| − | .user-show {
| |
| − | display: none;
| |
| − | }
| |
| − |
| |
| − | /* Hide the redlink generated by {{Editnotice}},
| |
| − | this overrides the ".sysop-show { display: none; }" above that applies
| |
| − | to the same link as well. See [[phab:T45013]]
| |
| − |
| |
| − | Hide the images in editnotices to keep them readable in VE view.
| |
| − | Long term, editnotices should become a core feature so that they can be designed responsive. */
| |
| − | .ve-ui-mwNoticesPopupTool-item .editnotice-redlink,
| |
| − | .ve-ui-mwNoticesPopupTool-item .mbox-image,
| |
| − | .ve-ui-mwNoticesPopupTool-item .mbox-imageright {
| |
| − | display: none !important;
| |
| − | }
| |
| − |
| |
| − | /* Remove bullets when there are multiple edit page warnings */
| |
| − | ul.permissions-errors > li {
| |
| − | list-style: none none;
| |
| − | }
| |
| − | ul.permissions-errors {
| |
| − | margin: 0;
| |
| − | }
| |
| − |
| |
| − | /* Generic class for Times-based serif, texhtml class for inline math */
| |
| − | .times-serif,
| |
| − | span.texhtml {
| |
| − | font-family: "Nimbus Roman No9 L", "Times New Roman", Times, serif;
| |
| − | font-size: 118%;
| |
| − | line-height: 1;
| |
| − | }
| |
| − | span.texhtml {
| |
| − | white-space: nowrap;
| |
| − | }
| |
| − | span.texhtml span.texhtml {
| |
| − | font-size: 100%;
| |
| − | }
| |
| − | span.mwe-math-mathml-inline {
| |
| − | font-size: 118%;
| |
| − | }
| |
| − |
| |
| − | /* Force tabular and lining display for digits and texhtml */
| |
| − | .digits,
| |
| − | .texhtml {
| |
| − | -moz-font-feature-settings: "lnum", "tnum", "kern" 0;
| |
| − | -webkit-font-feature-settings: "lnum", "tnum", "kern" 0;
| |
| − | font-feature-settings: "lnum", "tnum", "kern" 0;
| |
| − | font-variant-numeric: lining-nums tabular-nums;
| |
| − | font-kerning: none;
| |
| − | }
| |
| − |
| |
| − | /* Make <math display="block"> be left aligned with one space indent for compatibility with style conventions */
| |
| − | .mwe-math-fallback-image-display,
| |
| − | .mwe-math-mathml-display {
| |
| − | margin-left: 1.6em !important;
| |
| − | margin-top: 0.6em;
| |
| − | margin-bottom: 0.6em;
| |
| − | }
| |
| − | .mwe-math-mathml-display math {
| |
| − | display: inline;
| |
| − | }
| |
| − |
| |
| − | /* Fix styling of transcluded prefindex tables */
| |
| − | table#mw-prefixindex-list-table,
| |
| − | table#mw-prefixindex-nav-table {
| |
| − | width: 98%;
| |
| − | }
| |
| − |
| |
| − | /* Make it possible to hide checkboxes in <inputbox> */
| |
| − | .inputbox-hidecheckboxes form .inputbox-element,
| |
| − | .inputbox-hidecheckboxes .mw-ui-checkbox {
| |
| − | display: none !important;
| |
| − | }
| |
| − |
| |
| − | /* Work-around for [[phab:T25965]] / [[phab:T100106]] (Kaltura advertisement) */
| |
| − | .k-player .k-attribution {
| |
| − | visibility: hidden;
| |
| − | }
| |
| − |
| |
| − | /* Move 'play' button of video player to bottom left corner */
| |
| − | .PopUpMediaTransform a .play-btn-large {
| |
| − | margin: 0;
| |
| − | top: auto;
| |
| − | right: auto;
| |
| − | bottom: 0;
| |
| − | left: 0;
| |
| − | }
| |
| − |
| |
| − | /* Hide FlaggedRevs notice UI when there are no pending changes */
| |
| − | .flaggedrevs_draft_synced,
| |
| − | .flaggedrevs_stable_synced {
| |
| − | display: none;
| |
| − | }
| |
| − |
| |
| − | /* Force imgs in galleries to have borders by wrapping them in class=bordered-images */
| |
| − | .bordered-images img {
| |
| − | border: solid #ddd 1px;
| |
| − | }
| |
| − |
| |
| − | /* Gallery styles background changes are restricted to screen view. In printing we should avoid applying backgrounds. */
| |
| − | @media screen {
| |
| − | /* The backgrounds for galleries. */
| |
| − | #content .gallerybox div.thumb {
| |
| − | /* Light gray padding */
| |
| − | background-color: #f8f9fa;
| |
| − | }
| |
| − |
| |
| − | /* Put a chequered background behind images, only visible if they have transparency.
| |
| − | '.filehistory a img' and '#file img:hover' are handled by MediaWiki core (as of 1.19) */
| |
| − | .gallerybox .thumb img {
| |
| − | background: #fff url(//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png) repeat;
| |
| − | }
| |
| − | /* But not on articles, user pages, portals or with opt-out. */
| |
| − | .ns-0 .gallerybox .thumb img,
| |
| − | .ns-2 .gallerybox .thumb img,
| |
| − | .ns-100 .gallerybox .thumb img,
| |
| − | .nochecker .gallerybox .thumb img {
| |
| − | background-image: none;
| |
| − | }
| |
| − |
| |
| − | }
| |
| − |
| |
| − | /* Display "From Wikipedia, the free encyclopedia" in skins that support it, do not apply to print mode */
| |
| − | @media screen {
| |
| − | #siteSub {
| |
| − | display: block;
| |
| − | }
| |
| − | }
| |
| − |
| |
| − | /* Temporary measures to remove links in sidebar T255381*/
| |
| − | #t-upload {
| |
| − | display: none;
| |
| − | }
| |
| − | #n-shoplink {
| |
| − | display: none;
| |
| | } | | } |