Menüyü değiştir
Toggle preferences menu
Kişisel menüyü aç / kapat
Oturum açık değil
Your IP address will be publicly visible if you make any edits.

Şablon:İlgili Kart/styles.css

Kizilbashica sitesinden
22.35, 7 Temmuz 2026 tarihinde C. Karakuş (mesaj | katkılar) tarafından oluşturulmuş 558 numaralı sürüm
/* @title İlgili Kart Tasarımı */

.read-more-container {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 20px 0;
    width: 100%;
}

.tg-related-card {
    display: flex;
    flex: 1 1 300px;
    max-width: 49%;
    background-color: #1a1a24;
    border: 1px solid #2d2d3d;
    border-radius: 8px;
    height: 90px;
    box-sizing: border-box;
    overflow: hidden;
    position: relative; /* İçindeki linkin taşmaması için zorunlu referans */
    transition: border-color 0.2s;
}

.tg-related-card:hover {
    border-color: #4f4f70;
}

.tg-related-image {
    display: block;
    width: 90px;
    height: 90px;
    background-color: #111116;
    overflow: hidden;
    flex-shrink: 0;
}

.tg-related-image img {
    width: 90px;
    height: 90px;
    object-fit: cover;
}

.tg-related-content {
    padding: 12px;
    overflow: hidden;
    display: block;
    flex-grow: 1;
}

.tg-related-title {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tg-related-title a {
    color: #ffffff !important;
    text-decoration: none;
}

.tg-related-desc {
    font-size: 12px;
    color: #a0a0b0;
    height: 36px;
    line-height: 18px;
    overflow: hidden;
}

/* TÜM KUTUYU KAPLAYAN GÖRÜNMEZ TIKLAMA KATMANI */
.tg-related-card a.mw-redirect,
.tg-related-card a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    /* Metinsiz boş linki tüm alana yayar */
}

/* Başlık linkinin ve görselin bu görünmez katmanın altında ezilmemesi, 
   üzerine gelindiğinde doğru çalışması için derinlik ayarı */
.tg-related-title a, .tg-related-image a {
    z-index: 11;
}