Difference between revisions of "MediaWiki:Gadget-ReferenceTooltips.css"
A fragment of the Garden of Remembering
m |
m |
||
(2 intermediate revisions by the same user not shown) | |||
Line 15: | Line 15: | ||
margin-left: 1.75em; | margin-left: 1.75em; | ||
margin-top: -1px; | margin-top: -1px; | ||
border-top: | border-top: 12px #ccc solid; | ||
} | } | ||
.referencetooltip>li+li::after { | .referencetooltip>li+li::after { | ||
border-top: | border-top: 10px #fff solid; | ||
} | } | ||
.referencetooltip.RTflipped li+li { | .referencetooltip.RTflipped li+li { | ||
top: 0; | top: 0; | ||
border-bottom: | border-bottom: 12px #ccc solid; | ||
} | } | ||
.referencetooltip.RTflipped li+li::after { | .referencetooltip.RTflipped li+li::after { | ||
border-bottom: | border-bottom: 10px #fff solid; | ||
margin-top: 6px; | |||
} | } |
Latest revision as of 20:30, 22 April 2015
@import "//en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-ReferenceTooltips.css&action=raw&ctype=text/css";
.referencetooltip {
font-size: .9em;
margin-left: -1em;
}
.referencetooltip li {
padding: 1em 1.25em;
max-width: 32em;
background-color: #fff;
border: #ccc 1px solid;
box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.referencetooltip li+li {
margin-left: 1.75em;
margin-top: -1px;
border-top: 12px #ccc solid;
}
.referencetooltip>li+li::after {
border-top: 10px #fff solid;
}
.referencetooltip.RTflipped li+li {
top: 0;
border-bottom: 12px #ccc solid;
}
.referencetooltip.RTflipped li+li::after {
border-bottom: 10px #fff solid;
margin-top: 6px;
}