User:Kennethaw88/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.
/* Edit top section */
/* @noflip */
body.ltr .mw-editsection-expanded .mw-editsection-bracket:first-of-type,
body.rtl .mw-editsection-expanded .mw-editsection-bracket:not(:first-of-type) {
    margin-left: -0.25em;
    margin-right: 0.25em;
    color: #555;
}
 
/* @noflip */
body.rtl .mw-editsection-expanded .mw-editsection-bracket:first-of-type,
body.ltr .mw-editsection-expanded .mw-editsection-bracket:not(:first-of-type) {
    margin-right: -0.25em;
    margin-left: 0.25em;
    color: #555;
}

/* Hide beta link */
#pt-betafeatures {
    display: none !important;
}

/* Hide fundraiser banner, BLP notice, protection notice, disambig notice */
#centralNotice,
.editnotice_BLP_editintro,
.plainlinks .fmbox .fmbox-editnotice,
.flaggedrevs_editnotice,
.mw-editnotice,
.mw-editnotice-namespace,
.mw-editnotice-0,
#disambig-editintro {
  display: none !important;
}

/* Diffs with mixed design */
.diff td {
    padding: 0;
}

td.diff-context {
    color: black;
}

td.diff-marker {
    color: black;
    font-size: 1em;
    font-weight: normal;
}

td.diff-addedline,
td.diff-deletedline {
    font-size:92%;
    border-width:1px 4px 1px 4px;
}

td.diff-context {
    font-size:92%;
}

td.diff-addedline {
    border-color:#c9f0ff;
}

td.diff-addedline .diffchange {
    background:#c9f0ff;
    border-radius: 0;
}

td.diff-deletedline {
    border-color:#ffff9c
}

td.diff-deletedline .diffchange {
    background: #ffff9c;
    border-radius: 0;
}

/* Display reference on hover */
.referencetooltip {
    position: absolute;
    list-style: none;
    list-style-image: none;
    opacity: 0;
    font-size: 10px;
    margin: 0;
    z-index: 5;
    padding: 0;
}
.referencetooltip li {
    border: #080086 2px solid;
    max-width: 260px;
    padding: 10px 8px 13px 8px;
    margin: 0;
    background-color: #F7F7F7;
    -moz-box-shadow: 2px 4px 2px rgba(0,0,0,0.3);
    -webkit-box-shadow: 2px 4px 2px rgba(0,0,0,0.3);
    box-shadow: 2px 4px 2px rgba(0,0,0,0.3);
}
.referencetooltip li+li {
    margin-left: 7px;
    margin-top: -2px;
    border: 0;
    padding: 0;
    height: 3px;
    width: 0;
    background-color: transparent;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-top: 12px #080086 solid;
    border-right: 7px transparent solid;
    border-left: 7px transparent solid;
}
.referencetooltip>li+li::after {
    content: '';
    border-top: 8px #F7F7F7 solid;
    border-right: 5px transparent solid;
    border-left: 5px transparent solid;
    margin-top: -12px;
    margin-left: -5px;
    z-index: 1;
    height: 0;
    width: 0;
    display: block;
}
.client-js body .referencetooltip li li {
    border: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    height: auto;
    width: auto;
    margin: auto;
    padding: 0;
    position: static;
}
.RTflipped {
    padding-top: 13px;
}
.referencetooltip.RTflipped li+li {
    position: absolute;
    top: 2px;
    border-top: 0;
    border-bottom: 12px #080086 solid;
}
.referencetooltip.RTflipped li+li::after {
    border-top: 0;
    border-bottom: 8px #F7F7F7 solid;
    position: absolute;
    margin-top: 7px;
}
.RTsettings {
    float: right;
    height: 16px;
    width: 16px;
    cursor: pointer;
    background-image: url(//upload.wikimedia.org/wikipedia/commons/e/ed/Cog.png);
    margin-top: -9px;
    margin-right: -7px;
    -webkit-transition: opacity 0.15s;
    -moz-transition: opacity 0.15s;
    -o-transition: opacity 0.15s;
    -ms-transition: opacity 0.15s;
    transition: opacity 0.15s;
    opacity: 0.6;
    filter: alpha(opacity=60);
}
.RTsettings:hover {
    opacity: 1;
    filter: alpha(opacity=100);
}
.RTTarget {
    border: #080086 2px solid;
}

/* Hide section link icon */
.mw-headline-anchor {
    display: none;
}

/* Custom colors for notification icons *//*
.mw-echo-unread-notifications {
    background-color: #208870 !important;
    color: #ffffff !important;
}

.mw-echo-unseen-notifications {
    background-color: #208870 !important;
}

.mw-echo-alert {
    background-color: #208870 !important;
    color: #ffffff !important;
}

#pt-notifications-alert .mw-echo-notifications-badge, #pt-notifications-message .mw-echo-notifications-badge {
    border-radius: 0.2em;
    background-color: #D2D2D2;
    background-position: 0.12em 0.1em;
    font-size: 1.125em;
    font-weight: bold;
    color: #FFF;
    cursor: pointer;
    text-decoration: none;
    margin-top: -0.2em;
    display: inline-block;
    padding: 0.12em 0.37em 0.12em 1.47em;
    height: 1.05em;
    min-height: 1.05em;
    background-size: 1.1em auto;
    background-repeat: no-repeat;
    opacity: 1 !important;
    width: auto;
    min-width: 0;
    position: static;
    top: auto;
    background-image: linear-gradient(transparent,transparent),url(data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%0A%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%20%20%3Cpath%20d%3D%22M17.5%2014V9c0-3-2.3-5-5.5-5S6.5%206%206.5%209v5c0%202%200%203-2%203v1h15v-1c-2%200-2-1-2-3zM12%2020H9c0%201%201.6%202%203%202s3-1%203-2h-3z%22%2F%3E%0A%3C%2Fsvg%3E%0A);
}*/
/*#pt-notifications-alert .oo-ui-icon-bell {
	display: none !important;
}*//*
#pt-notifications-alert .mw-echo-notifications-badge::before {
	display: none !important;
}
#pt-notifications-alert .mw-echo-notifications-badge:hover, #pt-notifications-alert .mw-echo-notifications-badge:active, #pt-notifications-alert .mw-echo-notifications-badge:focus,
#pt-notifications-message .mw-echo-notifications-badge:hover, #pt-notifications-message .mw-echo-notifications-badge:active, #pt-notifications-message .mw-echo-notifications-badge:focus {
    background-color: #c2c2c2 !important;
}*/

/* Remove redundant notification *//*
#pt-notifications-message, #pt-notifications-notice {
    display: none !important;
}*/
#pt-notifications-alert .mw-echo-notifications-badge.oo-ui-flaggedElement-unseen::after,
#pt-notifications-alert .mw-echo-notifications-badge.mw-echo-unseen-notifications::after,
#pt-notifications-notice .mw-echo-notifications-badge.oo-ui-flaggedElement-unseen::after,
#pt-notifications-notice .mw-echo-notifications-badge.mw-echo-unseen-notifications::after,
#pt-notifications-alert .mw-echo-notifications-badge::after,
#pt-notifications-notice .mw-echo-notifications-badge::after
{
	background-color: #208870 !important;
}

/* Hide new pages sidebar */
#mwe-pt-toolbar {
    display: none;
}

