Şablon:AkordeonMenü/styles.css
Kizilbashica sitesinden
More actions
/* Ana Menü Kapsayıcısı */
.whe-accordion {
display: flex;
width: 100%;
max-width: 1200px;
margin: 20px auto;
overflow: hidden;
font-family: 'Georgia', serif;
}
/* Her Bir Panel Kartı */
.whe-panel {
position: relative;
flex: 1;
height: 100%;
overflow: hidden;
background-size: cover;
background-position: center;
transition: flex 0.5s ease-in-out;
cursor: pointer;
text-decoration: none !important;
display: block;
}
/* Paneller Arasındaki İnce Çizgi */
.whe-panel:not(:last-child) {
border-right: 1px solid rgba(255, 255, 255, 0.3);
}
/* Mouse Üzerine Geldiğinde Genişleme Efektleri */
.whe-accordion:hover .whe-panel {
flex: 0.5; /* Diğer paneller daralır */
}
.whe-accordion .whe-panel:hover {
flex: 3.5; /* Üzerine gelinen panel genişler */
}
/* Görsel Üzerindeki Karartma Katmanı */
.whe-panel::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.1) 100%);
transition: background 0.5s ease;
z-index: 1;
}
.whe-panel:hover::before {
background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 100%);
}
/* Dikey Yazı Kapsayıcısı */
.whe-text-container {
position: absolute;
bottom: 30px;
left: 45px;
width: 300px;
z-index: 2;
transform: rotate(-90deg);
transform-origin: left bottom;
white-space: nowrap;
display: block;
}
/* Başlık Yazı Stili */
.whe-title {
color: #ffffff !important;
font-size: 24px !important;
font-weight: normal !important;
text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.9);
letter-spacing: 1px;
}
/* Citizen ve MediaWiki Link Çizgilerini Temizleme */
.whe-panel a,
.whe-panel a:hover {
text-decoration: none !important;
background: none !important;
padding-right: 0 !important;
}
.whe-panel a::after {
display: none !important;
content: none !important;
}
/* Yerel görseli arka plan gibi esnetme ve kaplama kuralı */
.whe-panel img, .whe-bg-img {
width: 100% !important;
height: 100% !important;
object-fit: cover !important;
display: block !important;
}