MediaWiki:Common.css: Revizyonlar arasındaki fark
Gezinti kısmına atla
Arama kısmına atla
Değişiklik özeti yok |
Değişiklik özeti yok |
||
| 1. satır: | 1. satır: | ||
/* --- WikiKod: Kurumsal Hukuk Teması --- */ | /* --- WikiKod: Kurumsal Hukuk Teması (v2 optimize) --- */ | ||
/* Vector 2022 | /* Vector 2022 ile tam uyumlu, sade ve kurumsal görünüm */ | ||
/* === GENEL === */ | /* ========================================================== | ||
GENEL STİLLER | |||
========================================================== */ | |||
body { | body { | ||
background-color: #f8f9fa; | background-color: #f8f9fa; | ||
| 11. satır: | 12. satır: | ||
} | } | ||
a { color: #0645ad; } | a { color: #0645ad; } | ||
a:visited { color: #0b0080; } | a:visited { color: #0b0080; } | ||
a:hover { text-decoration: underline; } | a:hover { text-decoration: underline; } | ||
.mw-body-content { | .mw-body-content { | ||
background: #fff; | background: #fff; | ||
| 26. satır: | 25. satır: | ||
/* Başlıklar */ | /* Başlıklar */ | ||
h1, h2 | h1, h2 { | ||
color: #2a4b8d; | color: #2a4b8d; | ||
font-weight: 600; | font-weight: 600; | ||
border-bottom: | border-bottom: 2px solid #dbe4f3; | ||
padding-bottom: 0.2em; | padding-bottom: 0.2em; | ||
margin-top: 1.2em; | |||
} | |||
h3, h4 { | |||
color: #22335b; | |||
border-left: 4px solid #c2d0ec; | |||
padding-left: 6px; | |||
font-weight: 600; | |||
} | } | ||
| 37. satır: | 43. satır: | ||
========================================================== */ | ========================================================== */ | ||
/* | /* === Genel InfoBox === */ | ||
.infobox { | .infobox { | ||
float: right; | float: right; | ||
| 47. satır: | 53. satır: | ||
border-radius: 6px; | border-radius: 6px; | ||
border-collapse: separate; | border-collapse: separate; | ||
margin: 0 0 1em 1em; | margin: 0 0 1em 1em; | ||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); | box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); | ||
| 70. satır: | 75. satır: | ||
.infobox th { | .infobox th { | ||
width: 38%; | width: 38%; | ||
background: #eef3fa; | background: #eef3fa; | ||
color: #1f1f1f; | color: #1f1f1f; | ||
| 82. satır: | 86. satır: | ||
} | } | ||
.infobox img { | .infobox img { | ||
border-radius: 4px; | border-radius: 4px; | ||
| 103. satır: | 100. satır: | ||
} | } | ||
/* ===== | /* ========================================================== | ||
HUKUKİ KUTULAR | |||
========================================================== */ | |||
/* === Kanun kutusu === */ | |||
.lawbox { | .lawbox { | ||
float: none; | |||
margin: 0 auto 1em auto; | |||
border: 1px solid #bcc6d6; | border: 1px solid #bcc6d6; | ||
border-radius: 6px; | border-radius: 6px; | ||
| 112. satır: | 113. satır: | ||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); | box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); | ||
overflow: hidden; | overflow: hidden; | ||
width: auto; | |||
max-width: 100%; | |||
clear: both; | |||
} | } | ||
| 122. satır: | 126. satır: | ||
border-bottom: 2px solid #b5c1d7; | border-bottom: 2px solid #b5c1d7; | ||
font-size: 1em; | font-size: 1em; | ||
} | } | ||
| 129. satır: | 132. satır: | ||
padding: 6px 8px; | padding: 6px 8px; | ||
} | } | ||
.lawbox th { | .lawbox th { | ||
width: 38%; | width: 38%; | ||
background: #f2f6fc; | background: #f2f6fc; | ||
color: #1c1c1c; | color: #1c1c1c; | ||
| 138. satır: | 139. satır: | ||
font-weight: 600; | font-weight: 600; | ||
} | } | ||
.lawbox td { color: #222; } | |||
.lawbox | /* === Kavram kutusu === */ | ||
.lawbox.kavram { | |||
float: right; | |||
clear: right; | |||
margin: 0 0 1em 1em; | |||
width: auto; | |||
max-width: 320px; | |||
} | } | ||
.lawbox.kavram th { background: #f4f7ff; } | |||
.lawbox | .lawbox.kavram caption { | ||
background: linear-gradient(180deg, #f0f5ff, #dce7ff); | |||
border-bottom: | color: #22335b; | ||
font-weight: 700; | |||
border-bottom: 1px solid #c8d6f2; | |||
} | } | ||
/* Hover */ | |||
.lawbox:hover { | .lawbox:hover { | ||
box-shadow: 0 3px 10px rgba(0,0,0,0.08); | box-shadow: 0 3px 10px rgba(0,0,0,0.08); | ||
| 155. satır: | 164. satır: | ||
/* ========================================================== | /* ========================================================== | ||
MAKALE DÜZENİ | |||
========================================================== */ | ========================================================== */ | ||
.mw-parser-output p { | .mw-parser-output p { | ||
text-align: justify; | text-align: justify; | ||
| 178. satır: | 171. satır: | ||
margin: 0.6em 0; | margin: 0.6em 0; | ||
} | } | ||
.mw-parser-output ul { | .mw-parser-output ul { | ||
margin: 0.5em 0 0.5em 1.5em; | margin: 0.5em 0 0.5em 1.5em; | ||
} | } | ||
.mw-parser-output li { | .mw-parser-output li { margin-bottom: 4px; } | ||
} | |||
blockquote { | blockquote { | ||
background: #f4f7fb; | background: #f4f7fb; | ||
| 195. satır: | 183. satır: | ||
font-style: italic; | font-style: italic; | ||
} | } | ||
.references { | .references { | ||
border-top: 1px solid #dbe4f3; | border-top: 1px solid #dbe4f3; | ||
| 203. satır: | 189. satır: | ||
/* ========================================================== | /* ========================================================== | ||
UYARI | UYARI / BİLGİ KUTULARI | ||
========================================================== */ | ========================================================== */ | ||
.notice-box, | .notice-box, | ||
.warning-box, | .warning-box, | ||
.deprecated-box { | .deprecated-box { | ||
display: inline-flex; | display: inline-flex; | ||
align-items: center; | align-items: center; | ||
gap: 6px; | gap: 6px; | ||
width: auto; | width: auto; | ||
border-radius: 6px; | border-radius: 6px; | ||
padding: 8px 12px; | padding: 8px 12px; | ||
| 219. satır: | 204. satır: | ||
line-height: 1.5; | line-height: 1.5; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
word-wrap: break-word; | |||
word-wrap: break-word; | |||
} | } | ||
.notice-box *, | .notice-box *, | ||
.warning-box *, | .warning-box *, | ||
| 233. satır: | 216. satır: | ||
} | } | ||
.notice-box { | .notice-box { | ||
border: 1px solid #cfd8ea; | border: 1px solid #cfd8ea; | ||
| 242. satır: | 223. satır: | ||
.notice-box::before { | .notice-box::before { | ||
content: "ℹ️"; | content: "ℹ️"; | ||
color: #22335b; | color: #22335b; | ||
} | } | ||
.warning-box { | .warning-box { | ||
border: 1px solid #f3d08c; | border: 1px solid #f3d08c; | ||
| 255. satır: | 233. satır: | ||
.warning-box::before { | .warning-box::before { | ||
content: "⚠️"; | content: "⚠️"; | ||
color: #9a6a00; | color: #9a6a00; | ||
} | } | ||
.deprecated-box { | .deprecated-box { | ||
border: 1px solid #e2b0b0; | border: 1px solid #e2b0b0; | ||
| 268. satır: | 243. satır: | ||
.deprecated-box::before { | .deprecated-box::before { | ||
content: "⛔"; | content: "⛔"; | ||
color: #b52d2d; | color: #b52d2d; | ||
} | } | ||
/* === Güncellik şeridi === */ | |||
/* === | |||
.outdated-banner { | .outdated-banner { | ||
background: linear-gradient(90deg, #ffe8a3, #fff4cf); | background: linear-gradient(90deg, #ffe8a3, #fff4cf); | ||
| 287. satır: | 258. satır: | ||
} | } | ||
/* Kod blokları | /* Kod blokları */ | ||
pre, code { | pre, code { | ||
background: #f1f3f5; | background: #f1f3f5; | ||
| 298. satır: | 269. satır: | ||
} | } | ||
/* ========================================================== | |||
ANA SAYFA DÜZENİ | |||
========================================================== */ | |||
/* ==== | |||
.main-grid { | .main-grid { | ||
display: flex; | display: flex; | ||
| 355. satır: | 298. satır: | ||
} | } | ||
.main-column ul { | .main-column ul { margin: 0; padding-left: 16px; } | ||
.main-column li { margin: 5px 0; } | |||
} | |||
.main-column li { | |||
} | |||
.footer-bar { | .footer-bar { | ||
| 373. satır: | 310. satır: | ||
} | } | ||
/* Ü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, | ||
.top-nav a:visited { | .top-nav a:visited { | ||
| 383. satır: | 325. satır: | ||
font-weight: 500; | font-weight: 500; | ||
} | } | ||
.top-nav a:hover { | .top-nav a:hover { | ||
opacity: 0.85; | opacity: 0.85; | ||
transform: scale(1.05); | transform: scale(1.05); | ||
} | } | ||
17.00, 10 Kasım 2025 tarihindeki hâli
/* --- WikiKod: Kurumsal Hukuk Teması (v2 optimize) --- */
/* Vector 2022 ile tam uyumlu, sade ve kurumsal görünüm */
/* ==========================================================
GENEL STİLLER
========================================================== */
body {
background-color: #f8f9fa;
color: #202122;
font-family: "Segoe UI", "Inter", "Helvetica Neue", sans-serif;
line-height: 1.6;
}
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;
}
/* ==========================================================
INFOBOXLAR
========================================================== */
/* === Genel InfoBox === */
.infobox {
float: right;
clear: right;
width: 260px;
font-size: 90%;
background: #ffffff;
border: 1px solid #c5cedd;
border-radius: 6px;
border-collapse: separate;
margin: 0 0 1em 1em;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
overflow: hidden;
}
.infobox caption {
background: linear-gradient(180deg, #dce4f3, #c8d5ee);
color: #22335b;
font-weight: 600;
text-align: center;
padding: 8px;
font-size: 1em;
border-bottom: 1px solid #b5c1d7;
}
.infobox th, .infobox td {
padding: 6px 8px;
border-bottom: 1px solid #d9e0ea;
}
.infobox th {
width: 38%;
background: #eef3fa;
color: #1f1f1f;
border-right: 1px solid #d9e0ea;
font-weight: 600;
}
.infobox td {
background: #ffffff;
color: #222;
}
.infobox img {
border-radius: 4px;
margin: 6px 0;
max-width: 250px;
border: 1px solid #c9d2e3;
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}
/* 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 === */
.lawbox {
float: none;
margin: 0 auto 1em auto;
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: 100%;
clear: both;
}
.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: right;
clear: right;
margin: 0 0 1em 1em;
width: auto;
max-width: 320px;
}
.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);
}