Ş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 |
||
| 1. satır: | 1. satır: | ||
/* @title İlgili Kart Tasarımı */ | /* @title İlgili Kart Tasarımı */ | ||
/* Kart kapsayıcısı */ | |||
.read-more-container { | .read-more-container { | ||
display: flex; | display: flex; | ||
| 9. satır: | 10. satır: | ||
} | } | ||
/* Kart Genel Yapısı (Standart/Aydınlık Görünüm) */ | |||
.tg-related-card { | .tg-related-card { | ||
display: flex; | display: flex; | ||
flex: 1 1 300px; | flex: 1 1 300px; | ||
max-width: 49%; | max-width: 49%; | ||
background-color: # | background-color: #f8f9fa; | ||
border: 1px solid # | border: 1px solid #c8ccd1; | ||
border-radius: 8px; | border-radius: 8px; | ||
height: 90px; | height: 90px; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
overflow: hidden; | overflow: hidden; | ||
transition: border-color 0.2s, background-color 0.2s; | |||
transition: border-color 0.2s; | |||
} | } | ||
.tg-related-card:hover { | .tg-related-card:hover { | ||
border-color: #36c; | |||
background-color: #f0f4f9; | |||
} | |||
/* KARANLIK MOD AYARLARI (Citizen Teması İçin Özel Sınıf) */ | |||
.skin-citizen-dark .tg-related-card { | |||
background-color: #1a1a24; | |||
border: 1px solid #2d2d3d; | |||
} | |||
.skin-citizen-dark .tg-related-card:hover { | |||
border-color: #4f4f70; | border-color: #4f4f70; | ||
background-color: #222230; | |||
} | } | ||
/* Görsel Alanı */ | |||
.tg-related-image { | .tg-related-image { | ||
display: block; | display: block; | ||
width: 90px; | width: 90px; | ||
height: 90px; | height: 90px; | ||
background-color: | background-color: rgba(0, 0, 0, 0.05); | ||
overflow: hidden; | overflow: hidden; | ||
flex-shrink: 0; | flex-shrink: 0; | ||
} | |||
.skin-citizen-dark .tg-related-image { | |||
background-color: rgba(0, 0, 0, 0.3); | |||
} | } | ||
| 42. satır: | 60. satır: | ||
} | } | ||
/* İçerik Alanı */ | |||
.tg-related-content { | .tg-related-content { | ||
padding: 12px; | padding: 12px; | ||
overflow: hidden; | overflow: hidden; | ||
display: | display: flex; | ||
flex-direction: column; | |||
justify-content: center; | |||
flex-grow: 1; | flex-grow: 1; | ||
} | } | ||
/* Başlık Alanı */ | |||
.tg-related-title { | .tg-related-title { | ||
font-weight: bold; | font-weight: bold; | ||
| 58. satır: | 80. satır: | ||
} | } | ||
/* Yazı Renkleri (Aydınlık) */ | |||
.tg-related-title a { | .tg-related-title a { | ||
color: #202122 !important; | |||
text-decoration: none; | |||
} | |||
/* Yazı Renkleri (Karanlık) */ | |||
.skin-citizen-dark .tg-related-title a { | |||
color: #ffffff !important; | color: #ffffff !important; | ||
} | } | ||
.tg-related-title a:hover { | |||
text-decoration: underline; | |||
} | |||
/* Açıklama Alanı (Aydınlık) */ | |||
.tg-related-desc { | .tg-related-desc { | ||
font-size: 12px; | font-size: 12px; | ||
color: # | color: #54595d; | ||
height: 36px; | height: 36px; | ||
line-height: 18px; | line-height: 18px; | ||
| 71. satır: | 104. satır: | ||
} | } | ||
/* | /* Açıklama Alanı (Karanlık) */ | ||
. | .skin-citizen-dark .tg-related-desc { | ||
.tg-related- | color: #a0a0b0; | ||
} | } | ||
22.38, 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 Yapısı (Standart/Aydınlık Görünüm) */
.tg-related-card {
display: flex;
flex: 1 1 300px;
max-width: 49%;
background-color: #f8f9fa;
border: 1px solid #c8ccd1;
border-radius: 8px;
height: 90px;
box-sizing: border-box;
overflow: hidden;
transition: border-color 0.2s, background-color 0.2s;
}
.tg-related-card:hover {
border-color: #36c;
background-color: #f0f4f9;
}
/* KARANLIK MOD AYARLARI (Citizen Teması İçin Özel Sınıf) */
.skin-citizen-dark .tg-related-card {
background-color: #1a1a24;
border: 1px solid #2d2d3d;
}
.skin-citizen-dark .tg-related-card:hover {
border-color: #4f4f70;
background-color: #222230;
}
/* Görsel Alanı */
.tg-related-image {
display: block;
width: 90px;
height: 90px;
background-color: rgba(0, 0, 0, 0.05);
overflow: hidden;
flex-shrink: 0;
}
.skin-citizen-dark .tg-related-image {
background-color: rgba(0, 0, 0, 0.3);
}
.tg-related-image img {
width: 90px;
height: 90px;
object-fit: cover;
}
/* İçerik Alanı */
.tg-related-content {
padding: 12px;
overflow: hidden;
display: flex;
flex-direction: column;
justify-content: center;
flex-grow: 1;
}
/* Başlık Alanı */
.tg-related-title {
font-weight: bold;
font-size: 14px;
margin-bottom: 4px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
/* Yazı Renkleri (Aydınlık) */
.tg-related-title a {
color: #202122 !important;
text-decoration: none;
}
/* Yazı Renkleri (Karanlık) */
.skin-citizen-dark .tg-related-title a {
color: #ffffff !important;
}
.tg-related-title a:hover {
text-decoration: underline;
}
/* Açıklama Alanı (Aydınlık) */
.tg-related-desc {
font-size: 12px;
color: #54595d;
height: 36px;
line-height: 18px;
overflow: hidden;
}
/* Açıklama Alanı (Karanlık) */
.skin-citizen-dark .tg-related-desc {
color: #a0a0b0;
}