User:Trustable/global.css

From Meta, a Wikimedia project coordination wiki

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* Fix text color */
input[type="text"], textarea {
  color: black;
  background: white;
}

label, input[type=submit] {
  cursor: pointer;
}

/* Hide annoying notifications */
#siteNotice, #mw-notification-area > *, .mw-specialpage-summary, #centralNotice {
  display: none;
}

/* Regular font */
body.mediawiki, body.mediawiki * {
  font-family: sans-serif ! important;
}

/* Editor font */
#wpTextbox1, #wpUploadDescription {
  font-family: monospace ! important;
}

/* Page title text box font */
#wpNewTitleMain * {
  font-family: monospace ! important;
}

#bodyContent, .mw-body-content, .mw-parser-output {
  font-size: 13px! important;
}

body.mediawiki div#content h2 {
  margin-top: 0.6em;
  padding-bottom: 0.1em;
}

body.mediawiki div#content h3 {
  padding-top: 0.4em ! important;
  padding-bottom: 0 ! important;
  margin: 0 ! important;
}

body.mediawiki div#content p {
  margin-top: 0.3em ! important;
  margin-bottom: 0.3em ! important;
}

#footer {
  display: none ! important;
}

.mw-body {
  padding: 0.5em 1em 0.5em ! important;
}


/* Filter interwiki links to relvant languages */
#p-lang > div > ul > li {
  display: none;
}
#p-lang > div > ul > li.interwiki-en,
#p-lang > div > ul > li.interwiki-nl,
#p-lang > div > ul > li.interwiki-de,
#p-lang > div > ul > li.interwiki-fr,
#p-lang > div > ul > li.interwiki-sv,
#p-lang > div > ul > li.interwiki-da,
#p-lang > div > ul > li.interwiki-it,
#p-lang > div > ul > li.interwiki-es,
#p-lang > div > ul > li.interwiki-ru,
#p-lang > div > ul > li.interwiki-pl,
#p-lang > div > ul > li.interwiki-vi,
#p-lang > div > ul > li.interwiki-pt {
  display: block;
}

/* Hide link to edit Wikidata links */

.wb-langlinks-edit {
  display: none;
}

/* Hide link to create page with VisualEditor */

.mw-search-createlink .plainlinks {
  display: none;
}
.mw-search-createlink a.new::before {
  content: "per ";
}
.mw-search-createlink a.new::after {
  content: " erstellen";
}

/* Hide list of used templates */

.templatesUsed {
  display: none;
}

/* Hide some links on left side */

#p-coll-print_export,
#p-Mitmachen,
#p-interaction,
#t-cite {
  display: none;
}

/* Style for the link to wikidata item on the left */

#t-wikibase {
  font-weight: bold;
}

/* Make "Nicht gesichtet" more visible */

#contentSub #mw-fr-revisiontag {
  padding: 7px ! important;
  background: yellow ! important;
  margin-top: -5px;
}

/* Add space arround redirection link */

.mw-redirectedfrom {
  display: inline-block;
  margin-top: 0.5em;
}

.mw-redirectedfrom > a {
  margin-left: 0.2em;
  margin-right: 0.4em;
}

/* Style of BKL links */

a.mw-disambig,
a.mw-redirect.mw-disambig {
  background-color: #FF9191 ! important;
}

/* Style of redirect links */

.mw-body-content a.mw-redirect,
.mw-redirectedfrom > a {
  background-color: #B5FFB5 ! important;
}

/* Hide 'revert' and 'thanks' buttons in watch list */

.mw-changeslist-line-inner-rollback {
  display: none;
}

/* Style of watch list */

.client-js .mw-special-Watchlist .mw-rcfilters-head, .client-js .mw-rcfilters-collapsed.mw-special-Watchlist .mw-rcfilters-head {
    min-height: 0;
}

.mw-changeslist-line-inner-tags, .mw-changeslist-line-inner-userTalkLink {
  display: none;
}

table.mw-enhanced-rc td {
  padding-bottom: 0.15em ! important;
}

span.mw-title > a {
  /*color: #0B0080;*/
  font-weight: normal ! important;
  display: inline-block;
  min-width: 23em;
}

.mw-newpages-pagename {
  display: inline-block;
  min-width: 23em;
  padding-left: 0.3em;
}

.mw-changeslist-line-watched span.mw-title > a {
  /*color: #0645AD ! important;*/
}

/* Review links on watch list and recent changes */

.mw-changeslist .mw-fr-reviewlink {
  background-color: yellow ! important;
}

/* Ungesichtete Änderungen */

.flaggedrevs-pending {
  background-color: #FFFF8E ! important;
}

/* Visited review links on watch list */

table.mw-changeslist-line-not-watched span.mw-fr-reviewlink {
  background-color: white ! important;
}

/* Filter section on watch list */

