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
15. satır: 15. satır:
     flex: 1 1 300px;
     flex: 1 1 300px;
     max-width: 49%;
     max-width: 49%;
    /* border tamamen kaldırıldı, hata alma ihtimali sıfırlandı */
     background-color: var(--background-card);  
     background-color: var(--background-card);  
     box-shadow: 0 0 0 1px rgba(128, 128, 128, 0.2); /* Kenarlık yerine filtreyi delmeyen gölge */
     box-shadow: 0 0 0 1px rgba(128, 128, 128, 0.2);
     border-radius: 8px;
     border-radius: 8px;
     height: 90px;
     height: 90px;
     box-sizing: border-box;
     box-sizing: border-box;
     overflow: hidden;
     overflow: hidden;
     position: relative;
     position: relative; /* Gizli tıklama katmanı için şart */
     transition: background-color 0.2s, box-shadow 0.2s;
     transition: background-color 0.2s, box-shadow 0.2s;
}
}
47. satır: 46. satır:
}
}


/* İçerik Kapsayıcısı */
/* İÇERİK ALANI (Konumları düzelten ferah flex yapısı) */
.tg-related-content {
.tg-related-content {
     padding: 12px;
     padding: 12px;
     overflow: hidden;
     overflow: hidden;
     display: block;
     display: flex;
     width: 100%;
     flex-direction: column;
    justify-content: center; /* İlk versiyondaki gibi dikeyde tam ortalar */
    flex-grow: 1;
     box-sizing: border-box;
     box-sizing: border-box;
}
}
60. satır: 61. satır:
     font-weight: bold;
     font-weight: bold;
     font-size: 14px;
     font-size: 14px;
     margin-bottom: 4px;
     margin-bottom: 4px; /* İlk tasarımdaki açıklama ile arasındaki güvenli mesafe */
     overflow: hidden;
     overflow: hidden;
     text-overflow: ellipsis;
     text-overflow: ellipsis;
66. satır: 67. satır:
}
}


/* TÜM KUTUYU KAPLAYAN ANA TIKLAMA ALANI */
/* MİZANPAJI BOZMADAN TÜM KUTUYU KAPLAYAN GİZLİ LİNK SİHİRİ */
.tg-related-title a {
.tg-related-title a {
     color: var(--color-base) !important;  
     color: var(--color-base) !important;  
     text-decoration: none;
     text-decoration: none;
}
/* Başlık linkinin arkasına görünmez bir pelerin ekleyip tüm kart alanına yayıyoruz.
  Bu sayede metinlerin konumlandırması (padding/margin) asla bozulmaz. */
.tg-related-title a::after {
    content: "";
     position: absolute;
     position: absolute;
     top: 0;
     top: 0;
75. satır: 82. satır:
     width: 100%;
     width: 100%;
     height: 100%;
     height: 100%;
     padding-left: 102px;
     z-index: 10;
    padding-top: 20px;
    box-sizing: border-box;
}
}


84. satır: 89. satır:
     font-size: 12px;
     font-size: 12px;
     color: var(--color-base--subtle);
     color: var(--color-base--subtle);
     height: 36px;
     line-height: 1.4;
     line-height: 18px;
     display: block;
     overflow: hidden;
     overflow: hidden;
     margin-top: 20px;
     text-overflow: ellipsis;
    white-space: nowrap; /* Taşıp mizanpajı bozmaması için tek satıra sabitlendi */
}
}

22.51, 7 Temmuz 2026 tarihindeki hâli

/* @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%;
    background-color: var(--background-card); 
    box-shadow: 0 0 0 1px rgba(128, 128, 128, 0.2);
    border-radius: 8px;
    height: 90px;
    box-sizing: border-box;
    overflow: hidden;
    position: relative; /* Gizli tıklama katmanı için şart */
    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;
}

/* İÇERİK ALANI (Konumları düzelten ferah flex yapısı) */
.tg-related-content {
    padding: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center; /* İlk versiyondaki gibi dikeyde tam ortalar */
    flex-grow: 1;
    box-sizing: border-box;
}

/* Başlık Alanı */
.tg-related-title {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 4px; /* İlk tasarımdaki açıklama ile arasındaki güvenli mesafe */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* MİZANPAJI BOZMADAN TÜM KUTUYU KAPLAYAN GİZLİ LİNK SİHİRİ */
.tg-related-title a {
    color: var(--color-base) !important; 
    text-decoration: none;
}

/* Başlık linkinin arkasına görünmez bir pelerin ekleyip tüm kart alanına yayıyoruz.
   Bu sayede metinlerin konumlandırması (padding/margin) asla bozulmaz. */
.tg-related-title a::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

/* Açıklama Alanı */
.tg-related-desc {
    font-size: 12px;
    color: var(--color-base--subtle);
    line-height: 1.4;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap; /* Taşıp mizanpajı bozmaması için tek satıra sabitlendi */
}