MediaWiki:Mobile.css

/* CSS placed here will affect users of the mobile site */

/* Infobox template style */ .infobox { border: 1px solid #a2a9b1; border-spacing: 3px; background-color: #f8f9fa; color: black; margin: 0.5em 0 0.5em 1em; padding: 0.2em; font-size: 88%; line-height: 1.5em; } @media all and (min-width: 720px) { .infobox { float: right; clear: right; } } @media all and (max-width: 719px) { .infobox table { width: 100%; } } .infobox caption { font-size: 125%; font-weight: bold; padding: 0.2em; text-align: center; } .infobox td, .infobox th { vertical-align: top; text-align: left; } .infobox.bordered { border-collapse: collapse; } .infobox.bordered td, .infobox.bordered th { border: 1px solid #a2a9b1; } .infobox.bordered .borderless td, .infobox.bordered .borderless th { border: 0; }

/* Tooltip */ .tooltip { position: relative; display: inline; border-bottom: 1px dotted black; }

.tooltiptext { visibility: hidden; min-width: 250px; padding: 12px 14px; text-align: center; position: absolute; left: 50%; bottom: calc(100% + 20px); z-index: 99999; background: #fff; box-shadow: 0 2px 0 0 rgba(0,0,0,0.15); border: 1px solid #a2a9b1; border-radius: 2px; font-weight: normal; }

.tooltiptext:after, .tooltiptext:before { content: ''; position: absolute; left: 50%; border-style: solid; }

.tooltiptext:after { top: 100%; bottom: auto; width: 20px; height: 20px; margin-top: -10px; margin-left: -10px; background: #fff; box-shadow: 1px 1px 0px #a2a9b1; transform: rotate(45deg); border-width: 0; }

.tooltiptext:before { top: 100%; bottom: auto; border-width: 18px; margin-left: -18px; border-color: rgba(0, 0, 0, 0.15) transparent transparent transparent; pointer-events: none; }

.tooltip .tooltip .tooltiptext { bottom: auto; top: 195%; }

.tooltip .tooltip .tooltiptext:after { top: auto; bottom: 100%; box-shadow: none; }

.tooltip .tooltip .tooltiptext:before { top: auto; bottom: 100%; border-width: 16px; margin-left: -16px; border-color: transparent transparent #888 transparent; }

.tooltiptext hr { margin: 10px 0 12px; position: relative; background: none; }

.tooltiptext hr:after { content: ''; display: block; width: 100%; height: 1px !important; position: absolute; left: -14px; background: #a2a9b1; padding: 0 14px; }

.tooltip:hover>.tooltiptext { visibility: visible; }

.tooltiptext { opacity: 0; transition: opacity 200ms ease, visibility 0s ease 200ms, transform 200ms ease; transform: translate(-50%, 8px); }

.tooltip .tooltip .tooltiptext { transform: translateY(-8px); }

.tooltip:hover>.tooltiptext { opacity: 1; transition-delay: 0s; transform: translate(-50%, 0); }