.client-js .mw-special-Watchlist .rcfilters-head {
  min-height: 0;
  margin-bottom: 15px;
}

/* Hide row with button to mark all changes as read and button to recall saved filters */

.mw-rcfilters-ui-watchlistTopSectionWidget-savedLinksTable {
  display: none;
}

/* Hide some buttons on history */
#pagehistory .mw-rollback-link {
  display: none;
}

/* Reduce vertical space between top bar and tabs */

#mw-page-base {
    height: 4.5em !important; /* default: 5em */
}
#right-navigation, #left-navigation {
    margin-top: 2em !important; /* default: 2.5em */
}

#wikEdSubmitButtonsWrapper {
  margin-left: 12em;
}

/* Anzeige von verwendeten Wikidata-Objekten */
.wikibase-entity-usage {
  display: none;
}

/* Hide tools in "What links here" */
.mw-whatlinkshere-tools {
  display: none;
}

/* Clean-up edit view */

.editButtons
.cancelLink,
.wikEdDiffButtonWrapper,
#editpage-copywarn,
.editpage-head-copywarn,
#wpWatchthis,
#mw-editpage-watch,
#wpDiff,
#wikEdToolbarWrapper,
#wikEdButtonBarFix,
#wikEdButtonBarTextify,
#wikEdButtonBarControl,
#wikEdButtonBarFind,
#wikEdClearSummary,
#wikEdEditHelp,
#specialchars > select,
#mw-edit-longpage-hint,
#enhanced-diff-live-button,
#wpSummaryLabel .oo-ui-fieldLayout-header,
#mw-editpage-watchlist-expiry {
  display: none !important;
}

/* Summary edit box */
input#wpSummary {
  padding: 5px;
  height: 32px;
  font-family: monospace ! important;
}
#wikEdSummaryWrapper {
  height: 35px;
}
#wikEdEditOptionsWrapper {
  margin-top: 10px;
}

/* Hide additional revert button */

#mw-fr-submit-reject {
  display: none;
}

/* Button/links to revert in red */

#mw-fr-submit-unaccept,
.mw-rollback-link a {
  color: red;
}

/* Diff colors */

.wDiffInsert,
.diff-addedline .diffchange,
.enhanced-diff-ins,
.wikEdDiffInsert {
  color: #222 ! important;
  font-weight: bold ! important;
  padding: 0.2em 1px ! important;
  border-radius: 0.25em ! important;
  background-color: #A5F7A5 ! important;
}
.wDiffDelete,
.diff-deletedline .diffchange,
.enhanced-diff-del,
.wikEdDiffDelete {
  color: #222 ! important;
  font-weight: bold ! important;
  padding: 0.2em 1px ! important;
  border-radius: 0.25em ! important;
  background-color: #FF9B9B ! important;
}

/* Enhanced diff buttons */
div.oo-ui-widget.oo-ui-widget-enabled.oo-ui-selectWidget.oo-ui-selectWidget-depressed.oo-ui-buttonSelectWidget {
  display: block;
  text-align: left;
  margin-left: 35px;
}
.schnark-diff-review-button-select .oo-ui-labelElement a.oo-ui-buttonElement-button {
  min-width: 170px;
}

/* Compact display of save button */
.editCheckboxes, .editButtons {
  display: inline-block;
	vertical-align: top;
}
.editCheckboxes {
  padding-top: 3px;
  margin-right: 40px;
	margin-left: 2px;
}
.editCheckboxes label {
  padding-top: 10px;
  padding-bottom: 10px;
}
.editButtons .oo-ui-buttonElement-button {
	min-width: 150px;
	margin-left: 5px;
	margin-right: 5px;
}
.mw-editform #wpSummaryWidget {
  margin-bottom: 8px;
}
.editOptions {
  padding: 7px;
  padding-bottom: 2px;
  margin-bottom: 8px;
}

/* Diff-Button an Save-Button anpassen */
.oo-ui-buttonGroupWidget .oo-ui-buttonElement-framed:last-child .oo-ui-buttonElement-button {
  border-radius: 2px;
}

/* Make buttons local diff bigger */
#mw-fr-submit-accept,
#mw-fr-submit-unaccept,
input.mw-history-compareselectedversions-button {
  min-width: 12em;
  height: 2.2em;
}

/* Vorschau */
#wikiPreview {
  border: 3px solid yellow;
  padding-left: 5px;
  padding-right: 5px;
}

div.previewnote, div.previewnote > div.mw-message-box {
  margin-bottom: 2px;
}

