MediaWiki:Common.css: Unterschied zwischen den Versionen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
Zeile 1: | Zeile 1: | ||
.mw-editsection { display:none!important; } | .mw-editsection { display:none!important; } | ||
/* Style of the radio buttons in the vote */ | /* Style of the radio buttons in the vote */ | ||
Zeile 66: | Zeile 66: | ||
visibility: visible; | visibility: visible; | ||
opacity: 1; | opacity: 1; | ||
} | |||
/* Tiles */ | |||
.tiles-container { | |||
display: flex; | |||
flex-wrap: wrap; | |||
gap: 20px; | |||
} | |||
.tile { | |||
flex: 1 0 300px; | |||
background-color: #fff; | |||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); | |||
padding: 15px; | |||
border-radius: 10px; | |||
transition: transform 0.3s ease-in-out; | |||
text-align: center; | |||
} | |||
.tile:hover { | |||
transform: scale(1.05); | |||
text-decoration: none; | |||
} | } |
Version vom 5. Juli 2024, 13:06 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; z-index: auto; } .tooltip .tooltiptext { line-height: normal; visibility: hidden; width: 300px; background-color: #DDD; color: #000; text-align: left; text-wrap: wrap; padding: 3px; border-radius:6px; border: 1px solid #555; position: absolute; bottom: 125%; left: 50%; margin-left: -180px; opacity: 0; transition: opacity 1s all ease; transition-delay: .25s; } .tooltiptext{ z-index: 10000; } .tooltip .tooltiptext::after { content: ''; position: absolute; top: 100%; left: 60%; margin-left: -5px; border-width: 5px; border-style: solid; border-color: #555 transparent transparent transparent; } .tooltip:hover .tooltiptext { visibility: visible; opacity: 1; } /* Tiles */ .tiles-container { display: flex; flex-wrap: wrap; gap: 20px; } .tile { flex: 1 0 300px; background-color: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); padding: 15px; border-radius: 10px; transition: transform 0.3s ease-in-out; text-align: center; } .tile:hover { transform: scale(1.05); text-decoration: none; }