MediaWiki:Common.css: Revizyonlar arasındaki fark
Gezinti kısmına atla
Arama kısmına atla
Koyu panel hover tasarımı iyileştirildi |
Vector Legacy üst menü renkleri düzeltildi |
||
| 136. satır: | 136. satır: | ||
text-decoration: none !important; | text-decoration: none !important; | ||
outline: none; | outline: none; | ||
} | |||
/* Vector Legacy gerçek üst menü paleti */ | |||
.vector-menu-tabs .vector-menu-content-list, | |||
.vector-menu-tabs-legacy .vector-menu-content-list { | |||
background: var(--hk-navy) !important; | |||
} | |||
.vector-menu-tabs .vector-menu-content-list a, | |||
.vector-menu-tabs-legacy .vector-menu-content-list a { | |||
color: #f4e7c7 !important; | |||
background: transparent !important; | |||
border: 0 !important; | |||
text-decoration: none !important; | |||
} | |||
.vector-menu-tabs .vector-menu-content-list a:hover, | |||
.vector-menu-tabs .vector-menu-content-list a:focus, | |||
.vector-menu-tabs-legacy .vector-menu-content-list a:hover, | |||
.vector-menu-tabs-legacy .vector-menu-content-list a:focus { | |||
color: var(--hk-navy) !important; | |||
background: var(--hk-gold) !important; | |||
text-decoration: none !important; | |||
} | |||
.vector-user-menu .vector-menu-content-list, | |||
.vector-menu-dropdown .vector-menu-content-list { | |||
background: var(--hk-paper) !important; | |||
} | |||
.vector-user-menu a, | |||
.vector-menu-dropdown a { | |||
color: var(--hk-navy) !important; | |||
} | |||
.vector-user-menu a:hover, | |||
.vector-menu-dropdown a:hover { | |||
color: var(--hk-teal) !important; | |||
background: var(--hk-gold-soft) !important; | |||
} | |||
.vector-menu-portal .vector-menu-content-list a { | |||
color: var(--hk-teal) !important; | |||
background: transparent !important; | |||
} | |||
.vector-menu-portal .vector-menu-content-list a:hover, | |||
.vector-menu-portal .vector-menu-content-list a:focus { | |||
color: var(--hk-navy) !important; | |||
background: var(--hk-gold-soft) !important; | |||
border-radius: 5px; | |||
text-decoration: none !important; | |||
} | } | ||
17.55, 21 Ağustos 2026 tarihindeki hâli
/* Hukukipedia – modern hukuk teması: lacivert, altın ve kâğıt tonları */
:root {
--hk-navy: #0b1f3a;
--hk-navy-2: #16365f;
--hk-teal: #0f6b78;
--hk-gold: #c59b4b;
--hk-gold-soft: #e8d6aa;
--hk-paper: #fbfaf7;
--hk-paper-2: #f1eee7;
--hk-ink: #243247;
--hk-muted: #657285;
--hk-line: #d9d5ca;
}
html, body { background: var(--hk-paper-2) !important; color: var(--hk-ink); }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
.mw-page-container { max-width: 1480px; }
.mw-body { background: var(--hk-paper); border: 1px solid var(--hk-line); border-top: 4px solid var(--hk-navy); padding: 1.5rem 1.75rem 2.5rem; color: var(--hk-ink); }
.mw-body h1, .mw-body h2, .mw-body h3, .mw-body h4, .mw-body h5, .mw-body h6 { color: var(--hk-navy); font-family: Georgia, "Times New Roman", serif; font-weight: 700; letter-spacing: .01em; }
.mw-body h1 { font-size: 2.1rem; }
.mw-body h1, .mw-body h2 { border-bottom: 1px solid var(--hk-gold); }
.mw-body a, .mw-parser-output a, #footer a { color: var(--hk-teal); }
.mw-body a:visited, .mw-parser-output a:visited { color: #5b4a7d; }
.vector-main-menu-container { background: var(--hk-navy); }
.vector-menu-portal { border-bottom: 1px solid rgba(255,255,255,.18); padding: .55rem .75rem; }
.vector-menu-portal h3 { color: #f4e7c7; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.vector-menu-content-list a { color: #eef4fb; border-radius: 4px; }
.vector-menu-content-list a:hover { background: var(--hk-navy-2); color: #fff; }
.vector-header-container { border-bottom: 1px solid var(--hk-line); background: var(--hk-paper); }
.vector-page-toolbar { background: var(--hk-paper); }
#p-logo a { background-image: none !important; }
#p-logo a::after { content: "HUKUKİPEDIA"; color: var(--hk-gold); font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: 1rem; letter-spacing: .08em; }
.vector-search-box input { background: #fff; color: var(--hk-ink); border-color: var(--hk-line); }
.page-Anasayfa #toc { display: none; }
/* Ana sayfa */
.hk-hero { background: linear-gradient(120deg, var(--hk-navy), var(--hk-navy-2)); border: 0; border-left: 5px solid var(--hk-gold); padding: 2rem 2.25rem; margin: 0 0 1.25rem; text-align: left; box-shadow: 0 8px 24px rgba(11,31,58,.16); }
.hk-hero h1 { margin: 0 0 .6rem; color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: 2.25rem; letter-spacing: .04em; }
.hk-hero p { max-width: 850px; margin: .5rem 0 0; color: #dce7f2; font-size: 1.05rem; line-height: 1.65; }
.hk-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 1.25rem; align-items: start; }
.hk-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.hk-card { background: #fff; border: 1px solid var(--hk-line); border-top: 4px solid var(--hk-teal); border-radius: 3px; padding: 1rem 1.1rem; box-shadow: 0 3px 12px rgba(36,50,71,.07); min-height: 145px; transition: transform .15s ease, box-shadow .15s ease; }
.hk-card:hover { transform: translateY(-2px); box-shadow: 0 7px 18px rgba(36,50,71,.13); }
.hk-card h2, .hk-card h3 { margin: 0 0 .65rem; padding: 0 0 .45rem; border-bottom: 1px solid var(--hk-gold-soft); color: var(--hk-navy); font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; }
.hk-card ul { margin: 0; padding-left: 1.2rem; }
.hk-card li { margin: .32rem 0; line-height: 1.35; }
.hk-side { background: var(--hk-navy); border: 0; border-top: 4px solid var(--hk-gold); color: #eef4fb; padding: 1rem 1.1rem; box-shadow: 0 5px 16px rgba(11,31,58,.14); }
.hk-side h2, .hk-side h3 { margin-top: 0; border-bottom: 1px solid rgba(232,214,170,.55); color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: 1.15rem; }
.hk-side a { color: #e8d6aa; }
.hk-notice { background: #fff8e8; border: 1px solid var(--hk-gold); border-left: 4px solid var(--hk-gold); padding: .85rem 1rem; margin: 1rem 0; color: var(--hk-ink); }
.mw-parser-output table.wikitable { background: #fff; color: var(--hk-ink); border-color: var(--hk-line); }
.mw-parser-output table.wikitable th { background: var(--hk-paper-2); color: var(--hk-navy); }
#footer { border-top: 1px solid var(--hk-line); }
@media (max-width: 1000px) { .hk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
.mw-body { padding: 1rem .75rem 1.5rem; border-left: 0; border-right: 0; }
.hk-layout { grid-template-columns: 1fr; }
.hk-grid { grid-template-columns: 1fr; }
.hk-hero { padding: 1.25rem 1rem; }
.hk-hero h1 { font-size: 1.8rem; }
.hk-card:hover { transform: none; }
}
/* Koyu menü ve yan panel linkleri: mavi yerine turuncu/altın */
.vector-main-menu-container a,
.vector-main-menu-container .vector-menu-content-list a,
.hk-side a,
.hk-side .mw-parser-output a {
color: #e8b85b !important;
}
.vector-main-menu-container a:hover,
.vector-main-menu-container .vector-menu-content-list a:hover,
.hk-side a:hover,
.hk-side .mw-parser-output a:hover {
color: #ffd98a !important;
background-color: rgba(232, 184, 91, .14) !important;
}
/* Link hover kontrastı: tüm gerçek MediaWiki linkleri için görünür turuncu/altın */
.mw-body a:hover,
.mw-body a:focus,
.vector-menu-content-list a:hover,
.vector-menu-content-list a:focus,
#footer a:hover,
#footer a:focus {
color: #d8891e !important;
text-decoration: underline;
}
.vector-main-menu-container a:hover,
.vector-main-menu-container a:focus,
.hk-side a:hover,
.hk-side a:focus,
.hk-side a:active {
color: #ffd98a !important;
background-color: rgba(232, 184, 91, .22) !important;
text-decoration: underline;
}
/* Hover alanı için daha rahat boşluk */
.vector-main-menu-container a,
.hk-side a {
display: inline-block;
padding: .22rem .55rem;
margin: .08rem 0;
border-radius: 5px;
transition: color .16s ease, background-color .16s ease, padding .16s ease;
}
.vector-main-menu-container a:hover,
.vector-main-menu-container a:focus,
.hk-side a:hover,
.hk-side a:focus {
padding-left: .7rem;
padding-right: .7rem;
}
/* Koyu hızlı erişim paneli: belirgin ve şık hover */
.hk-side li {
margin: .22rem 0;
}
.hk-side a {
display: block;
padding: .42rem .7rem;
border: 1px solid transparent;
border-radius: 7px;
color: #e8d6aa !important;
text-decoration: none !important;
transition: background-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.hk-side a:hover,
.hk-side a:focus-visible {
color: #0b1f3a !important;
background: #e8b85b !important;
border-color: #ffd98a !important;
transform: translateX(4px);
box-shadow: 0 4px 12px rgba(0, 0, 0, .28);
text-decoration: none !important;
outline: none;
}
/* Vector Legacy gerçek üst menü paleti */
.vector-menu-tabs .vector-menu-content-list,
.vector-menu-tabs-legacy .vector-menu-content-list {
background: var(--hk-navy) !important;
}
.vector-menu-tabs .vector-menu-content-list a,
.vector-menu-tabs-legacy .vector-menu-content-list a {
color: #f4e7c7 !important;
background: transparent !important;
border: 0 !important;
text-decoration: none !important;
}
.vector-menu-tabs .vector-menu-content-list a:hover,
.vector-menu-tabs .vector-menu-content-list a:focus,
.vector-menu-tabs-legacy .vector-menu-content-list a:hover,
.vector-menu-tabs-legacy .vector-menu-content-list a:focus {
color: var(--hk-navy) !important;
background: var(--hk-gold) !important;
text-decoration: none !important;
}
.vector-user-menu .vector-menu-content-list,
.vector-menu-dropdown .vector-menu-content-list {
background: var(--hk-paper) !important;
}
.vector-user-menu a,
.vector-menu-dropdown a {
color: var(--hk-navy) !important;
}
.vector-user-menu a:hover,
.vector-menu-dropdown a:hover {
color: var(--hk-teal) !important;
background: var(--hk-gold-soft) !important;
}
.vector-menu-portal .vector-menu-content-list a {
color: var(--hk-teal) !important;
background: transparent !important;
}
.vector-menu-portal .vector-menu-content-list a:hover,
.vector-menu-portal .vector-menu-content-list a:focus {
color: var(--hk-navy) !important;
background: var(--hk-gold-soft) !important;
border-radius: 5px;
text-decoration: none !important;
}