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.49, 7 Temmuz 2026 tarihinde C. Karakuş (mesaj | katkılar) tarafından oluşturulmuş 568 numaralı sürüm
/* @title İlgili Kart Tasarımı */

/* Kart kapsayıcısı */
.read-more-container {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 20px 0;
    width: 100%;
}

/* KART GENEL YAPISI */
.tg-related-card {
    display: flex;
    flex: 1 1 300px;
    max-width: 49%;
    /* border tamamen kaldırıldı, hata alma ihtimali sıfırlandı */
    background-color: var(--background-card); 
    box-shadow: 0 0 0 1px rgba(128, 128, 128, 0.2); /* Kenarlık yerine filtreyi delmeyen gölge */
    border-radius: 8px;
    height: 90px;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
    transition: background-color 0.2s, box-shadow 0.2s;
}

.tg-related-card:hover {
    background-color: var(--background-card-hover);
    box-shadow: 0 0 0 1px var(--color-primary);
}

/* Görsel Alanı */
.tg-related-image {
    display: block;
    width: 90px;
    height: 90px;
    background-color: rgba(0, 0, 0, 0.1);
    overflow: hidden;
    flex-shrink: 0;
}

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

/* İçerik Kapsayıcısı */
.tg-related-content {
    padding: 12px;
    overflow: hidden;
    display: block;
    width: 100%;
    box-sizing: border-box;
}

/* Başlık Alanı */
.tg-related-title {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* TÜM KUTUYU KAPLAYAN ANA TIKLAMA ALANI */
.tg-related-title a {
    color: var(--color-base) !important; 
    text-decoration: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding-left: 102px;
    padding-top: 20px;
    box-sizing: border-box;
}

/* Açıklama Alanı */
.tg-related-desc {
    font-size: 12px;
    color: var(--color-base--subtle);
    height: 36px;
    line-height: 18px;
    overflow: hidden;
    margin-top: 20px;
}