MediaWiki:Common.css:修订间差异
无编辑摘要 |
无编辑摘要 |
||
第22行: | 第22行: | ||
border-radius: 10px; | border-radius: 10px; | ||
} | } | ||
.tooltip { | |||
position: relative; | |||
display: inline-block; | |||
border-bottom: 1px dotted; | |||
} | |||
.tooltip .tooltip-content { | |||
visibility: hidden; | |||
position: absolute; | |||
z-index: 1; | |||
} | |||
.tooltip:hover .tooltip-content { | |||
visibility: visible; | |||
opacity: 1; | |||
} | |||
table.stripe tr:nth-child(odd) { | table.stripe tr:nth-child(odd) { | ||
background: #e9e9e9; | background: #e9e9e9; | ||
} | } |
2024年1月22日 (一) 18:32的版本
.infobox-container { position: relative; float: right; } .infobox-body { border-collapse: collapse; border-style: solid; border-width: 0.4em; border-color: transparent; text-align: center; vertical-align: center; } .infobox-border { position: absolute; inset: 0; z-index: 1; pointer-events: none; border-style: solid; border-width: 0.4em; border-radius: 10px; } .tooltip { position: relative; display: inline-block; border-bottom: 1px dotted; } .tooltip .tooltip-content { visibility: hidden; position: absolute; z-index: 1; } .tooltip:hover .tooltip-content { visibility: visible; opacity: 1; } table.stripe tr:nth-child(odd) { background: #e9e9e9; }