Jump to content

User:Kephir/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.
body.skin-vector #toctitle > h2 {
    font-size: 100% !important;
}

/* Turn off this idiotic blue stripe */
.mw-ui-input {
	box-shadow: none !important;
}

/* restore sanity in Flow */
.flow-board-header, .flow-board,
.flow-board-navigation {
	max-width: none !important;
}

.flow-container * {
	text-shadow: none !important;
}

.flow-post .flow-author .mw-usertoollinks {
	opacity: 1 !important;
}

/* turn off Typography Degradation */
body.skin-vector div#content {
    color: black;
}
body.skin-vector div#content h1,
body.skin-vector div#content h2,
body.skin-vector div#content #firstHeading,
body.skin-vector div#content .mw-editsection {
    font-family: inherit;
}
body.skin-vector div#content h1,
body.skin-vector div#content h2,
body.skin-vector div#content h3,
body.skin-vector div#content h4,
body.skin-vector div#content h5,
body.skin-vector div#content h6 {
    line-height: inherit;
    margin: 0;
    padding-top: 0.5em;
    padding-bottom: 0.17em;
}
body.skin-vector div#content #firstHeading {
    font-size: 1.6em;
    line-height: 1.2em;
    margin-bottom: 0.1em;
    padding-bottom: 0;
}
body.skin-vector div#content h1 {
    font-size: 188%;
    margin-bottom: 0.6em;
}
body.skin-vector div#content h2 {
    font-size: 150%;
    margin-bottom: 0.6em;
}
body.skin-vector div#content h3 {
    font-size: 132%;
}
body.skin-vector div#content h4 {
    font-size: 116%;
}
body.skin-vector div#content h5 {
    font-size: 108%;
}
body.skin-vector div#content h6 {
    font-size: 100%;
}

body.skin-vector .mw-body-content,
body.skin-vector #bodyContent {
    font-size: 0.8125em;
    line-height: 1.5em;
}

/* preview styling */
body.action-edit #wikiPreview .mw-content-ltr,
body.action-submit #wikiPreview .mw-content-ltr {
	padding: 0.4em 0.6em;
	background: #fbfbfb;
	border: 1px dashed #cbcbcb;
}

/* columns in the watchlist editor */
body.mw-special-EditWatchlist form table,
body.mw-special-EditWatchlist form tr,
body.mw-special-EditWatchlist form td,
body.mw-special-EditWatchlist form tbody {
	display: block;
}
 
body.mw-special-EditWatchlist form td.mw-input {
	column-width: 15em;
	-webkit-column-width: 15em;
	-moz-column-width: 15em;
}

/* Unclutter signature annotations */
.kephir-unclutter-minisig {
	font-family: sans-serif;
	font-weight: normal;
}

.kephir-unclutter-minisig,
.kephir-unclutter-minisig > .dash {
	background: rgba(0, 0, 0, 0.075);
}

div > .lqt-thread-signature .kephir-unclutter-minisig {
	background: none;	
}

.kephir-unclutter-minisig > .annotation {
	font-size: smaller;
}

/* Comments in Local Time */
.localcomments {
	color: #666;
	font-family: sans-serif;
	text-shadow: none;
	font-size: smaller !important;
	font-weight: normal;
	background: transparent;
}
 
small .localcomments, .autosigned .localcomments {
	font-size: inherit !important;
}

/* LiquidThreads */
.lqt-post-wrapper {
	padding: 0.25em 0.75em 0.75em !important;
}
 
.lqt_post_new_message {
	padding: 0.25em 0.75em 0 !important;
	margin: -0.25em -0.75em 0.75em !important;
	border: none;
	outline: 2pt solid #FA6;
	background-color: rgba(255, 170, 102, 0.2) !important;
	width: 100%;
}
 
.thread-collapse-control {
	float: left;
	margin-left: -1.4em;
	width: 10px;
	height: 10px;
}
 
.thread-collapse-control > a {
	background: #e8e8e8 !important;
	border: 2px solid silver;
	opacity: 0;
	width: 100%;
	height: 100%;
	background-position: center !important;
	transition: opacity 200ms ease-in-out;
	-moz-transition: opacity 200ms ease-in-out;
	-webkit-transition: opacity 200ms ease-in-out;
}
 
.lqt-post-wrapper:hover .thread-collapse-control > a {
	opacity: 0.7;
}
 
.lqt-post-wrapper:hover .thread-collapse-control:hover > a {
	opacity: 1;
}
 
.thread-collapse-control > a.thread-control-collapsed {
	background: #999 !important;
	display: block;
	opacity: 1;
}
 
.lqt-command-reply a {
	padding-left: 0 !important;
	background-image: none !important;
}
 
.lqt-thread-toolbar-edited-author,
.lqt-thread-toolbar-edited-others {
	border: 1px solid gray;
	margin: 0.5em 0;
	padding: 0.5em;
	background: rgba(255,255,255,0.3);
}

/* tab size */
textarea, pre,
textarea#wpTextbox1 + div:last-child /* Dot's syntax highlighter */ {
	tab-size: 4;
	-moz-tab-size: 4;
}

/* bidi-isolate string literals */
.source-lua .st0 {
	unicode-bidi: -moz-isolate;
	unicode-bidi: -webkit-isolate;
	unicode-bidi: isolate;
}

/* Ace editor */
div.ace_editor {
	background: white;	
	font-size: 9pt;
	font-family: 'Liberation Mono', monospace;	
}

div.ace_editor .ace_gutter {
	font-size: 8pt;
	font-family: 'DejaVu Serif', serif;
}

div.ace_editor .ace_marker-layer .ace_selection {
	background: #e1e1e1;	
}

div.ace_editor .ace_line .ace_keyword,
div.ace_editor .ace_line .ace_storage,
div.ace_editor .ace_line .ace_constant.ace_language {
	font-weight: bold;
	color: navy;
	background: none;
}

div.ace_editor .ace_line .ace_regexp {
	color: #3F7F3F;
	background: #E0F0FF;
}

div.ace_editor .ace_line .ace_comment {
	color: #007f00;
	background: none;
}

div.ace_editor .ace_line .ace_string {
	color: #7f007f;
	background: none;
}