Şablon:İlgili Kart/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 |
||
| 63. satır: | 63. satır: | ||
line-height: 18px; | line-height: 18px; | ||
overflow: hidden; | overflow: hidden; | ||
} | |||
/* Kartı pozisyon olarak referans noktası yapıyoruz */ | |||
.tg-related-card { | |||
position: relative; /* Bu satır eklendi */ | |||
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; | |||
} | |||
/* Tüm kutuyu kaplayan gizli link alanı */ | |||
.tg-full-link a { | |||
position: absolute; | |||
top: 0; | |||
left: 0; | |||
width: 100%; | |||
height: 100%; | |||
z-index: 5; | |||
text-indent: -9999px; | |||
overflow: hidden; | |||
display: block; | |||
} | } | ||
22.29, 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; /* Minimum 300px genişlik, sığmazsa alt satıra geçer */
max-width: 49%;
background-color: #1a1a24;
border: 1px solid #2d2d3d;
border-radius: 8px;
height: 90px;
box-sizing: border-box;
overflow: hidden;
}
.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;
}
/* Kartı pozisyon olarak referans noktası yapıyoruz */
.tg-related-card {
position: relative; /* Bu satır eklendi */
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;
}
/* Tüm kutuyu kaplayan gizli link alanı */
.tg-full-link a {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 5;
text-indent: -9999px;
overflow: hidden;
display: block;
}