NorthOwl (обсуждение | вклад) Нет описания правки |
NorthOwl (обсуждение | вклад) Нет описания правки |
||
Строка 86: | Строка 86: | ||
.RTTarget { |
.RTTarget { |
||
background-color: #DDEEFF; |
background-color: #DDEEFF; |
||
+ | } |
||
+ | |||
+ | /* Classes used by templates */ |
||
+ | .nowrap { |
||
+ | white-space: nowrap; |
||
} |
} |
Версия от 12:25, 30 сентября 2020
/* Ported from https://ru.wikipedia.org/wiki/MediaWiki:Gadget-referenceTooltips.css */
.referencetooltip {
position: absolute;
list-style: none;
list-style-image: none;
opacity: 0;
font-size: 12px;
margin: 0;
z-index: 5;
padding: 0;
}
.referencetooltip li {
background: rgba(0, 0, 0, 0.9);
border-bottom: 2px solid #FFA500;
-webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
-moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
margin: 0;
padding: 8px 9px;
line-height: 18px;
max-width: 300px;
color: #DDDDDD;
}
.referencetooltip li + li {
margin-left: 7px;
margin-top: -1px;
border: 0;
padding: 0;
height: 3px;
width: 0;
background-color: transparent;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
border-top: 12px solid #FFA500;
border-right: 7px solid transparent;
border-left: 7px solid transparent;
}
.referencetooltip li + li::after {
z-index: 111;
content: '';
border: 6px solid transparent;
border-bottom: 0;
border-top: 8px solid #FFA500;
height: 0;
width: 0;
display: block;
margin-left: -6px;
margin-top: -12px;
}
.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: 0;
border-top: 0;
border-bottom: 12px solid #FFA500;
}
.referencetooltip.RTflipped li + li::after {
border-top: 0;
border-bottom: 8px solid #FFA500;
position: absolute;
margin-top: 7px;
}
.RTTarget {
background-color: #DDEEFF;
}
/* Classes used by templates */
.nowrap {
white-space: nowrap;
}