MediaWiki:Common.css: Unterschied zwischen den Versionen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
Zeile 9: | Zeile 9: | ||
.vote-radio{ | .vote-radio{ | ||
margin-left:7px; | margin-left:7px; | ||
} | |||
.tooltip { | |||
position: relative; | |||
display: inline-block; | |||
color:#0000FF; | |||
} | |||
.tooltip .tooltiptext { | |||
visibility: hidden; | |||
width: 600px; | |||
background-color: #555; | |||
color: #fff; | |||
text-align: left; | |||
text-wrap: wrap; | |||
padding: 5px; | |||
border-radius: 6px; | |||
position: absolute; | |||
z-index: 1; | |||
bottom: 125%; | |||
left: 50%; | |||
margin-left: -300px; | |||
opacity: 0; | |||
transition: opacity 1s; | |||
} | |||
.tooltip .tooltiptext::after { | |||
content: ''; | |||
position: absolute; | |||
top: 100%; | |||
left: 50%; | |||
margin-left: -5px; | |||
border-width: 5px; | |||
border-style: solid; | |||
border-color: #555 transparent transparent transparent; | |||
} | |||
.tooltip:hover .tooltiptext { | |||
visibility: visible; | |||
opacity: 1; | |||
} | } |
Version vom 27. Juni 2024, 18:36 Uhr
.mw-editsection { display:none!important; } /* Style of the radio buttons in the vote */ .vote-radio-span{ display: inline-block; width:25px; } .vote-radio{ margin-left:7px; } .tooltip { position: relative; display: inline-block; color:#0000FF; } .tooltip .tooltiptext { visibility: hidden; width: 600px; background-color: #555; color: #fff; text-align: left; text-wrap: wrap; padding: 5px; border-radius: 6px; position: absolute; z-index: 1; bottom: 125%; left: 50%; margin-left: -300px; opacity: 0; transition: opacity 1s; } .tooltip .tooltiptext::after { content: ''; position: absolute; top: 100%; left: 50%; margin-left: -5px; border-width: 5px; border-style: solid; border-color: #555 transparent transparent transparent; } .tooltip:hover .tooltiptext { visibility: visible; opacity: 1; }