Şablon:Alfabetik Dizin/styles.css: Revizyonlar arasındaki fark
Kizilbashica sitesinden
More actions
C. Karakuş (mesaj | katkılar) Değişiklik özeti yok |
C. Karakuş (mesaj | katkılar) Değişiklik özeti yok |
||
| 1. satır: | 1. satır: | ||
/* Şablon:Alfabetik Dizin/styles.css */ | /* Şablon:Alfabetik Dizin/styles.css */ | ||
/* Ana | /* Ana Konteyner - Gereksiz arka planları ve boş kutu hissini önler */ | ||
.dizin-alani { | .dizin-alani { | ||
margin: | margin: 15px 0; | ||
font-family: sans-serif; | font-family: sans-serif; | ||
background: transparent !important; | |||
border: none !important; | |||
padding: 0 !important; | |||
} | } | ||
/* Tetikleyici Hedefler ( | /* Tetikleyici Hedefler (Görünmez yapıyoruz ki sıfır yer kaplasınlar) */ | ||
.harf-hedef { | .harf-hedef { | ||
display: none; | display: none !important; | ||
position: absolute; | |||
} | } | ||
/* --- | /* --- YATAY ALFABE BUTONLARI (Kesin Çözüm) --- */ | ||
.harf-secimi { | .harf-secimi { | ||
display: | display: flex !important; | ||
flex-wrap: wrap !important; | |||
margin- | justify-content: center !important; | ||
align-items: center !important; | |||
gap: 6px !important; | |||
margin: 0 auto 20px auto !important; | |||
width: 100% !important; | |||
max-width: 100% !important; | |||
background: transparent !important; | |||
padding: 10px 0 !important; | |||
} | } | ||
.harf-secimi a { | .harf-secimi a { | ||
text-decoration: none !important; | text-decoration: none !important; | ||
display: inline-block !important; | |||
} | } | ||
.harf-linki { | .harf-linki { | ||
background: #1f1f1f !important; | background: #1f1f1f !important; | ||
| 27. satır: | 40. satır: | ||
border: 1px solid #3d3d3d !important; | border: 1px solid #3d3d3d !important; | ||
padding: 6px 12px !important; | padding: 6px 12px !important; | ||
border-radius: 4px !important; | border-radius: 4px !important; | ||
font-weight: bold !important; | font-weight: bold !important; | ||
font-size: 13px !important; | font-size: 13px !important; | ||
display: inline-block !important; /* | display: inline-block !important; /* Yatayda yan yana durmalarını zorunlu kılar */ | ||
transition: background 0.2s ease, | transition: background 0.2s ease, color 0.2s ease; | ||
} | } | ||
.harf-linki:hover { | .harf-linki:hover { | ||
background: #333333 !important; | background: #333333 !important; | ||
| 43. satır: | 56. satır: | ||
.cizgi { | .cizgi { | ||
border-bottom: 1px solid #3d3d3d; | border-bottom: 1px solid #3d3d3d; | ||
margin: | margin: 15px 0; | ||
display: block !important; | |||
} | } | ||
/* --- | /* --- MADDELER ALANI --- */ | ||
.maddeler-konteyner { | .maddeler-konteyner { | ||
width: 100% !important; | width: 100% !important; | ||
background: transparent !important; | |||
border: none !important; | |||
padding: 0 !important; | |||
margin: 0 !important; | |||
} | } | ||
/* Harf Grupları */ | |||
.harf-grubu { | .harf-grubu { | ||
display: block; | display: block; | ||
width: 100% !important; | width: 100% !important; | ||
margin-bottom: | margin-bottom: 25px; | ||
background: transparent !important; | |||
} | } | ||
/* | /* Harf Başlıkları (A, B, C...) */ | ||
.harf-grubu h3 { | |||
font-size: 24px !important; | |||
color: #ffffff !important; | |||
border-bottom: 2px solid #0056b3 !important; | |||
padding-bottom: 5px !important; | |||
margin: 20px 0 15px 0 !important; | |||
} | |||
/* PrefixIndex Tablo Yapısını Modern Grid'e Dönüştürme */ | |||
.harf-grubu table, | .harf-grubu table, | ||
.harf-grubu table tbody, | .harf-grubu table tbody, | ||
| 68. satır: | 96. satır: | ||
} | } | ||
/* | /* Hücreleri Yan Yana Sütun Yapma */ | ||
.harf-grubu table td { | .harf-grubu table td { | ||
display: inline-block !important; | display: inline-block !important; | ||
| 74. satır: | 102. satır: | ||
min-width: 180px !important; | min-width: 180px !important; | ||
box-sizing: border-box !important; | box-sizing: border-box !important; | ||
padding: 6px | padding: 6px 10px !important; | ||
vertical-align: top !important; | vertical-align: top !important; | ||
border: none !important; | border: none !important; | ||
| 80. satır: | 108. satır: | ||
} | } | ||
.harf-grubu table td a { | .harf-grubu table td a { | ||
color: #3782df !important; | color: #3782df !important; | ||
| 89. satır: | 116. satır: | ||
white-space: nowrap; | white-space: nowrap; | ||
overflow: hidden; | overflow: hidden; | ||
text-overflow: ellipsis; | text-overflow: ellipsis; | ||
} | } | ||
.harf-grubu table td a:hover { | .harf-grubu table td a:hover { | ||
text-decoration: underline !important; | text-decoration: underline !important; | ||
} | } | ||
/* --- | /* --- RESPONSIVE TASARIM --- */ | ||
@media (max-width: 992px) { | @media (max-width: 992px) { | ||
.harf-grubu table td { | .harf-grubu table td { | ||
width: 48% !important; /* | width: 48% !important; /* Tablet */ | ||
} | } | ||
} | } | ||
@media (max-width: 576px) { | @media (max-width: 576px) { | ||
.harf-grubu table td { | .harf-grubu table td { | ||
width: 100% !important; /* Mobil | width: 100% !important; /* Mobil */ | ||
padding: | padding: 6px 0 !important; | ||
} | } | ||
.harf-linki { | .harf-linki { | ||
padding: 5px | padding: 5px 10px !important; | ||
font-size: 12px !important; | font-size: 12px !important; | ||
} | } | ||
| 142. satır: | 169. satır: | ||
#harf-Y:target ~ .maddeler-konteyner .harf-grubu, | #harf-Y:target ~ .maddeler-konteyner .harf-grubu, | ||
#harf-Z:target ~ .maddeler-konteyner .harf-grubu { | #harf-Z:target ~ .maddeler-konteyner .harf-grubu { | ||
display: none; | display: none !important; | ||
} | } | ||
21.38, 14 Temmuz 2026 tarihindeki hâli
/* Şablon:Alfabetik Dizin/styles.css */
/* Ana Konteyner - Gereksiz arka planları ve boş kutu hissini önler */
.dizin-alani {
margin: 15px 0;
font-family: sans-serif;
background: transparent !important;
border: none !important;
padding: 0 !important;
}
/* Tetikleyici Hedefler (Görünmez yapıyoruz ki sıfır yer kaplasınlar) */
.harf-hedef {
display: none !important;
position: absolute;
}
/* --- YATAY ALFABE BUTONLARI (Kesin Çözüm) --- */
.harf-secimi {
display: flex !important;
flex-wrap: wrap !important;
justify-content: center !important;
align-items: center !important;
gap: 6px !important;
margin: 0 auto 20px auto !important;
width: 100% !important;
max-width: 100% !important;
background: transparent !important;
padding: 10px 0 !important;
}
.harf-secimi a {
text-decoration: none !important;
display: inline-block !important;
}
.harf-linki {
background: #1f1f1f !important;
color: #e0e0e0 !important;
border: 1px solid #3d3d3d !important;
padding: 6px 12px !important;
border-radius: 4px !important;
font-weight: bold !important;
font-size: 13px !important;
display: inline-block !important; /* Yatayda yan yana durmalarını zorunlu kılar */
transition: background 0.2s ease, color 0.2s ease;
}
.harf-linki:hover {
background: #333333 !important;
color: #ffffff !important;
border-color: #555555 !important;
}
/* Ayırıcı Çizgi */
.cizgi {
border-bottom: 1px solid #3d3d3d;
margin: 15px 0;
display: block !important;
}
/* --- MADDELER ALANI --- */
.maddeler-konteyner {
width: 100% !important;
background: transparent !important;
border: none !important;
padding: 0 !important;
margin: 0 !important;
}
/* Harf Grupları */
.harf-grubu {
display: block;
width: 100% !important;
margin-bottom: 25px;
background: transparent !important;
}
/* Harf Başlıkları (A, B, C...) */
.harf-grubu h3 {
font-size: 24px !important;
color: #ffffff !important;
border-bottom: 2px solid #0056b3 !important;
padding-bottom: 5px !important;
margin: 20px 0 15px 0 !important;
}
/* PrefixIndex Tablo Yapısını Modern Grid'e Dönüştürme */
.harf-grubu table,
.harf-grubu table tbody,
.harf-grubu table tr {
display: block !important;
width: 100% !important;
border: none !important;
background: transparent !important;
}
/* Hücreleri Yan Yana Sütun Yapma */
.harf-grubu table td {
display: inline-block !important;
width: 24% !important; /* Masaüstünde yan yana 4 sütun */
min-width: 180px !important;
box-sizing: border-box !important;
padding: 6px 10px !important;
vertical-align: top !important;
border: none !important;
background: transparent !important;
}
.harf-grubu table td a {
color: #3782df !important;
font-size: 15px !important;
text-decoration: none !important;
display: inline-block;
width: 100%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.harf-grubu table td a:hover {
text-decoration: underline !important;
}
/* --- RESPONSIVE TASARIM --- */
@media (max-width: 992px) {
.harf-grubu table td {
width: 48% !important; /* Tablet */
}
}
@media (max-width: 576px) {
.harf-grubu table td {
width: 100% !important; /* Mobil */
padding: 6px 0 !important;
}
.harf-linki {
padding: 5px 10px !important;
font-size: 12px !important;
}
}
/* --- SAF CSS TARGET FİLTRELEME MANTIĞI --- */
#harf-A:target ~ .maddeler-konteyner .harf-grubu,
#harf-B:target ~ .maddeler-konteyner .harf-grubu,
#harf-C:target ~ .maddeler-konteyner .harf-grubu,
#harf-Ç:target ~ .maddeler-konteyner .harf-grubu,
#harf-D:target ~ .maddeler-konteyner .harf-grubu,
#harf-E:target ~ .maddeler-konteyner .harf-grubu,
#harf-F:target ~ .maddeler-konteyner .harf-grubu,
#harf-G:target ~ .maddeler-konteyner .harf-grubu,
#harf-H:target ~ .maddeler-konteyner .harf-grubu,
#harf-I:target ~ .maddeler-konteyner .harf-grubu,
#harf-İ:target ~ .maddeler-konteyner .harf-grubu,
#harf-J:target ~ .maddeler-konteyner .harf-grubu,
#harf-K:target ~ .maddeler-konteyner .harf-grubu,
#harf-L:target ~ .maddeler-konteyner .harf-grubu,
#harf-M:target ~ .maddeler-konteyner .harf-grubu,
#harf-N:target ~ .maddeler-konteyner .harf-grubu,
#harf-O:target ~ .maddeler-konteyner .harf-grubu,
#harf-Ö:target ~ .maddeler-konteyner .harf-grubu,
#harf-P:target ~ .maddeler-konteyner .harf-grubu,
#harf-R:target ~ .maddeler-konteyner .harf-grubu,
#harf-S:target ~ .maddeler-konteyner .harf-grubu,
#harf-Ş:target ~ .maddeler-konteyner .harf-grubu,
#harf-T:target ~ .maddeler-konteyner .harf-grubu,
#harf-U:target ~ .maddeler-konteyner .harf-grubu,
#harf-Ü:target ~ .maddeler-konteyner .harf-grubu,
#harf-V:target ~ .maddeler-konteyner .harf-grubu,
#harf-Y:target ~ .maddeler-konteyner .harf-grubu,
#harf-Z:target ~ .maddeler-konteyner .harf-grubu {
display: none !important;
}
#harf-A:target ~ .maddeler-konteyner .harf-grubu-A,
#harf-B:target ~ .maddeler-konteyner .harf-grubu-B,
#harf-C:target ~ .maddeler-konteyner .harf-grubu-C,
#harf-Ç:target ~ .maddeler-konteyner .harf-grubu-Ç,
#harf-D:target ~ .maddeler-konteyner .harf-grubu-D,
#harf-E:target ~ .maddeler-konteyner .harf-grubu-E,
#harf-F:target ~ .maddeler-konteyner .harf-grubu-F,
#harf-G:target ~ .maddeler-konteyner .harf-grubu-G,
#harf-H:target ~ .maddeler-konteyner .harf-grubu-H,
#harf-I:target ~ .maddeler-konteyner .harf-grubu-I,
#harf-İ:target ~ .maddeler-konteyner .harf-grubu-İ,
#harf-J:target ~ .maddeler-konteyner .harf-grubu-J,
#harf-K:target ~ .maddeler-konteyner .harf-grubu-K,
#harf-L:target ~ .maddeler-konteyner .harf-grubu-L,
#harf-M:target ~ .maddeler-konteyner .harf-grubu-M,
#harf-N:target ~ .maddeler-konteyner .harf-grubu-N,
#harf-O:target ~ .maddeler-konteyner .harf-grubu-O,
#harf-Ö:target ~ .maddeler-konteyner .harf-grubu-Ö,
#harf-P:target ~ .maddeler-konteyner .harf-grubu-P,
#harf-R:target ~ .maddeler-konteyner .harf-grubu-R,
#harf-S:target ~ .maddeler-konteyner .harf-grubu-S,
#harf-Ş:target ~ .maddeler-konteyner .harf-grubu-Ş,
#harf-T:target ~ .maddeler-konteyner .harf-grubu-T,
#harf-U:target ~ .maddeler-konteyner .harf-grubu-U,
#harf-Ü:target ~ .maddeler-konteyner .harf-grubu-Ü,
#harf-V:target ~ .maddeler-konteyner .harf-grubu-V,
#harf-Y:target ~ .maddeler-konteyner .harf-grubu-Y,
#harf-Z:target ~ .maddeler-konteyner .harf-grubu-Z {
display: block !important;
}