Jump to content

User:DavidL/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)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* Dark theme 463 */
@import url("https://meta.wikimedia.org/w/index.php?title=User:DavidL/darktheme.css&ctype=text/css&action=raw") screen;

@import url("https://fr.wikibooks.org/w/index.php?title=MediaWiki:Gadget-JournalEnTable.css&ctype=text/css&action=raw");

body.skin-vector.skin-vector-legacy .tdg-editscreen-main {
  text-align: right;
}

.searchmatch {
    background-color: #c11;
}

.mw-changeslist-legend {
   display: none;
}

/* Fix for the bug where indicators are shifted to the bottom when notice displayed */
body .mw-dismissable-notice, body #centralNotice {
    border: solid transparent 2px;
}

table > thead {
  position: sticky;
  top: 0px;
}

body .mwe-math-fallback-image-inline, body .mwe-math-fallback-image-display {
	/*background-color: #ccc !important;*/
	filter: none;
}

//// Fix monobook for all wikis

body.skin-monobook div#globalWrapper div#column-content div#content {
    margin-top: 50px !important;
}

body.skin-monobook #p-cactions .pBody {
    top: 14px !important;
    position: relative !important;
}

body.skin-monobook #p-cactions li {
    padding-bottom: 0.3em !important;
}

////////////////////////////////////////////////

#pt-betafeatures { display: none !important; }

.listing-metadata {
    font-size: 75%;
    font-style: italic;
}

.darkmode { filter: invert( 1 ) hue-rotate( 180deg ) }

.tdg-editscreen-main {
	position: absolute;
	top: -55px;
	right: 0px;
}

.skin-monobook .tdg-editscreen-main {
	top: 10px;
	right: 20px;
}


.skin-monobook td.diff-addedline, .skin-monobook td.diff-deletedline, .skin-monobook td.diff-context {
	font-size: 100%;
}

#utcdate {
	position: absolute;
	left: 36px;
	top: 2px;
}

.mw-firstlink:before{content:"⏮";}
.mw-lastlink:after{content:"⏭";}
.mw-prevlink:before{content:"⏪";}
.mw-nextlink:after{content:"⏩";}


/* --------------------------------- */