MediaWiki:Vector.css: Revizyonlar arasındaki fark

FM Wiki sitesinden
Gezinti kısmına atla Arama kısmına atla
Değişiklik özeti yok
Değişiklik özeti yok
 
(Aynı kullanıcının aradaki diğer 17 değişikliği gösterilmiyor)
1. satır: 1. satır:
/* =========================================================
/* --- Vector skin: Logo boyutu + merkezleme + çerçeve --- */
  1. EKSİK KALAN ANİMASYONUN TAMAMLANMASI
 
  ========================================================= */
#p-logo {
@keyframes float {
     width: 100%;              /* panel genişliği kadar */
     0%, 100% { transform: translateY(0); }
    padding: 8px 0 12px;
     50% { transform: translateY(-4px); }
     margin: 0 auto 8px auto;  /* üstte, ortalanmış halde */
    text-align: center;       /* içerdiği linki ortala */
}
}


/* =========================================================
/* Asıl logo linki */
  2. SEKMELER (NAVIGASYON) - MODERN HAP (PILL) TASARIM
#p-logo .mw-wiki-logo {
  (Oku, Değiştir, Geçmişi Gör sekmeleri)
    width: 135px;
  ========================================================= */
    height: 135px;
.skin-vector-2022 .vector-p-views-menu .vector-menu-content-list {
    margin: 0 auto;
     display: flex;
     display: block;
     gap: 8px;
 
     background: rgba(240, 242, 245, 0.5);
    /* Logoyu kutuya düzgün oturt */
     padding: 6px;
     background-size: contain;
     border-radius: 14px;
     background-position: center;
     backdrop-filter: blur(5px);
     background-repeat: no-repeat;
 
    /* Şık çerçeve + hafif kart efekti */
     border-radius: 12px;
    border: 2px solid #1b2836;            /* koyu çerçeve */
    background-color: #fff;             /* koyu lacivert arka plan */
     box-shadow: 0 0 8px rgba(0, 0, 0, 0.35),
                0 0 0 1px rgba(255, 255, 255, 0.03); /* hafif glow */
}
}


