User:Opencooper/highlightStrings.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.
/*
   This is the stylesheet for [[User:Opencooper/highlightStrings.js]].
   It is loaded automatically.
   
   License: CC0
*/
.oHL, .oHL-opt {
    border-style: solid;
    border-color: orange;
    border-width: 2px;
}
.oHL_disabled {
	border: none;
}
#oHL_hover {
	position: fixed;
	color: white;
	background-color: orange;
	padding: 0 4px;
}
#oHL_info {
	position: fixed;
	top: 5px;
	left: 5px;
	z-index: 1;
	background-color: orange;
	width: 160px;
	padding: 2px 4px;
}
/* Account for sticky header */
.skin-vector-2022 #oHL_info {
	top: calc(3.125rem + 5px);
}
/* Put on bottom right for mobile */
.skin-minerva #oHL_info {
	top: initial;
	left: initial;
	bottom: 5px;
	right: 5px;
}
.oHL_keyed {
    padding: 2px;
}
.oHL.oHL_keyed {
    border-color: tomato;
}
.oHL-opt.oHL_keyed {
    border-color: gold;
}
#oHL_results summary {
	font-weight: bold;
}
#oHL_results .summaryCount {
	font-weight: normal;
}
#oHL_results details p, #oHL_results details table {
	padding-left: 2em;
}
#oHL_results details:nth-child(1) td:nth-child(4) {
	text-align: right;
}
.oHL_wikitext-match {
	font-family: monospace;
}

.oHL_wikitext-match-text {
	text-decoration: underline;
	text-decoration-color: orange;
	text-decoration-thickness: 2px;
	text-underline-offset: 2px;
}

.oHL_i {
	text-decoration: overline solid red;
}
.oHL_i .oHL_piped {
	text-decoration: overline solid white;
}
.oHL_piped-pipe {
	font-weight: bold;
}
.oHL_trailingSpace {
	background-color: #efefeffc;
}
.oHL_refTable {
	text-align: center;
}
.oHL_refTable thead tr {
	position: sticky;
	inset-block-start: 0;
}
.oHL_refTable tr:hover td {
	background-color: #eaf3ff;
}
.oHL_unlinkedRef {
	color: rgb(32, 33, 34);
}
.oHL_error {
	color: red;
}
.oHL_warning {
	color: orange;
}
#oHL_info_class_name {
	font-weight: bold;
}
#oHL_info_class_desc code {
	background-color: #eda625;
	border: 1px solid #b3852f;
}
#oHL_info_arrows {
	float: right;
}
#oHL_info_left_arrow, #oHL_info_right_arrow {
	color: #0645ad;
	cursor: pointer;
}
#oHL_info_arrows .oHL_arrow_disabled {
	color: #9fa1af;
	cursor: not-allowed;
}
#oHL_uncommonFilters {
	margin: 0;
}
#oHL_uncommonFilters legend {
	padding: 0.1em;
}
.oHL_uncommonWordHidden {
	display: none;
}
#oHL_uncommonFilters label {
 	white-space: nowrap;
}
.oHL_filterDisabled .oHL_filterLabel {
	text-decoration: line-through;
}
.oHL_filterableWordHighlighted {
	outline-style: solid;
    outline-color: orange;
    outline-width: 2px;
}
.oHL_uncommonWordLowercase:not(.oHL_uncommonWordItalic, .oHL_uncommonWordQuote,
                               .oHL_uncommonWordWikilink, .oHL_uncommonWordReference,
                               .oHL_uncommonWordExternal) .oHL_uncommonWord {
    text-decoration: underline;
    text-decoration-color: orange;
    text-decoration-style: wavy;
}
#oHL_uncommon li {
	margin-bottom: .2em;
}
.oHL_uncommonSymbols {
    float: right;
    font-family: monospace;
}
.oHL_uncommonSymbols span {
    color: orange;
    border: 1px solid orange;
    margin: 1px;
    padding: 1px 5px;
    font-size: 110%;
}
#oHL_unbalanced .oHL_wikitext-match-text {
	color: orange;
}
.oHL_ruby rt {
	font-weight: normal;
}
.oHL_dupe_ref_active {
    outline-style: dashed;
    outline-color: green;
    outline-width: 2px;	
}