User:Opencooper/common.css
Appearance
Code that you insert on this page could contain malicious content capable of compromising your account. If you import a script from another page with "importScript", "mw.loader.load", "iusc", or "lusc", take note that this causes you to dynamically load a remote script, which could be changed by others. Editors are responsible for all edits and actions they perform, including by scripts. User scripts are not centrally supported and may malfunction or become inoperable due to software changes. A guide to help you find broken scripts is available. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump. This code will be executed when previewing this page. |
![]() | The accompanying .js page for this skin is at User:Opencooper/common.js. |
/* 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(/media/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 {
outline: solid 2px #36c;
}
.editpage-head-copywarn {
display: none;
}
:target ~ .vanchor-text {
background-color: gold !important;
}
.oHL_internalWarning {
display: block !important;
}