.skin-vector-2022 .vector-p-views-menu .vector-menu-content-list li a {
 
     color: #5a6c7d;
 
     padding: 8px 16px;
 
/* Hızlı Başlangıç kutusu */
.wikitable.fm-quickbox {
     width: 100%;
    border: 1px solid #1b2836;
     margin-bottom: 1em;
    border-collapse: separate;
     border-radius: 10px;
     border-radius: 10px;
     font-weight: 600;
     overflow: hidden;
    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 {
.fm-quickbox-header {
     background: #ffffff;
     padding: 0.75em 1em;
     color: #2ecc71;
     background: #e5e7eb;
     box-shadow: 0 4px 12px rgba(46, 204, 113, 0.2);
     font-size: 140%;
     transform: translateY(-1px);
     text-align: left;
}
}


.skin-vector-2022 .vector-p-views-menu .vector-menu-content-list li a:hover:not(.selected) {
.fm-quickbox-body {
     background: rgba(255, 255, 255, 0.6);
    padding: 0.9em 1.2em;
     color: #27ae60;
     background: #020617;
     color: #e5e7eb;
}
}


/* =========================================================
/* Kutudaki link renkleri */
  3. TABLE OF CONTENTS (İÇİNDEKİLER) - STICKY HUD STYLE
.fm-quickbox-body a,
  (Sol veya Sağ taraftaki kayan menü)
.fm-quickbox-body a:visited {
  ========================================================= */
     color: #38bdf8;         /* FM tarzı açık mavi */
.skin-vector-2022 .vector-toc {
     text-decoration: none;
     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 {
.fm-quickbox-body a:hover {
     color: #ffffff;
     text-decoration: underline;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    letter-spacing: 1px;
    opacity: 0.8;
}
}


.skin-vector-2022 .vector-toc-link {
/* Kırmızı linkleri (henüz olmayan sayfa) daha şık hale getir */
     color: rgba(255, 255, 255, 0.6) !important;
.fm-quickbox-body a.new {
    transition: all 0.2s ease;
     color: #f97316;         /* turuncumsu vurgulu renk */
    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;
/* FM rol tablosu – modern görünüm */
     border-left-color: #2ecc71;
.wikitable.fm-role-table {
     background: linear-gradient(90deg, rgba(46, 204, 113, 0.1), transparent);
     width: 100%;
     padding-left: 14px;
     border-collapse: separate;
     border-spacing: 0;
    background: #020617;
    color: #e5e7eb;
     border: 1px solid #1f2933;
    border-radius: 10px;
    overflow: hidden;
     font-size: 95%;
}
}


.skin-vector-2022 .vector-toc-link:hover {
.fm-role-table th,
     color: #ffffff !important;
.fm-role-table td {
     padding-left: 14px;
    padding: 0.6em 0.8em;
     border: none;
     color:#efefef;
}
}


/* =========================================================
/* FM rol tablosu – başlıkları belirginleştir */
  4. FM ÖZEL: OYUNCU ÖZELLİK KUTULARI (ATTRIBUTES)
.fm-role-table th {
  Wiki içinde <div class="fm-attr">18</div> şeklinde kullanılır
     background: linear-gradient(90deg, #111827, #1f2937);
  ========================================================= */
     color: #f9fafb !important;    /* zorla açık renk yazı */
.fm-attr {
     text-align: left;
     display: inline-flex;
     font-weight: 700;
     align-items: center;
     font-size: 100%;
     justify-content: center;
     border-bottom: 1px solid #1f2933;
     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 */


/* =========================================================
/* Zebra satırlar */
  5. FM ÖZEL: TAKTİK ROLLERİ KARTI
.fm-role-table tr:nth-child(even) td {
  Wiki içinde <div class="fm-role-card">...</div>
     background: #020b1a;
  ========================================================= */
.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 {
/* İlk sütuna vurgu (Bölge) */
     transform: translateY(-5px);
.fm-role-table td:first-child {
     box-shadow: 0 10px 30px rgba(0,0,0,0.1);
     font-weight: 600;
     border-color: #2ecc71;
     color: #bfdbfe;
     border-right: 1px solid #1f2933;
}
}


.fm-role-card::before {
/* Hover efekti */
    content: '';
.fm-role-table tr:hover td {
    position: absolute;
     background: #041021;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
     background: #2ecc71;
}
}


.fm-role-title {
 
     font-size: 18px;
 
     font-weight: 800;
/* === Genel tablo stili: tüm wikitable'lar için modern FM görünümü === */
     color: #2c3e50;
 
     margin-bottom: 8px;
table.wikitable {
     display: flex;
     width: 100%;
     align-items: center;
    border-collapse: separate;
     border-spacing: 0;
    background: #020617;
     color: #e5e7eb;
     border: 1px solid #1f2933;
    border-radius: 10px;
     overflow: hidden;
     font-size: 95%;
}
}


.fm-role-desc {
/* Hücreler */
     font-size: 14px;
table.wikitable th,
     color: #7f8c8d;
table.wikitable td {
    line-height: 1.6;
     padding: 0.6em 0.8em;
     border: none; /* MediaWiki'nin varsayılan gri çizgilerini kaldır */
}
}


/* =========================================================
/* Başlık satırı */
  6. KOD BLOKLARI & PRE (TEKNİK VERİLER İÇİN)
table.wikitable th {
  ========================================================= */
     background: linear-gradient(90deg, #111827, #1f2937);
.skin-vector-2022 pre,
     color: #f9fafb !important;
.skin-vector-2022 code {
    text-align: left;
     background: #1e272e;
     font-weight: 700;
     color: #d2dae2;
     font-size: 100%;
     font-family: 'Fira Code', 'Consolas', monospace;
     border-bottom: 1px solid #1f2933;
     border-radius: 8px;
     border: 1px solid rgba(255, 255, 255, 0.1);
}
}


.skin-vector-2022 pre {
/* Zebra satırlar */
     padding: 20px;
table.wikitable tr:nth-child(even) td {
    position: relative;
     background: #020b1a;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}
}


.skin-vector-2022 pre::before {
/* Hover efekti */
    content: 'CODE / DATA';
table.wikitable tr:hover td {
    position: absolute;
     background: #041021;
    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 {
/* Koyu zeminli FM tablolarında link renkleri */
     background: #ffffff;
table.wikitable a,
    border: 1px solid #e0e0e0;
table.wikitable a:visited {
    padding: 6px 14px;
     color: #38bdf8;             /* açık mavi, okunaklı */
    border-radius: 20px;
     text-decoration: none;
    font-size: 12px;
     font-weight: 600;
    color: #555;
    transition: all 0.2s;
    display: inline-block;
}
}


.skin-vector-2022 .catlinks li a:hover {
table.wikitable a:hover {
    background: #2ecc71;
     color: #7dd3fc;             /* hover'da biraz aç */
     color: #fff;
     text-decoration: underline;
     border-color: #2ecc71;
    box-shadow: 0 4px 10px rgba(46, 204, 113, 0.3);
}
}


/* =========================================================
/* Henüz oluşturulmamış sayfa linkleri (kırmızı rezaletini çözelim) */
  9. SON RÖTUŞ: MOBİL DÜZELTMELERİ
table.wikitable a.new {
  ========================================================= */
    color: #f97316;             /* turuncu vurgulu */
@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;
    }
}
}

21.41, 6 Aralık 2025 itibarı ile sayfanın şu anki hâli

/* --- Vector skin: Logo boyutu + merkezleme + çerçeve --- */

#p-logo {
    width: 100%;              /* panel genişliği kadar */
    padding: 8px 0 12px;
    margin: 0 auto 8px auto;  /* üstte, ortalanmış halde */
    text-align: center;       /* içerdiği linki ortala */
}

/* Asıl logo linki */
#p-logo .mw-wiki-logo {
    width: 135px;
    height: 135px;
    margin: 0 auto;
    display: block;

    /* Logoyu kutuya düzgün oturt */
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;

    /* Şık çerçeve + hafif kart efekti */
    border-radius: 12px;
    border: 2px solid #1b2836;             /* koyu çerçeve */
    background-color: #fff;             /* koyu lacivert arka plan */
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.35),
                0 0 0 1px rgba(255, 255, 255, 0.03); /* hafif glow */
}




/* Hızlı Başlangıç kutusu */
.wikitable.fm-quickbox {
    width: 100%;
    border: 1px solid #1b2836;
    margin-bottom: 1em;
    border-collapse: separate;
    border-radius: 10px;
    overflow: hidden;
}

.fm-quickbox-header {
    padding: 0.75em 1em;
    background: #e5e7eb;
    font-size: 140%;
    text-align: left;
}

.fm-quickbox-body {
    padding: 0.9em 1.2em;
    background: #020617;
    color: #e5e7eb;
}

/* Kutudaki link renkleri */
.fm-quickbox-body a,
.fm-quickbox-body a:visited {
    color: #38bdf8;          /* FM tarzı açık mavi */
    text-decoration: none;
}

.fm-quickbox-body a:hover {
    text-decoration: underline;
}

/* Kırmızı linkleri (henüz olmayan sayfa) daha şık hale getir */
.fm-quickbox-body a.new {
    color: #f97316;          /* turuncumsu vurgulu renk */
}



/* FM rol tablosu – modern görünüm */
.wikitable.fm-role-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #020617;
    color: #e5e7eb;
    border: 1px solid #1f2933;
    border-radius: 10px;
    overflow: hidden;
    font-size: 95%;
}

.fm-role-table th,
.fm-role-table td {
    padding: 0.6em 0.8em;
    border: none;
    color:#efefef;
}

/* FM rol tablosu – başlıkları belirginleştir */
.fm-role-table th {
    background: linear-gradient(90deg, #111827, #1f2937);
    color: #f9fafb !important;     /* zorla açık renk yazı */
    text-align: left;
    font-weight: 700;
    font-size: 100%;
    border-bottom: 1px solid #1f2933;
}


/* Zebra satırlar */
.fm-role-table tr:nth-child(even) td {
    background: #020b1a;
}

/* İlk sütuna vurgu (Bölge) */
.fm-role-table td:first-child {
    font-weight: 600;
    color: #bfdbfe;
    border-right: 1px solid #1f2933;
}

/* Hover efekti */
.fm-role-table tr:hover td {
    background: #041021;
}



/* === Genel tablo stili: tüm wikitable'lar için modern FM görünümü === */

table.wikitable {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #020617;
    color: #e5e7eb;
    border: 1px solid #1f2933;
    border-radius: 10px;
    overflow: hidden;
    font-size: 95%;
}

/* Hücreler */
table.wikitable th,
table.wikitable td {
    padding: 0.6em 0.8em;
    border: none; /* MediaWiki'nin varsayılan gri çizgilerini kaldır */
}

/* Başlık satırı */
table.wikitable th {
    background: linear-gradient(90deg, #111827, #1f2937);
    color: #f9fafb !important;
    text-align: left;
    font-weight: 700;
    font-size: 100%;
    border-bottom: 1px solid #1f2933;
}

/* Zebra satırlar */
table.wikitable tr:nth-child(even) td {
    background: #020b1a;
}

/* Hover efekti */
table.wikitable tr:hover td {
    background: #041021;
}



/* Koyu zeminli FM tablolarında link renkleri */
table.wikitable a,
table.wikitable a:visited {
    color: #38bdf8;              /* açık mavi, okunaklı */
    text-decoration: none;
}

table.wikitable a:hover {
    color: #7dd3fc;              /* hover'da biraz aç */
    text-decoration: underline;
}

/* Henüz oluşturulmamış sayfa linkleri (kırmızı rezaletini çözelim) */
table.wikitable a.new {
    color: #f97316;              /* turuncu vurgulu */
}