/* Hide Help desk navigation box? */
#HD-pageNavBox{
    display: none !important;
}

/* Non-obtrusive cite errors */
.mw-ext-cite-error {
    font-size: 100% !important;
}

/* Edit section links on left */
.mw-editsection,
.mw-editsection-like {
    float: none !important;
    margin-left: 1em;
}

/* Remove padding and blue hightlighting from edit summary box */
input#wpSummary {
	padding: 0.1em !important;
	border: 1px solid #a2a9b1 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	font-family: sans-serif !important;
}

input#wpSummary:focus,
input#wpSummary:active {
	outline: 0;
	border-color: inherit !important;
	box-shadow: none !important;
}

/* Make sysop detector not so huge */
.detected-userrights {
	font-size: 70%;
}

/* Clean up edit summary */
 .oo-ui-fieldLayout-header {
 	padding: 0 0;
 }
 .oo-ui-buttonElement-button {
 	background-image: none !important;
 	background-color: #ddd !important;
 	border: 1px solid #000 !important;
 	border-radius: 0 !important;
 	padding: 0 0.3em !important;
 	color: #000 !important;
 	line-height: 1.5em !important;
 	font-size: 127%;
 }
 .oo-ui-labelElement-label {
 	color: #002bb8 !important;
 }
 
 /* MoreMenu style? */
 .ca-menu {
    background-color: #EEEEEE;
    border: 1px solid #AAAAAA;
    border-collapse: collapse;
    color: #638C9C;
    font: 14px/22px Arial, Helvetica, sans-serif;
    font-size: 10px;
    padding: 0em .8em .3em .5em;
    position: absolute;
    width: 100px;
    z-index: 1000;
}
.ca-menu ul {
    line-height: 1.5em;
    list-style-image: none;
    list-style-type: square;
}
.ca-menu ul li {
    margin: 0em;
    padding: 0em;
}
.ca-menu ul li a {
    color: #002BB8;
    text-decoration: none;
}
.ca-menu ul li a:hover {
    text-decoration: underline;
}
.ca-menu ul li.ca-disabled {
    color: #777777;
    cursor: default;
}

/* Hide useless tags */
.mw-tag-markers {
	display: none !important;
}

/* Don't use light grey text on white background */
.mw-advancedSearch-fieldContainer .oo-ui-labelElement > .oo-ui-fieldsetLayout-header > .oo-ui-labelElement-label {
    color: #000000;
}

/* Hide extra commons tabs */
.oo-ui-menuLayout-menu {
	display: none !important;
}

.wbmi-tabs-container .oo-ui-panelLayout-framed {
	display: none !important;
}

.diff-editfont-monospace .diff-addedline,
.diff-editfont-monospace .diff-deletedline,
.diff-editfont-monospace .diff-context {
  font-size: 100%;
}

/* Hide special pages, printable versions links */
#t-specialpages, #t-print {
    display: none !important;
}

/* Hide Media Viewer button on file pages */
div.mw-ui-button-group.mw-mmv-filepage-buttons {
	display: none !important;
}

/* Hide watch page button and "permanent" drop-down */
#mw-editpage-watchlist-expiry, #mw-editpage-watch {
	display: none !important;
}