User:Inductiveload/common.css

From Wikisource
Jump to navigation Jump to search
Note: After saving, changes may not occur immediately. Click here to learn how to bypass your browser's cache.
  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (Cmd-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (Cmd-Shift-R on a Mac)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Clear the cache in Tools → Preferences

For details and instructions about other browsers, see Wikipedia:Bypass your cache.

@charset "UTF-8";

/*@import "//en.wikisource.org/w/index.php?title=Mediawiki:Gadget-navpop.css&action=raw&ctype=text/css";*/

a[accesskey]:before {
    content: " " attr(accesskey) " ";
    text-transform: uppercase;
    white-space: pre;
    font-family: sans-serif;
    margin-right: 0.5ex;
}

/* hide waste of space editnotice namespace thing */
.mw-changeslist-legend,
/*#editnotice-area,*/
#editpage-copywarn,
.mw-newarticletext,
.ns-828 #editpage-specialchars,
#p-logo,
#pt-betafeatures {
	display: none !important;
}

/* mw-editfont-san-serif, mw-editfont-serif, or mw-editfont-monospace 
 * depending on Preferences/Editing settings and your fonts */
.mw-editfont-serif {
	font-size: 120%;
}

#wpprpindex-Pages {
	min-height: 15em;
}

/* small page titles */
.ns-104 #firstHeading {
	font-size: 1.2rem;
}

.previewnote .warningbox {
	display: none;
}

/*
 * Top/bottom layout in Page namespace
 */
 /*
.prp-page-content {
	width:100%;
	float: none;
}
.prp-page-image {
	width:80%;
	margin: 0 auto;
	float: none;
}*/

/* minerva skin */

/* reinstate redlinks in tabs */
/*
.minerva__tab-container .minerva__tab.new,
.minerva__tab-container .minerva__tab.new:visited {
	color: #dd3333;
}*/

/* Magic templates */
#topicmatcher {
    display: inline !important;
}

/*.prp-page-container {*/
/*    display: flex;*/
/*    justify-content: space-between;*/
/*}*/

/* only when horizontal */
/*.prp-page-container .prp-page-image {*/
/*    height: auto !important;*/
/*}*/

.mw-tag-mw-manual-revert .mw-title::before,
.mw-tag-mw-manual-revert .mw-contributions-title::before {
    content: '←';
}

.mw-tag-mw-reverted .mw-title::before,
.mw-tag-mw-reverted .mw-contributions-title::before {
	content: '⇸';
	color: red;
}

.mw-tag-mw-reverted {
    opacity: 0.5;
}

/* highlight "old" changes */
.mw-changeslist-line:not(.mw-changeslist-last) .mw-changeslist-date {
    font-style: italic;
}

.mw-indicators > * {
	padding: 0 3px;
}

/* prettification for LintHint (it uses on-element inline CSS, hence the importants) */
.linthint-collapsed {
    border-radius: 3px !important;
    padding: 3px !important;
    line-height: 1.2 !important;
    font-size: inherit !important;
    background-color: #ffe867 !important;
}

.linthint-box {
    background-color: #ffe867 !important;
    border-radius: 3px !important;
}

.linthint-fine {
    background-color: #90ff90 !important; /* green */
}

/* Handy link icons */

a.external[href^="https://archive.org"] {
    background: url("//upload.wikimedia.org/wikipedia/commons/thumb/1/13/Internet_Archive_7x8px.svg/7px-Internet_Archive_7x8px.svg.png") no-repeat right;
    padding-right: 10px;
}

a.external[href^="https://www.worldcat.org"],
a.external[href^="https://worldcat.org"]  {
    background: url("//upload.wikimedia.org/wikipedia/commons/thumb/7/76/Worldcat_logo_16px.png/12px-Worldcat_logo_16px.png") no-repeat right;
    padding-right: 14px;
}

a.external[href$=".pdf" i],
a.external[href*=".pdf?" i],
a.external[href*=".pdf#" i] {
	background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat right;
	padding-right: 18px;
}