Şablon:KizilbashicaKart/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 |
||
| (Aynı kullanıcının aradaki bir diğer değişikliği gösterilmiyor) | |||
| 30. satır: | 30. satır: | ||
flex-basis: calc(33.333% - 10px); | flex-basis: calc(33.333% - 10px); | ||
flex-grow: 1; | flex-grow: 1; | ||
min-width: 220px; | min-width: 220px; | ||
} | } | ||
| 63. satır: | 63. satır: | ||
} | } | ||
.tg-card-image-wrap a, | /* MediaWiki span ve img yapılarını %100 kaplamaya zorlayan kesin çözüm */ | ||
.tg-card-image-wrap img, | .tg-card-image-wrap span, | ||
.tg-card-image-wrap a, | |||
.tg-card-image-wrap img, | |||
.tg-card-image-wrap .mw-file-element { | .tg-card-image-wrap .mw-file-element { | ||
width: 100% !important; | width: 100% !important; | ||
height: 100% !important; | height: 100% !important; | ||
max-width: 100% !important; | |||
max-height: 100% !important; | |||
object-fit: cover !important; | object-fit: cover !important; | ||
display: block; | display: block !important; | ||
margin: 0 !important; | |||
padding: 0 !important; | |||
} | } | ||
/* Sol Üst Etiket | /* Sol Üst Etiket */ | ||
.tg-card-label { | .tg-card-label { | ||
position: absolute; | position: absolute; | ||
00.59, 15 Temmuz 2026 itibarı ile sayfanın şu anki hâli
/* --- Bölüm Çizgisi Düzeni --- */
.tg-section-divider {
margin-top: 1.5rem;
margin-bottom: 1rem;
color: #888;
display: flex;
align-items: center;
justify-content: space-between;
}
.tg-section-divider:not(:empty) {
gap: 1rem;
white-space: nowrap;
}
.tg-section-divider::before, .tg-section-divider::after {
content: "";
height: 1px;
width: 100%;
background-color: #333;
}
/* --- Kart Taşıyıcı Izgarası --- */
.template-flexbox {
display: flex;
gap: 15px;
flex-wrap: wrap;
flex-direction: row;
width: 100%;
}
.template-flexbox-item {
flex-basis: calc(33.333% - 10px);
flex-grow: 1;
min-width: 220px;
}
@media (max-width: 1120px) {
.template-flexbox-item { flex-basis: calc(50% - 8px); }
}
@media (max-width: 640px) {
.template-flexbox-item { flex-basis: 100%; }
}
/* --- Modern Kart Yapısı --- */
.tg-card {
position: relative;
background-color: #1a1a1a;
border: 1px solid #333;
border-radius: 8px;
overflow: hidden;
display: flex;
flex-direction: column;
height: 350px;
}
/* Resim Alanı */
.tg-card-image-wrap {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
overflow: hidden;
z-index: 1;
}
/* MediaWiki span ve img yapılarını %100 kaplamaya zorlayan kesin çözüm */
.tg-card-image-wrap span,
.tg-card-image-wrap a,
.tg-card-image-wrap img,
.tg-card-image-wrap .mw-file-element {
width: 100% !important;
height: 100% !important;
max-width: 100% !important;
max-height: 100% !important;
object-fit: cover !important;
display: block !important;
margin: 0 !important;
padding: 0 !important;
}
/* Sol Üst Etiket */
.tg-card-label {
position: absolute;
top: 0;
left: 0;
z-index: 3;
}
.tg-card-label span {
display: block;
padding: 6px 12px;
border-bottom-right-radius: 8px;
background-color: #c93636;
color: #ffffff !important;
font-weight: bold;
font-size: 0.8rem;
line-height: 1.2;
}
/* Resmin Üzerine Binen Yazı Alanı */
.tg-card-content {
position: relative;
z-index: 3;
padding: 20px;
margin-top: auto;
display: flex;
flex-direction: column;
}
.tg-card-title {
color: #ffffff;
font-size: 1.4rem;
font-weight: bold;
line-height: 1.2;
margin-bottom: 5px;
}
.tg-card-title a {
color: #ffffff !important;
text-decoration: none;
}
.tg-card-caption {
color: #cccccc;
font-size: 0.9rem;
line-height: 1.3;
}
/* --- Alıntı (Quote) Kartı Düzeni --- */
.tg-card-quote-body {
padding: 25px;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
box-sizing: border-box;
}
.tg-card-quote-body blockquote {
margin: 0;
padding: 0;
border: none;
background: transparent;
}
.tg-quote-text {
font-style: italic;
color: #eeeeee;
font-size: 1.15em;
line-height: 1.5;
margin-bottom: 15px;
}
.tg-quote-author {
color: #888888;
font-size: 0.85em;
text-align: right;
}