/* CodeMirror syntax highlighting */
.cm-mw-pagename {
  text-decoration: none;
}
.cm-mw-comment {
  color: #565656;
	background: #FFFAD3;
}
.cm-mw-section-header, .cm-mw-list, .cm-mw-apostrophes-bold, .cm-mw-apostrophes-italic {
  color: #E50000;
	font-weight: bold;
}
.cm-mw-link-bracket, .cm-mw-link-delimiter {
  font-weight: bold;
}
.cm-em {
  background: #EDEDED
}
.cm-mw-exttag-bracket, .cm-mw-exttag-name {
  font-weight: bold;
	color: #290;
}
.cm-mw-tag-ref {
  background: #DDFFDD;
}
.cm-mw-parserfunction-bracket, .cm-mw-parserfunction-name, .cm-mw-parserfunction-delimiter {
  color: #EA9023;
}

#Vorlage_Begriffskl.C3.A4rungshinweis {
  margin-bottom: 0 ! important;
}

/* Versionsunterschied */
.schnark-diff-review-button-select {
  display: block;
  text-align: center;
}

/* Hide "Diese Seite gehört zu 2 versteckten Kategorien:" */
.hiddencats {
  display: none;
}

/* Tables */

table.wikitable {
  margin-top: 0.5em !important;
  margin-bottom: 0.5em !important;
}

table.wikitable > tr > th, .wikitable > * > tr > th, table > * > tr.hintergrundfarbe5 > th, table > * > tr > th.hintergrundfarbe5, table.hintergrundfarbe5, .hintergrundfarbe5 {
  background-color: #E8E8E8;
}

/* Preformat & Code */

body.mediawiki pre, body.mediawiki pre *, body.mediawiki code {
  font-family: monospace ! important;
}

body.mediawiki pre, body.mediawiki code {
  background: #E5E5E5;
}

/* Editor */

.CodeMirror {
  line-height: 150% !important;
}
#wikiEditor-ui-toolbar > .tabs {
  display: none;
}

.wikiEditor-ui-top {
  background: white; /* Hide border-bottom of H1 */
}

form#editform {
  margin-top: -1px; /* Hide border-bottom of H1 */
}

/* Custom toolbar */

.customToolbar > a {
  display: inline-block;
  position: relative;
  box-sizing: border-box;

  min-width: 36px;
  height: 36px;
  
  padding: 5px;
  padding-top: 10px;
  font-size: 85%;
  vertical-align: top;
  text-align: center;

  border-right: 1px solid #E4E6EB;
  
  color: black;
  background-color: #F8F9FA;
  transition: background-color 100ms,color 100ms,border-color 100ms,box-shadow 100ms;
}

.customToolbar > a:hover {
  text-decoration: none;
  background: #E4E6EB;
}

.customToolbar > a.big {
  min-width: 80px;
}

.customToolbar > a > span {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 6px;
  right: 6px;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
}

/* Templates in WP:DE */

#Vorlage_Begriffsklärungshinweis, #Vorlage_Dieser_Artikel, #Vorlage_Weiterleitungshinweis {
  padding-top: 0.7em !important;
  padding-bottom: 0.7em !important;
  margin-bottom: 0.5em !important;
}
#Vorlage_Begriffsklärungshinweis > div.noviewer > img, #Vorlage_Dieser_Artikel > div.noviewer > img, #Vorlage_Weiterleitungshinweis > div.noviewer > img {
  vertical-align: top !important;
}

/* Fix overlapping coordinates with search field */
#coordinates {
  top: -20px !important;
}

/* Fix too much space under title */
h1#firstHeading {
  margin-bottom: 0 !important;
}
#contentSub, #contentSub2 {
  margin: 0 !important;
  font-size: 100%;
}
#mw-content-subtitle {
  margin: 0 !important;
}

/* Discussion pages */
.ext-discussiontools-init-section-authorCountLabel {
  display: none;
}
.mw-heading.mw-heading2.ext-discussiontools-init-section {
  margin-top: 15px;
  margin-bottom: 0;
}
.ext-discussiontools-visualenhancements-enabled .ext-discussiontools-init-section-metaitem {
  margin-top: 2px;
  margin-bottom: 2px;
}
body.mediawiki div#content .mw-heading.mw-heading2.ext-discussiontools-init-section > h2 {
  margin-top: 5px;
}

/* Timestamps on discussion pages */
.ext-discussiontools-init-timestamplink, .ext-discussiontools-init-timestamplink:visited, .ext-discussiontools-init-timestamplink:active {
  color: black !important;
  font-size: 85%;
  vertical-align: middle;
}

/* Search results */
#mw-content-text .mw-search-results {
  margin-top: 0;
}
.client-js .mw-search-form-wrapper {
  min-height: 0;
}
.mw-search-form-wrapper {
  margin-bottom: 0;
}
div.mw-search-result-data {
  display: none;
}
.searchResultImage td.searchResultImage-thumbnail {
  width: 120px;
  height: 65px;
}
.mw-search-results li {
  margin-bottom: 5px;
  margin-top: 5px;
}