MediaWiki:Common.css
Not: Yayımladıktan sonra değişiklikleri görmeniz 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)
- Edge: Ctrl basılıyken Yenile'ye tıklayın ya da Ctrl-F5'e basın.
/* --- WikiKod: Kurumsal Hukuk Teması (v2 optimize) --- */
/* Vector 2022 ile tam uyumlu, sade ve kurumsal görünüm */
/* ==========================================================
GENEL STİLLER
========================================================== */
/*Logo*/
/*Logo Son*/
body {
background-color: #f8f9fa;
color: #202122;
font-family: "Segoe UI", "Inter", "Helvetica Neue", sans-serif;
}
a { color: #0645ad; }
a:visited { color: #0b0080; }
a:hover { text-decoration: underline; }
.mw-body-content {
background: #fff;
border: 1px solid #ddd;
border-radius: 4px;
padding: 1.2rem 1.5rem;
box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
/* Başlıklar */
h1, h2 {
color: #2a4b8d;
font-weight: 600;
border-bottom: 2px solid #dbe4f3;
padding-bottom: 0.2em;
margin-top: 1.2em;
}
h3, h4 {
color: #22335b;
border-left: 4px solid #c2d0ec;
padding-left: 6px;
font-weight: 600;
}
/* Hover efekti */
.infobox:hover {
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
transition: box-shadow 0.2s ease;
}
/* ==========================================================
HUKUKİ KUTULAR
========================================================== */
/* === Kanun kutusu === */
/* Kanun kutusu */
.lawbox {
float: right;
/* clear: right; ← bunu kaldır */
margin: 0 0 1em 1em;
border: 1px solid #bcc6d6;
border-radius: 6px;
background: #ffffff;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
overflow: hidden;
width: auto;
max-width: 340px; /* isteğe göre */
}
.lawbox caption {
background: linear-gradient(180deg, #e8f0ff, #d7e2fa);
color: #1f376d;
font-weight: 700;
text-align: center;
padding: 8px;
border-bottom: 2px solid #b5c1d7;
font-size: 1em;
}
.lawbox th, .lawbox td {
border-bottom: 1px solid #d8e0ee;
padding: 6px 8px;
}
.lawbox th {
width: 38%;
background: #f2f6fc;
color: #1c1c1c;
border-right: 1px solid #d8e0ee;
font-weight: 600;
}
.lawbox td { color: #222; }
/* Kavram kutusu */
.lawbox.kavram {
float: left;
clear: right;
max-width: 2280px;
}
.lawbox.kavram th { background: #f4f7ff; }
.lawbox.kavram caption {
background: linear-gradient(180deg, #f0f5ff, #dce7ff);
color: #22335b;
font-weight: 700;
border-bottom: 1px solid #c8d6f2;
}
/* Hover */
.lawbox:hover {
box-shadow: 0 3px 10px rgba(0,0,0,0.08);
transition: box-shadow 0.2s ease;
}
/* ==========================================================
MAKALE DÜZENİ
========================================================== */
.mw-parser-output p {
text-align: justify;
line-height: 1.65;
margin: 0.6em 0;
}
.mw-parser-output ul {
margin: 0.5em 0 0.5em 1.5em;
}
.mw-parser-output li { margin-bottom: 4px; }
blockquote {
background: #f4f7fb;
border-left: 4px solid #4c6ef5;
padding: 8px 12px;
margin: 1em 0;
font-style: italic;
}
.references {
border-top: 1px solid #dbe4f3;
padding-top: 6px;
}
/* ==========================================================
UYARI / BİLGİ KUTULARI
========================================================== */
.notice-box,
.warning-box,
.deprecated-box {
display: inline-flex;
align-items: center;
gap: 6px;
width: auto;
border-radius: 6px;
padding: 8px 12px;
margin: 0.5em 0 1em 0;
font-size: 90%;
line-height: 1.5;
box-sizing: border-box;
word-wrap: break-word;
}
.notice-box *,
.warning-box *,
.deprecated-box * {
background: none !important;
border: none !important;
padding: 0 !important;
margin: 0 !important;
}
.notice-box {
border: 1px solid #cfd8ea;
background: #f1f5ff;
color: #1e2a4a;
}
.notice-box::before {
content: "ℹ️";
color: #22335b;
}
.warning-box {
border: 1px solid #f3d08c;
background: #fff8e1;
color: #503c00;
}
.warning-box::before {
content: "⚠️";
color: #9a6a00;
}
.deprecated-box {
border: 1px solid #e2b0b0;
background: #fff0f0;
color: #5a1f1f;
}
.deprecated-box::before {
content: "⛔";
color: #b52d2d;
}
/* === Güncellik şeridi === */
.outdated-banner {
background: linear-gradient(90deg, #ffe8a3, #fff4cf);
border: 1px solid #f3d08c;
padding: 8px;
border-radius: 4px;
font-weight: 500;
color: #664d00;
text-align: center;
margin: 1em 0;
}
/* Kod blokları */
pre, code {
background: #f1f3f5;
border: 1px solid #dee2e6;
border-radius: 4px;
padding: 6px 10px;
display: block;
font-family: "Consolas", monospace;
font-size: 0.95em;
}
/* ==========================================================
ANA SAYFA DÜZENİ
========================================================== */
.main-grid {
display: flex;
justify-content: space-between;
gap: 20px;
flex-wrap: wrap;
margin-top: 20px;
}
.main-column {
flex: 1;
min-width: 250px;
background: #fff;
border: 1px solid #e2e6ef;
border-radius: 8px;
padding: 15px 20px;
box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.main-column h2 {
color: #2a4b8d;
border-bottom: 1px solid #dbe4f3;
padding-bottom: 4px;
margin-bottom: 10px;
font-size: 1.1em;
}
.main-column ul { margin: 0; padding-left: 16px; }
.main-column li { margin: 5px 0; }
.footer-bar {
text-align: center;
margin-top: 40px;
font-size: 0.9em;
color: #555;
border-top: 1px solid #ddd;
padding-top: 10px;
}
/* Üst Navigasyon */
.top-nav {
background: linear-gradient(180deg, #30448a, #2a3b76);
padding: 10px;
text-align: center;
border-radius: 6px;
box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.top-nav a,
.top-nav a:visited {
color: #fff !important;
text-decoration: none !important;
margin: 0 15px;
font-weight: 500;
}
.top-nav a:hover {
opacity: 0.85;
transform: scale(1.05);
}
.lawbox-footer td {
border-top: 1px solid #d8e0ee;
background: #f9fbff;
}
.ictihatbox {
background: #f8f9fa;
border: 1px solid #cbd5e0;
border-radius: 8px;
padding: 10px;
margin: 1em 0;
margin-left:12px;
box-shadow: 0 1px 3px rgba(0,0,0,0.05);
display:inline-block;
}
.ictihatbox .lawbox-header {
background: linear-gradient(135deg,#1e40af,#2563eb);
color: #fff;
padding: 5px 10px;
border-radius: 6px 6px 0 0;
font-weight: bold;
}
.ictihatbox .lawbox-body {
padding: 6px 10px;
line-height: 1.5;
}
.ictihat-listesi ul {
list-style-type: disc;
margin-left: 1.5em;
}
.kanun-metin {
background: #fff;
/*border: 1px solid #d1d5db;
border-radius: 8px;*/
/* padding: 20px 30px;*/
/*margin: 1em 0;*/
font-family: "DejaVu Serif", Georgia, "Times New Roman", serif;
line-height: 1.7;
color: #222;
/* box-shadow: 0 2px 5px rgba(0,0,0,0.05);*/
}
.kanun-metin h2 {
color: #1e3a8a;
border-bottom: 2px solid #3b82f6;
padding-bottom: 4px;
margin-top: 1.3em;
font-size: 1.2em;
}
.kanun-metin b {
color: #111;
}
.kanun-metin dd {
margin-left: 2em;
text-indent: -1.2em;
}
.kanun-metin .iptal {
background: #f3f4f6;
border-left: 3px solid #9ca3af;
padding: 4px 8px;
font-style: italic;
color: #555;
margin: 0.4em 0;
border-radius: 4px;
}
/* === Ana sayfa portalı === */
.main-portal {
max-width: 960px;
margin: 0 auto;
text-align: center;
font-family: "Segoe UI", "Inter", sans-serif;
}
.portal-header {
margin-top: 30px;
}
.portal-header h1 {
font-size: 2em;
color: #1e3a8a;
margin: 0.2em 0;
}
.portal-header .subtitle {
color: #555;
font-size: 1.1em;
}
.portal-logo {
width: 140px;
margin-bottom: 10px;
}
.portal-sections {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 20px;
margin-top: 30px;
}
.portal-card {
background: #ffffff;
border: 1px solid #e5e7eb;
border-radius: 10px;
padding: 20px;
box-shadow: 0 2px 5px rgba(0,0,0,0.05);
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.portal-card:hover {
transform: translateY(-3px);
box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.portal-card h2 {
color: #1e3a8a;
}
.portal-link {
display: inline-block;
margin-top: 8px;
color: #2563eb;
font-weight: 600;
text-decoration: none;
}
.portal-link:hover {
text-decoration: underline;
}
/*İhtisas kutusu*/
.ihtisas-box {
border: 1px solid #cbd5e1;
border-left: 6px solid #1e3a8a;
background: #f9fafb;
padding: 16px 20px;
margin: 16px 0;
border-radius: 8px;
box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.ihtisas-header {
font-size: 16px;
color: #1e3a8a;
margin-bottom: 6px;
}
.ihtisas-task {
color: #111827;
font-size: 15px;
margin-bottom: 10px;
}
.ihtisas-details {
background: #ffffff;
border: 1px solid #e5e7eb;
border-radius: 6px;
padding: 10px 16px;
font-size: 14px;
color: #111;
line-height: 1.6;
}
.ihtisas-details ol {
margin: 0;
padding-left: 18px;
}
/*ihtisas kutusu sonu*/
/* --- Vector legacy: logo boyutu ve hizalama --- */
/* --- Vector legacy: Logoyu ortada göster --- */
#p-logo {
position: relative !important;
width: 100% !important;
height: 120px !important;
background: none !important;
text-align: center !important;
margin-top:20px;
margin: 0 auto !important;
padding-top: 20px;
}
/* Logo görselini ortala ve boyutlandır */
#p-logo a.mw-wiki-logo {
display: inline-block !important;
background-size: contain !important;
background-repeat: no-repeat !important;
background-position: center center !important;
width: 120px !important;
height: 120px !important;
border: 1px solid rgba(255, 255, 255, 0.4);
border-radius: 8px;
box-shadow: 0 2px 6px rgba(0,0,0,0.15);
background-color: rgba(255,255,255,0.05);
}
/* Logonun sol taraftaki boş alanda görünmesini engelle */
#mw-panel {
padding-top: 0 !important;
}
/* Default style for navigation boxes */
.navbox {
/* Navbox container style */
box-sizing: border-box;
border: 1px solid #a2a9b1;
width: 100%;
clear: both;
font-size: 88%;
text-align: center;
padding: 1px;
margin: 1em auto 0;
/* Prevent preceding content from clinging to navboxes */
}
.navbox .navbox {
margin-top: 0;
/* No top margin for nested navboxes */
}
.navbox+.navbox {
margin-top: -1px;
/* Single pixel border between adjacent navboxes */
}
.navbox-inner,
.navbox-subgroup {
width: 100%;
}
.navbox-group,
.navbox-title,
.navbox-abovebelow {
padding: 0.25em 1em;
/* Title, group and above/below styles */
line-height: 1.5em;
text-align: center;
}
th.navbox-group {
/* Group style */
white-space: nowrap;
/* @noflip */
text-align: right;
}
.navbox,
.navbox-subgroup {
background-color: #fdfdfd;
/* Background color */
}
.navbox-list {
line-height: 1.5em;
border-color: #fdfdfd;
/* Must match background color */
}
/* cell spacing for navbox cells */
tr+tr>.navbox-abovebelow,
tr+tr>.navbox-group,
tr+tr>.navbox-image,
tr+tr>.navbox-list {
/* Borders above 2nd, 3rd, etc. rows */
border-top: 2px solid #fdfdfd;
/* Must match background color */
}
.navbox th,
.navbox-title {
background-color: #ccccff;
/* Level 1 color */
}
.navbox-abovebelow,
th.navbox-group,
.navbox-subgroup .navbox-title {
background-color: #ddddff;
/* Level 2 color */
}
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
background-color: #e6e6ff;
/* Level 3 color */
}
.navbox-even {
background-color: #f7f7f7;
/* Even row striping */
}
.navbox-odd {
background-color: transparent;
/* Odd row striping */
}
.navbox .hlist td dl,
.navbox .hlist td ol,
.navbox .hlist td ul,
.navbox td.hlist dl,
.navbox td.hlist ol,
.navbox td.hlist ul {
padding: 0.125em 0;
/* Adjust hlist padding in navboxes */
}