MediaWiki:Common.css: differenze tra le versioni
Nessun oggetto della modifica |
Nessun oggetto della modifica Etichetta: Annullato |
||
Riga 25: | Riga 25: | ||
} | } | ||
/* Play Button */ | |||
.play-button { | |||
position: absolute; | position: absolute; | ||
top: 50%; | top: 50%; | ||
left: 50%; | left: 50%; | ||
transform: translate(-50%, -50%); | transform: translate(-50%, -50%); | ||
background: rgba(0, 0, 0, 0.6); | width: 80px; /* Dimensione del pulsante */ | ||
height: 80px; | |||
background: rgba(0, 0, 0, 0.6); | |||
border-radius: 50%; | border-radius: 50%; | ||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
justify-content: center; | justify-content: center; | ||
text-decoration: none; | |||
} | |||
/* Icona Play dentro al pulsante */ | |||
.play-button::after { | |||
content: '▶'; | |||
font-size: 50px; | |||
color: white; | |||
display: block; | |||
text-align: center; | |||
} | } | ||
/* VIDEO PREVIEW */ | /* VIDEO PREVIEW */ |
Versione delle 04:49, 3 mar 2025
/* Gli stili CSS inseriti qui si applicano a tutti i temi */ .widget-maps { width: 100% !important; /* Larghezza dinamica */ max-width: 100%; /* Impedisce overflow */ height: 800px; /* Altezza fissa o adattabile */ } /* VIDEO PREVIEW */ .full-width img { width: 100%; max-width: 100%; height: auto; } .video-thumbnail { position: relative; display: inline-block; } .video-thumbnail img { width: 100%; height: auto; display: block; } /* Play Button */ .play-button { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 80px; /* Dimensione del pulsante */ height: 80px; background: rgba(0, 0, 0, 0.6); border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; } /* Icona Play dentro al pulsante */ .play-button::after { content: '▶'; font-size: 50px; color: white; display: block; text-align: center; } /* VIDEO PREVIEW */