Difference between revisions of "MediaWiki:Gadget-ReferenceTooltips.css"

A fragment of the Garden of Remembering

(+css)
m
 
(4 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: 1em #ccc solid;
border-top: 12px #ccc solid;
}
}
.referencetooltip>li+li::after {
.referencetooltip>li+li::after {
border-top: .8em #fff solid;
border-top: 10px #fff solid;
}
}
.referencetooltip.RTflipped li+li {
.referencetooltip.RTflipped li+li {
top: 0px;
top: 0;
border-bottom: 1em #ccc solid;
border-bottom: 12px #ccc solid;
}
}
.referencetooltip.RTflipped li+li::after {
.referencetooltip.RTflipped li+li::after {
border-bottom: .7em #fff solid;
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;
}