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: Revizyonlar arasındaki fark

Kizilbashica sitesinden
Değişiklik özeti yok
Değişiklik özeti yok
19. satır: 19. satır:
     box-sizing: border-box;
     box-sizing: border-box;
     overflow: hidden;
     overflow: hidden;
     position: relative;
     position: relative; /* İçindeki linkin taşmaması için zorunlu referans */
     transition: border-color 0.2s;
     transition: border-color 0.2s;
}
}
63. satır: 63. satır:
}
}


/* Açıklama metninin tamamını tıklanabilir görünmez bir örtüye dönüştürür */
.tg-related-desc {
.tg-related-desc a {
    font-size: 12px;
     color: #a0a0b0 !important;
     color: #a0a0b0;
     text-decoration: none !important;
     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;
     position: absolute;
     top: 0;
     top: 0;
72. satır: 79. satır:
     width: 100%;
     width: 100%;
     height: 100%;
     height: 100%;
     padding-left: 105px;
     z-index: 10;
     padding-top: 36px;
     /* Metinsiz boş linki tüm alana yayar */
    box-sizing: border-box;
}
    font-size: 12px;
 
     line-height: 18px;
/* Başlık linkinin ve görselin bu görünmez katmanın altında ezilmemesi,
    overflow: hidden;
  üzerine gelindiğinde doğru çalışması için derinlik ayarı */
    display: block;
.tg-related-title a, .tg-related-image a {
     z-index: 11;
}
}

22.35, 7 Temmuz 2026 tarihindeki hâli

/* @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;
}