MediaWiki:Gadget-referenceTooltips.css
Jump to navigation
Jump to search
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.
.referencetooltip {
position: absolute;
list-style: none;
list-style-image: none;
opacity: 0;
font-size: 12px;
margin: 0;
z-index: 5;
padding: 0;
}
.referencetooltip li {
border: 1px;
border-radius: 4px;
max-width: 260px;
padding: 10px 8px 13px 8px;
margin: 0px;
background-color: var(--hswiki-header-background-color);
-webkit-box-shadow: rgba(10, 10, 10, 0.5) 2px 2px 3px;
-moz-box-shadow: rgba(10, 10, 10, 0.5) 2px 2px 3px;
box-shadow: rgba(10, 10, 10, 0.5) 2px 2px 3px;
color: var(--hswiki-general-color);
}
.referencetooltip li a { color: var(--hswiki-link-color-visited); }
.referencetooltip li a:hover { color: var(--hswiki-link-color-visited); }
.referencetooltip li a:visited { color: var(--hswiki-link-color-visited); }
.referencetooltip li+li {
margin-left: 7px;
margin-top: -2px;
border: 0;
padding: 0;
height: 3px;
width: 0px;
background-color: transparent;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
border-top: 12px black solid;
border-right: 7px transparent solid;
border-left: 7px transparent solid;
}
.referencetooltip>li+li::after {
content: '';
border-top: 8px #ffca6b solid;
border-right: 5px transparent solid;
border-left: 5px transparent solid;
margin-top: -12px;
margin-left: -5px;
z-index: 1;
height: 0px;
width: 0px;
display: block;
}
.client-js body .referencetooltip li li {
border: none;
-webkit-box-shadow: none;
-moz-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 black solid;
}
.referencetooltip.RTflipped li+li::after {
border-top: 0;
border-bottom: 8px #ffca6b solid;
position: absolute;
margin-top: 7px;
}
.RTsettings {
float: right;
height: 24px;
width: 24px;
cursor: pointer;
margin-top: -9px;
margin-right: -7px;
-webkit-transition: opacity 0.15s;
-moz-transition: opacity 0.15s;
-ms-transition: opacity 0.15s;
-o-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: black 2px solid;
}
.referencetooltip .nobreak { white-space: normal; }