MediaWiki:Common.css: Revizyonlar arasındaki fark
MediaWiki arayüz sayfası
More actions
C. Karakuş (mesaj | katkılar) Değişiklik özeti yok Etiket: Elle geri alma |
C. Karakuş (mesaj | katkılar) Değişiklik özeti yok |
||
| 271. satır: | 271. satır: | ||
margin-top: 5px !important; /* Eski değer 15px idi */ | margin-top: 5px !important; /* Eski değer 15px idi */ | ||
padding-top: 12px !important; /* Eski değer 20px idi */ | padding-top: 12px !important; /* Eski değer 20px idi */ | ||
} | |||
/* ========================================================================== | |||
Kizilbashica Tercihler Menüsü - Tolkien Gateway Tarzı Tasarım | |||
========================================================================== */ | |||
/* Genel Kart ve Başlık Yapısı */ | |||
.citizen-menu__card-content { | |||
background-color: #16161a !important; | |||
border-radius: 12px; | |||
padding: 12px !important; | |||
} | |||
.citizen-preferences-section__heading { | |||
display: none !important; /* "Appearance" ve "Behavior" üst başlıklarını gizler */ | |||
} | |||
/* Alan Başlıkları ve Açıklamalar */ | |||
.citizen-preferences-group legend.cdx-label, | |||
.citizen-preferences-group .cdx-label__label__text { | |||
font-family: 'Georgia', serif !important; | |||
color: #a39379 !important; /* Soluk Altın / Bej */ | |||
font-size: 1.05rem !important; | |||
font-weight: 500 !important; | |||
margin-bottom: 6px !important; | |||
} | |||
.cdx-label__description { | |||
display: none !important; /* "Switch between light and dark mode" gibi alt açıklamaları gizler */ | |||
} | |||
/* ========================================================================== | |||
1. COLOR (RENK) SEÇENEKLERİ (Auto, Light, Dark) | |||
========================================================================== */ | |||
.citizen-preferences-radio { | |||
display: flex !important; | |||
gap: 8px !important; | |||
width: 100% !important; | |||
} | |||
.citizen-preferences-radio .cdx-radio { | |||
flex: 1 1 0px !important; | |||
margin: 0 !important; | |||
padding: 0 !important; | |||
} | |||
/* Klasik yuvarlak radyo ikonunu ve varsayılan kutu önizlemesini (SVG) gizle */ | |||
.citizen-preferences-radio .cdx-radio__icon, | |||
.citizen-preferences-card__preview, | |||
.citizen-preferences-radio .cdx-radio__wrapper { | |||
display: none !important; | |||
} | |||
/* Yeni Buton Tasarımı (Label) */ | |||
.citizen-preferences-radio .cdx-radio__label, | |||
.citizen-preferences-radio .cdx-label__label { | |||
display: block !important; | |||
width: 100% !important; | |||
margin: 0 !important; | |||
padding: 0 !important; | |||
cursor: pointer; | |||
} | |||
.citizen-preferences-card__label { | |||
display: block !important; | |||
padding: 12px 6px !important; | |||
background-color: #1e1e24 !important; | |||
color: #e2d9c8 !important; | |||
font-family: 'Georgia', serif !important; | |||
font-weight: bold !important; | |||
text-align: center !important; | |||
border: 2px solid #282830 !important; | |||
border-radius: 8px !important; | |||
transition: all 0.2s ease; | |||
font-size: 0.95rem !important; | |||
} | |||
/* Üzerine gelindiğinde (Hover) */ | |||
.citizen-preferences-radio .cdx-radio:hover .citizen-preferences-card__label { | |||
background-color: #25252d !important; | |||
border-color: #3e3e4a !important; | |||
} | |||
/* SEÇİLİ DURUM: İlgili input :checked olduğunda üst seçiciden label'ı yakala */ | |||
.citizen-preferences-radio .cdx-radio:has(.cdx-radio__input:checked) .citizen-preferences-card__label { | |||
border-color: #f0c265 !important; /* Altın sarısı çerçeve */ | |||
color: #f0c265 !important; | |||
} | |||
/* İSTİSNA: Light Mod Seçildiğinde Arka Plan Beyaz/Krem Olur */ | |||
.citizen-preferences-radio .cdx-radio:has(.cdx-radio__input[value="day"]:checked) .citizen-preferences-card__label { | |||
background-color: #f9f6f0 !important; | |||
color: #1a1a1e !important; | |||
border-color: #f0c265 !important; | |||
} | |||
/* ========================================================================== | |||
2. DROPDOWN ALANLARI (Text ve Width Seçeneklerini Butona Çevirme) | |||
========================================================================== */ | |||
/* Dropdown kutusunu ve içindeki ok ikonunu devre dışı bırakıyoruz */ | |||
.cdx-select-vue__handle { | |||
display: none !important; | |||
} | |||
/* İçerideki menüyü her zaman görünür ve yan yana dizilebilir yapıyoruz */ | |||
.cdx-select-vue .cdx-menu { | |||
display: block !important; | |||
position: static !important; | |||
visibility: visible !important; | |||
width: 100% !important; | |||
transform: none !important; | |||
background: transparent !important; | |||
box-shadow: none !important; | |||
border: none !important; | |||
padding: 0 !important; | |||
} | |||
.cdx-menu__listbox { | |||
display: flex !important; | |||
gap: 8px !important; | |||
width: 100% !important; | |||
padding: 0 !important; | |||
margin: 0 !important; | |||
list-style: none !important; | |||
} | |||
.cdx-menu-item { | |||
flex: 1 1 0px !important; | |||
padding: 0 !important; | |||
background: transparent !important; | |||
} | |||
/* Menü Elemanlarının Buton Görünümü */ | |||
.cdx-menu-item__content { | |||
display: block !important; | |||
padding: 12px 6px !important; | |||
background-color: #1e1e24 !important; | |||
color: #e2d9c8 !important; | |||
font-family: 'Georgia', serif !important; | |||
font-weight: bold !important; | |||
text-align: center !important; | |||
border: 2px solid #282830 !important; | |||
border-radius: 8px !important; | |||
transition: all 0.2s ease; | |||
font-size: 0.95rem !important; | |||
cursor: pointer; | |||
} | |||
.cdx-menu-item:hover .cdx-menu-item__content { | |||
background-color: #25252d !important; | |||
border-color: #3e3e4a !important; | |||
} | |||
/* SEÇİLİ DURUM: Dropdown'da aktif olan eleman */ | |||
.cdx-menu-item--selected .cdx-menu-item__content { | |||
border-color: #f0c265 !important; | |||
color: #f0c265 !important; | |||
background-color: #1e1e24 !important; | |||
} | |||
/* ========================================================================== | |||
3. PURE BLACK MODE & DİĞER TOGGLE SWITCHLER (Açma/Kapama Butonları) | |||
========================================================================== */ | |||
/* Standart switch görünümünü modern butonlara dönüştür */ | |||
.cdx-toggle-switch { | |||
display: flex !important; | |||
flex-direction: column-reverse !important; /* Başlığı yukarı, butonları aşağı almak için */ | |||
align-items: flex-start !important; | |||
margin-bottom: 16px !important; | |||
} | |||
/* Başlık alanını özelleştir */ | |||
.cdx-toggle-switch__label { | |||
padding: 0 !important; | |||
margin-bottom: 6px !important; | |||
} | |||
.cdx-toggle-switch__label .cdx-label__label__text { | |||
font-family: 'Georgia', serif !important; | |||
color: #a39379 !important; | |||
font-size: 1.05rem !important; | |||
font-weight: 500 !important; | |||
} | |||
.cdx-toggle-switch__label .cdx-label__description { | |||
display: none !important; /* Açıklamayı gizle */ | |||
} | |||
/* Orijinal switch kaydırıcısını tamamen gizle */ | |||
.cdx-toggle-switch__switch { | |||
display: none !important; | |||
} | |||
/* Gizli inputun arkasına CSS ile "On / Off" simülasyon kutusu kuruyoruz */ | |||
.cdx-toggle-switch::after { | |||
content: 'Off' !important; | |||
display: block !important; | |||
width: 48% !important; /* İsteğe göre tam genişlik ya da ufak buton yapılabilir */ | |||
min-width: 100px; | |||
padding: 12px 6px !important; | |||
background-color: #1e1e24 !important; | |||
color: #e2d9c8 !important; | |||
font-family: 'Georgia', serif !important; | |||
font-weight: bold !important; | |||
text-align: center !important; | |||
border: 2px solid #f0c265 !important; /* Görselde kapalıyken de altın çerçeveli */ | |||
border-radius: 8px !important; | |||
transition: all 0.2s ease; | |||
font-size: 0.95rem !important; | |||
cursor: pointer; | |||
} | |||
/* Switch aktif (On) olduğunda */ | |||
.cdx-toggle-switch:has(.cdx-toggle-switch__input:checked)::after { | |||
content: 'On' !important; | |||
background-color: #000000 !important; /* Görseldeki gibi saf siyah */ | |||
color: #ffffff !important; | |||
border-color: #f0c265 !important; | |||
} | } | ||
09.52, 7 Temmuz 2026 tarihindeki hâli
/* Google Fonts'tan Lato'yu çağırıyoruz */
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;1,400&display=swap');
/* Tüm siteye fontu uyguluyoruz */
:root, body {
--font-family-sans-serif: 'Lato', sans-serif !important;
font-family: 'Lato', sans-serif !important;
}
/* Başlıklar için de geçerli olsun */
h1, h2, h3, h4, h5, h6 {
font-family: 'Lato', sans-serif !important;
}
/* Citizen ve modern temalar için geniş kapsamlı gizleme */
#siteSub,
.mw-tagline,
#tagline,
.citizen-tagline {
display: none !important;
}
.yazar-alt-imza {
margin-top: 30px;
text-align: right;
clear: both;
}
.yazar-alt-imza hr {
width: 200px;
margin-right: 0;
margin-left: auto;
border: 0;
border-top: 1px solid #aaa;
margin-bottom: 5px;
}
/* Kizilbashica Elite Tasarım */
:root {
--kb-card-bg: #ffffff;
--kb-text-main: #202122;
--kb-text-sub: #54595d;
--kb-border: #eeeeee;
--kb-shadow: rgba(0, 0, 0, 0.1);
}
/* Karanlık Mod Değişkenleri */
.mw-dark-mode, body.skin-theme-dark {
--kb-card-bg: #1a1b1e;
--kb-text-main: #f8f9fa;
--kb-text-sub: #a2a9b1;
--kb-border: #2c2e33;
--kb-shadow: rgba(0, 0, 0, 0.5);
}
.bilgi-kutusu-elite {
float: right !important;
width: 320px !important;
margin: 0 0 1.5em 1.5em !important;
background-color: var(--kb-card-bg) !important;
color: var(--kb-text-main) !important;
border: 1px solid var(--kb-border) !important;
border-radius: 24px !important; /* Daha oval */
box-shadow: 0 10px 30px var(--kb-shadow) !important;
border-collapse: separate !important;
border-spacing: 0 !important;
overflow: hidden !important;
font-family: 'Segoe UI', Roboto, sans-serif !important;
}
/* Başlık Şeridi */
.bilgi-kutusu-elite .ana-baslik {
background: linear-gradient(135deg, #a51c1c, #7b1414) !important;
color: #ffffff !important;
padding: 18px !important;
font-size: 1.25em !important;
font-weight: 700 !important;
text-align: center !important;
border: none !important;
}
/* Alt Bölüm Başlıkları (Kişisel Bilgiler vb.) */
.bilgi-kutusu-elite .alt-baslik {
background-color: rgba(165, 28, 28, 0.05) !important;
color: #a51c1c !important;
padding: 8px !important;
font-size: 0.75em !important;
text-transform: uppercase !important;
letter-spacing: 1.5px !important;
font-weight: 800 !important;
text-align: center !important;
border-top: 1px solid var(--kb-border) !important;
}
/* Satırlar */
.bilgi-kutusu-elite td {
padding: 12px 15px !important;
font-size: 0.9em !important;
border-bottom: 1px solid var(--kb-border) !important;
vertical-align: middle !important;
}
/* Sol Taraftaki Etiketler */
.bilgi-kutusu-elite .etiket {
font-weight: 600 !important;
color: var(--kb-text-sub) !important;
width: 38% !important;
background-color: transparent !important;
}
/* Resim Alanı */
.bilgi-kutusu-elite .resim-alani {
text-align: center !important;
padding: 15px !important;
border-bottom: 1px solid var(--kb-border) !important;
}
.bilgi-kutusu-elite .resim-alani img {
border-radius: 16px !important;
}
/* Chicago Kaynak Stili */
.kb-cite-chicago {
font-size: 0.9em;
color: var(--color-base, #2d2d2d);
line-height: 1.6;
display: inline-block;
padding-left: 1.5em; /* Asılı girinti efekti */
text-indent: -1.5em;
}
/* Chicago stili linkleri Citizen kırmızısına yaklaştıralım */
.kb-cite-chicago a {
color: #a51c1c;
text-decoration: underline dotted;
}
/////////////////////////////////////
/* ==========================================================================
CITIZEN SKIN FOOTER TAM ORTALAMA VE YENİDEN TASARLAMA (KESİN ÇÖZÜM)
========================================================================== */
/* 1. Arka plan rengini en dıştan tam siyah yapalım */
footer.mw-footer,
.citizen-footer {
background-color: #050505 !important;
padding: 40px 0 !important;
}
/* 2. Gönderdiğin ana taşıyıcıyı dikey kolon yapıp ortalayalım */
.citizen-footer__container {
display: flex !important;
flex-direction: column !important;
align-items: center !important;
justify-content: center !important;
width: 100% !important;
max-width: 100% !important;
margin: 0 auto !important;
box-sizing: border-box !important;
}
/* 3. Yan yana dizilimi sağlayan iç içeriği (Content) tamamen dikey sıraya zorlayalım */
.citizen-footer__content {
display: flex !important;
flex-direction: column !important; /* Yan yana durmayı iptal eder, alt alta dizer */
align-items: center !important;
justify-content: center !important;
text-align: center !important;
width: 100% !important;
gap: 25px !important; /* Logo grubu ile link grubu arasındaki dikey boşluk */
}
/* 4. Logo ve Site Adının olduğu alanı ortalayalım */
.citizen-footer__siteinfo {
display: flex !important;
flex-direction: column !important;
align-items: center !important;
justify-content: center !important;
text-align: center !important;
margin: 0 auto !important;
}
/* Logonun altındaki "Kizilbashica" başlık yazısı */
.citizen-footer__sitetitle {
display: flex !important;
flex-direction: column !important;
align-items: center !important;
gap: 10px !important;
font-size: 1.2rem !important;
font-weight: bold !important;
color: #ffffff !important;
}
/* Logo görselini tam merkezde tutalım */
.citizen-footer__sitetitle img.mw-logo-icon {
display: block !important;
margin: 0 auto !important;
}
/* Telif hakkı yazısı (© Encyclopædia Kizilbashica...) */
#footer-desc.citizen-footer__desc {
margin: 8px auto 0 auto !important;
font-size: 0.8rem !important;
color: #71717a !important;
text-align: center !important;
}
/* 5. Alttaki Link Menüsünü Yan Yana ve Tam Ortalı Dizelim */
#footer-places.citizen-footer__places,
nav#footer-places {
width: 100% !important;
max-width: 600px !important;
margin: 15px auto 0 auto !important;
padding-top: 20px !important;
border-top: 1px solid #1c1c1f !important; /* Araya şık ince bir çizgi */
display: block !important;
}
/* Linklerin listesini (ul) yan yana esnetelim */
nav#footer-places ul {
display: flex !important;
flex-direction: row !important; /* Yan yana dizilim */
flex-wrap: wrap !important;
justify-content: center !important; /* Yatayda tam ortala */
align-items: center !important;
gap: 35px !important; /* Linklerin birbirine olan mesafesi */
margin: 0 !important;
padding: 0 !important;
list-style: none !important;
}
/* Liste elemanlarının noktalarını ve boşluklarını tamamen sıfırlayalım */
nav#footer-places ul li {
margin: 0 !important;
padding: 0 !important;
list-style: none !important;
display: inline-block !important;
}
/* Linklerin renkleri ve yazı boyutları */
nav#footer-places ul li a {
color: #a1a1aa !important;
font-size: 0.85rem !important;
text-decoration: none !important;
transition: color 0.2s ease;
}
/* Linklerin üzerine gelindiğinde beyaz parlama efekti */
nav#footer-places ul li a:hover {
color: #ffffff !important;
}
/* 6. En alttaki işlevsiz boş section alanını gizleyelim space kaplamasın */
.citizen-footer__bottom {
display: none !important;
}
/* Logonun altındaki "Kizilbashica" kelimesini kaldır */
.citizen-footer__sitetitle .mw-logo-wordmark {
display: none !important;
}
/* Footer Alanını Dikeyde Daraltma */
/* 1. Dış çerçeve boşluğunu azalt (Yukarı-aşağı 40px olan değeri 20px yapıyoruz) */
footer.mw-footer,
.citizen-footer {
padding: 20px 0 !important;
}
/* 2. Elemanların (Logo, telif yazısı, çizgi) arasındaki dikey mesafeyi daralt */
.citizen-footer__content {
gap: 12px !important; /* Eski değer 25px idi */
}
/* 3. Link grubunun üstündeki boşluğu ve çizgi mesafesini azalt */
#footer-places.citizen-footer__places,
nav#footer-places {
margin-top: 5px !important; /* Eski değer 15px idi */
padding-top: 12px !important; /* Eski değer 20px idi */
}
/* ==========================================================================
Kizilbashica Tercihler Menüsü - Tolkien Gateway Tarzı Tasarım
========================================================================== */
/* Genel Kart ve Başlık Yapısı */
.citizen-menu__card-content {
background-color: #16161a !important;
border-radius: 12px;
padding: 12px !important;
}
.citizen-preferences-section__heading {
display: none !important; /* "Appearance" ve "Behavior" üst başlıklarını gizler */
}
/* Alan Başlıkları ve Açıklamalar */
.citizen-preferences-group legend.cdx-label,
.citizen-preferences-group .cdx-label__label__text {
font-family: 'Georgia', serif !important;
color: #a39379 !important; /* Soluk Altın / Bej */
font-size: 1.05rem !important;
font-weight: 500 !important;
margin-bottom: 6px !important;
}
.cdx-label__description {
display: none !important; /* "Switch between light and dark mode" gibi alt açıklamaları gizler */
}
/* ==========================================================================
1. COLOR (RENK) SEÇENEKLERİ (Auto, Light, Dark)
========================================================================== */
.citizen-preferences-radio {
display: flex !important;
gap: 8px !important;
width: 100% !important;
}
.citizen-preferences-radio .cdx-radio {
flex: 1 1 0px !important;
margin: 0 !important;
padding: 0 !important;
}
/* Klasik yuvarlak radyo ikonunu ve varsayılan kutu önizlemesini (SVG) gizle */
.citizen-preferences-radio .cdx-radio__icon,
.citizen-preferences-card__preview,
.citizen-preferences-radio .cdx-radio__wrapper {
display: none !important;
}
/* Yeni Buton Tasarımı (Label) */
.citizen-preferences-radio .cdx-radio__label,
.citizen-preferences-radio .cdx-label__label {
display: block !important;
width: 100% !important;
margin: 0 !important;
padding: 0 !important;
cursor: pointer;
}
.citizen-preferences-card__label {
display: block !important;
padding: 12px 6px !important;
background-color: #1e1e24 !important;
color: #e2d9c8 !important;
font-family: 'Georgia', serif !important;
font-weight: bold !important;
text-align: center !important;
border: 2px solid #282830 !important;
border-radius: 8px !important;
transition: all 0.2s ease;
font-size: 0.95rem !important;
}
/* Üzerine gelindiğinde (Hover) */
.citizen-preferences-radio .cdx-radio:hover .citizen-preferences-card__label {
background-color: #25252d !important;
border-color: #3e3e4a !important;
}
/* SEÇİLİ DURUM: İlgili input :checked olduğunda üst seçiciden label'ı yakala */
.citizen-preferences-radio .cdx-radio:has(.cdx-radio__input:checked) .citizen-preferences-card__label {
border-color: #f0c265 !important; /* Altın sarısı çerçeve */
color: #f0c265 !important;
}
/* İSTİSNA: Light Mod Seçildiğinde Arka Plan Beyaz/Krem Olur */
.citizen-preferences-radio .cdx-radio:has(.cdx-radio__input[value="day"]:checked) .citizen-preferences-card__label {
background-color: #f9f6f0 !important;
color: #1a1a1e !important;
border-color: #f0c265 !important;
}
/* ==========================================================================
2. DROPDOWN ALANLARI (Text ve Width Seçeneklerini Butona Çevirme)
========================================================================== */
/* Dropdown kutusunu ve içindeki ok ikonunu devre dışı bırakıyoruz */
.cdx-select-vue__handle {
display: none !important;
}
/* İçerideki menüyü her zaman görünür ve yan yana dizilebilir yapıyoruz */
.cdx-select-vue .cdx-menu {
display: block !important;
position: static !important;
visibility: visible !important;
width: 100% !important;
transform: none !important;
background: transparent !important;
box-shadow: none !important;
border: none !important;
padding: 0 !important;
}
.cdx-menu__listbox {
display: flex !important;
gap: 8px !important;
width: 100% !important;
padding: 0 !important;
margin: 0 !important;
list-style: none !important;
}
.cdx-menu-item {
flex: 1 1 0px !important;
padding: 0 !important;
background: transparent !important;
}
/* Menü Elemanlarının Buton Görünümü */
.cdx-menu-item__content {
display: block !important;
padding: 12px 6px !important;
background-color: #1e1e24 !important;
color: #e2d9c8 !important;
font-family: 'Georgia', serif !important;
font-weight: bold !important;
text-align: center !important;
border: 2px solid #282830 !important;
border-radius: 8px !important;
transition: all 0.2s ease;
font-size: 0.95rem !important;
cursor: pointer;
}
.cdx-menu-item:hover .cdx-menu-item__content {
background-color: #25252d !important;
border-color: #3e3e4a !important;
}
/* SEÇİLİ DURUM: Dropdown'da aktif olan eleman */
.cdx-menu-item--selected .cdx-menu-item__content {
border-color: #f0c265 !important;
color: #f0c265 !important;
background-color: #1e1e24 !important;
}
/* ==========================================================================
3. PURE BLACK MODE & DİĞER TOGGLE SWITCHLER (Açma/Kapama Butonları)
========================================================================== */
/* Standart switch görünümünü modern butonlara dönüştür */
.cdx-toggle-switch {
display: flex !important;
flex-direction: column-reverse !important; /* Başlığı yukarı, butonları aşağı almak için */
align-items: flex-start !important;
margin-bottom: 16px !important;
}
/* Başlık alanını özelleştir */
.cdx-toggle-switch__label {
padding: 0 !important;
margin-bottom: 6px !important;
}
.cdx-toggle-switch__label .cdx-label__label__text {
font-family: 'Georgia', serif !important;
color: #a39379 !important;
font-size: 1.05rem !important;
font-weight: 500 !important;
}
.cdx-toggle-switch__label .cdx-label__description {
display: none !important; /* Açıklamayı gizle */
}
/* Orijinal switch kaydırıcısını tamamen gizle */
.cdx-toggle-switch__switch {
display: none !important;
}
/* Gizli inputun arkasına CSS ile "On / Off" simülasyon kutusu kuruyoruz */
.cdx-toggle-switch::after {
content: 'Off' !important;
display: block !important;
width: 48% !important; /* İsteğe göre tam genişlik ya da ufak buton yapılabilir */
min-width: 100px;
padding: 12px 6px !important;
background-color: #1e1e24 !important;
color: #e2d9c8 !important;
font-family: 'Georgia', serif !important;
font-weight: bold !important;
text-align: center !important;
border: 2px solid #f0c265 !important; /* Görselde kapalıyken de altın çerçeveli */
border-radius: 8px !important;
transition: all 0.2s ease;
font-size: 0.95rem !important;
cursor: pointer;
}
/* Switch aktif (On) olduğunda */
.cdx-toggle-switch:has(.cdx-toggle-switch__input:checked)::after {
content: 'On' !important;
background-color: #000000 !important; /* Görseldeki gibi saf siyah */
color: #ffffff !important;
border-color: #f0c265 !important;
}