User:Opencooper/common.css

From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
/* License: CC0 */

a:visited { color: #884488; }

.mw-editsection {
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Color any non-English marked text green */
blockquote[lang], div[lang], span[lang], bdi[lang], tr[lang], td[lang], i[lang], table[lang], .Unicode {
	color: #009900;
}
.mw-content-ltr, div[lang=""] {
	color: initial;
}

tr[lang="en"], div[lang="en"]:not(.video-js) {
	color: inherit !important;
}
.video-js {
	color: #fff !important;
}

/* Make non-English text larger on hover */
#bodyContent span[lang="ja"]:hover {
	/* position: absolute; */
	font-size: 250%;
	padding: 20px;
	line-height: 2.2;
	font-family: "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", "游明朝", "YuMincho", "Yu Mincho", "MS Mincho", serif;
	color: green;
	background-color: black;
	/* box-shadow: 0 0 8px 8px white inset; */
	border-radius: 12px;
	cursor: none;
	transition-duration: 0.5s;
	transition-delay: 0.5s;
	transition-timing-function: ease-in;
}
#bodyContent span[lang="ja"] {
	transition-duration: 0.2s;
	transition-timing-function: ease-out;
}

/* Color interlanguage links yellow and underline them */
/* See also:
             * https://www.mediawiki.org/wiki/Manual:Interwiki_table
             * https://phabricator.wikimedia.org/source/mediawiki/browse/master/maintenance/interwiki.sql
             * https://en.wikipedia.org/w/api.php?action=query&meta=siteinfo&siprop=interwikimap
*/
#bodyContent .extiw {
	color: #d7b500 !important;
}

/* When we have lang on a link */
span[lang] .extiw, i[lang] a, span[lang] a {
	text-decoration: underline;
	text-decoration-color: #009900;
	text-decoration-style: wavy;
}

/* Add gray mark to left of improper uses of `:` to indent text */
dd {
    border-left: 3px solid #dedede;
    padding-left: 2px;
}
dt + dd, dd + dd {
	border-left: none;
	padding-left: 0;
}
dd ul { /* Ordered list inside of definition */
	border-left: 3px solid #dedede;
    padding-left: 2px;
}

/* Make breaks show up
br:after {
    color: red;
    text-decoration: underline;
    content: " <br> ";
    font-size: 80%;
}
br { content: "" }
*/

/* Color any bold text not in first paragraph orange */
p:not(.mw-empty-elt) ~ p b {
    color: orange;
}

#coordinates b {
	color: inherit;
}

#otherImage {
    border-style: solid;
    border-color: orange;
    border-width: 2px;
}

/* Definition pseudohead */
dl dt:only-child {
    color: orange;
}

/* Color any links in body orange */
p > .external {
	color: orange !important;
}

/* Add an orange line above adjacent lists */
#bodyContent ul + ul, #bodyContent dl + dl {
  border-top: 1px solid orange;
}
#bodyContent ul + .gallery, #bodyContent .portalbox + ul {
    border-top-style: none;
}

/* Hatnote stuff */
.hatnote > .hatnote {
	color: orange;
}

.selfref::after, .selfreference::after {
	content: " [selfref]";
}

/* Hide xtools gadget */
.page-Main_Page #xtools {
	display: none;
}

#xtools img {
	display: none;
}

#otherImage {
	padding: 4px;
	margin: 1px;
}

#kanjiInfo {
	font-size: 65%;
	font-family: "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", "游明朝", "YuMincho", "Yu Mincho", "MS Mincho", serif;
	color: teal;
	padding-left: 0.2em;
	padding-top: 0.1em;
	padding-bottom: 0.1em;
}

.kanjiInfo-latin-only {
	display: block !important;
}

.kanjiInfo-jawiki {
	border-left: 1px dotted black;
}

.kanjiInfo-wikidata {
	border-left: 1px dashed blue;
}

.kanjiInfo-wiktionary {
	border-left: 1px dashed red;
}

.unbound {
	/* Works if after a div, but Chrome doesn't have CSS support and doesn't
	   like divs in between <ruby> elements
	ruby-position: under; */
}

.mw-disambig {
	color: #58dbe8;
}
.hatnote .mw-disambig {
	color: #0645ad;
}

.mw-editsection, .mw-editsection-like {
	float: right;
	line-height: inherit;
}

/* Get rid of obnoxious talk page sigs */
/* TODO: do something about background-color as well */
.ns-talk span {
	text-shadow: unset !important;
}

#talkCount {
	color: gray;
}

.sayIpa {
	font-size: 75%;
	color: teal;
}

.reference {
    user-select: none;
}

/* Icon for Wiktionary links */
/*a[href^="https://en.wiktionary.org"].extiw {*/
/*    background: url(//upload.wikimedia.org/wikipedia/commons/thumb/c/c3/Wiktfavicon_en.svg/14px-Wiktfavicon_en.svg.png) no-repeat right;*/
/*    padding-right: 17px;*/
/*    backdrop-filter: grayscale(100%);*/
/*}*/

sup.reference:target {
    border: 2px solid blue;
    padding: 1px;
}

.editpage-head-copywarn {
	display: none;
}