MediaWiki:Vector.css

FM Wiki sitesinden
12.13, 6 Aralık 2025 tarihinde Admin (mesaj | katkılar) tarafından oluşturulmuş 515 numaralı sürüm

Not: Yayımladıktan sonra değişiklikleri görmek için tarayıcınızın önbelleğini temizlemeniz gerekebilir.

  • Firefox / Safari: Shift tuşuna basılıyken Yeniden Yükle'ye tıklayın ya da Ctrl-F5 ya da Ctrl-R tıklayın (Mac için ⌘-R).
  • Google Chrome: Ctrl-Shift-R'ye basın. (Mac için ⌘-Shift-R)
  • Internet Explorer / Edge: Ctrl basılıyken Yenile'ye tıklayın ya da Ctrl-F5 yapın.
  • Opera: Ctrl-F5 tıklayın.
/* =========================================================
   1. EKSİK KALAN ANİMASYONUN TAMAMLANMASI
   ========================================================= */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

/* =========================================================
   2. SEKMELER (NAVIGASYON) - MODERN HAP (PILL) TASARIM
   (Oku, Değiştir, Geçmişi Gör sekmeleri)
   ========================================================= */
.skin-vector-2022 .vector-p-views-menu .vector-menu-content-list {
    display: flex;
    gap: 8px;
    background: rgba(240, 242, 245, 0.5);
    padding: 6px;
    border-radius: 14px;
    backdrop-filter: blur(5px);
}

.skin-vector-2022 .vector-p-views-menu .vector-menu-content-list li a {
    color: #5a6c7d;
    padding: 8px 16px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
}

.skin-vector-2022 .vector-p-views-menu .vector-menu-content-list li.selected a {
    background: #ffffff;
    color: #2ecc71;
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.2);
    transform: translateY(-1px);
}

.skin-vector-2022 .vector-p-views-menu .vector-menu-content-list li a:hover:not(.selected) {
    background: rgba(255, 255, 255, 0.6);
    color: #27ae60;
}

/* =========================================================
   3. TABLE OF CONTENTS (İÇİNDEKİLER) - STICKY HUD STYLE
   (Sol veya Sağ taraftaki kayan menü)
   ========================================================= */
.skin-vector-2022 .vector-toc {
    background: rgba(255, 255, 255, 0.02);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
}

.skin-vector-2022 .vector-toc-title {
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    letter-spacing: 1px;
    opacity: 0.8;
}

.skin-vector-2022 .vector-toc-link {
    color: rgba(255, 255, 255, 0.6) !important;
    transition: all 0.2s ease;
    border-left: 2px solid transparent;
    padding-left: 10px;
}

.skin-vector-2022 .vector-toc-list-item-active > .vector-toc-link {
    color: #2ecc71 !important;
    font-weight: 700;
    border-left-color: #2ecc71;
    background: linear-gradient(90deg, rgba(46, 204, 113, 0.1), transparent);
    padding-left: 14px;
}

.skin-vector-2022 .vector-toc-link:hover {
    color: #ffffff !important;
    padding-left: 14px;
}

/* =========================================================
   4. FM ÖZEL: OYUNCU ÖZELLİK KUTULARI (ATTRIBUTES)
   Wiki içinde <div class="fm-attr">18</div> şeklinde kullanılır
   ========================================================= */
.fm-attr {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 16px;
    color: #ffffff;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.3), 0 4px 8px rgba(0,0,0,0.2);
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
    margin: 0 4px;
    vertical-align: middle;
    /* Varsayılan Gri */
    background: #bdc3c7;
}

/* Değere göre renkler (JS ile veya manuel class ile atanabilir) */
.fm-attr.excellent { background: linear-gradient(135deg, #27ae60, #2ecc71); border: 1px solid #2ecc71; } /* 16-20 */
.fm-attr.good     { background: linear-gradient(135deg, #f39c12, #f1c40f); border: 1px solid #f1c40f; } /* 11-15 */
.fm-attr.average  { background: linear-gradient(135deg, #7f8c8d, #95a5a6); border: 1px solid #95a5a6; } /* 1-10 */

/* =========================================================
   5. FM ÖZEL: TAKTİK ROLLERİ KARTI
   Wiki içinde <div class="fm-role-card">...</div>
   ========================================================= */
.fm-role-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    margin: 15px 0;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fm-role-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: #2ecc71;
}

.fm-role-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #2ecc71;
}

.fm-role-title {
    font-size: 18px;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.fm-role-desc {
    font-size: 14px;
    color: #7f8c8d;
    line-height: 1.6;
}

/* =========================================================
   6. KOD BLOKLARI & PRE (TEKNİK VERİLER İÇİN)
   ========================================================= */
.skin-vector-2022 pre, 
.skin-vector-2022 code {
    background: #1e272e;
    color: #d2dae2;
    font-family: 'Fira Code', 'Consolas', monospace;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.skin-vector-2022 pre {
    padding: 20px;
    position: relative;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.skin-vector-2022 pre::before {
    content: 'CODE / DATA';
    position: absolute;
    top: 0;
    right: 0;
    background: #2ecc71;
    color: #fff;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 0 8px 0 8px;
    font-weight: bold;
}

/* =========================================================
   7. SEÇİM RENGİ (SELECTION) - ESTETİK DETAY
   ========================================================= */
::selection {
    background: rgba(46, 204, 113, 0.3);
    color: #1a4d2e;
    text-shadow: none;
}

/* =========================================================
   8. SAYFA ALTI KATEGORİ LİNKLERİ
   ========================================================= */
.skin-vector-2022 .catlinks {
    background: transparent;
    border: none;
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px dashed #dcdcdc;
}

.skin-vector-2022 .catlinks li a {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #555;
    transition: all 0.2s;
    display: inline-block;
}

.skin-vector-2022 .catlinks li a:hover {
    background: #2ecc71;
    color: #fff;
    border-color: #2ecc71;
    box-shadow: 0 4px 10px rgba(46, 204, 113, 0.3);
}

/* =========================================================
   9. SON RÖTUŞ: MOBİL DÜZELTMELERİ
   ========================================================= */
@media (max-width: 768px) {
    .skin-vector-2022 .vector-header {
        background: #1a472a; /* Mobilde daha düz renk performans için */
    }
    .fm-attr {
        width: 30px;
        height: 30px;
        font-size: 13px;
    }
    .skin-vector-2022 .mw-content-container {
        padding: 20px !important;
    }
}