|
|
| 44. satır: |
44. satır: |
| padding-left: 6px; | | padding-left: 6px; |
| font-weight: 600; | | font-weight: 600; |
| }
| |
|
| |
| /* ==========================================================
| |
| HUKUKİ KUTULAR — LAWBOX / KAVRAMBOX
| |
| ========================================================== */
| |
|
| |
| .lawbox {
| |
| float: right;
| |
| margin: 0 0 1em 1em;
| |
| border: 1px solid var(--border-soft);
| |
| border-radius: 6px;
| |
| background: #ffffff;
| |
| box-shadow: 0 2px 8px rgba(0,0,0,0.05);
| |
| overflow: hidden;
| |
| max-width: 340px;
| |
| }
| |
|
| |
| .lawbox caption {
| |
| background: linear-gradient(180deg, var(--primary-light), var(--primary));
| |
| color: white;
| |
| font-weight: 700;
| |
| text-align: center;
| |
| padding: 8px;
| |
| border-bottom: 2px solid var(--border-soft);
| |
| font-size: 10px;
| |
| }
| |
|
| |
| .lawbox th, .lawbox td {
| |
| border-bottom: 1px solid var(--border-soft);
| |
| padding: 6px 8px;
| |
| }
| |
|
| |
| .lawbox th {
| |
| width: 38%;
| |
| background: #f5f7fb;
| |
| color: #1c1c1c;
| |
| border-right: 1px solid var(--border-soft);
| |
| font-weight: 600;
| |
| }
| |
|
| |
| .lawbox td { color: #222; }
| |
|
| |
| /* Kavram kutusu */
| |
| .lawbox.kavram {
| |
| float: left;
| |
| max-width: 2280px;
| |
| }
| |
|
| |
| .lawbox.kavram th {
| |
| background: #f5f7ff;
| |
| }
| |
|
| |
| .lawbox.kavram caption {
| |
| background: linear-gradient(180deg, #f0f5ff, #dce7ff);
| |
| color: var(--primary-light);
| |
| border-bottom: 1px solid var(--border-soft);
| |
| }
| |
|
| |
| /* 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;
| |
| }
| |
|
| |
| blockquote {
| |
| background: #f4f7fb;
| |
| border-left: 4px solid var(--primary-soft);
| |
| padding: 8px 12px;
| |
| margin: 1em 0;
| |
| font-style: italic;
| |
| }
| |
|
| |
| .references {
| |
| border-top: 1px solid var(--border-soft);
| |
| padding-top: 6px;
| |
| }
| |
|
| |
| /* ==========================================================
| |
| UYARI / BİLGİ / DEPRECATED 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;
| |
| }
| |
|
| |
| /* Bilgi kutusu */
| |
| .notice-box {
| |
| border: 1px solid var(--border-soft);
| |
| background: #eef3fb;
| |
| color: var(--primary);
| |
| }
| |
|
| |
| .notice-box::before {
| |
| content: "ℹ️";
| |
| }
| |
|
| |
| /* Uyarı kutusu */
| |
| .warning-box {
| |
| border: 1px solid #e8c88a;
| |
| background: #fff7e5;
| |
| color: #6a4a00;
| |
| }
| |
|
| |
| .warning-box::before {
| |
| content: "⚠️";
| |
| }
| |
|
| |
| /* Deprecated kutusu */
| |
| .deprecated-box {
| |
| border: 1px solid #e2b0b0;
| |
| background: #fff0f0;
| |
| color: #5a1f1f;
| |
| }
| |
|
| |
| .deprecated-box::before {
| |
| content: "⛔";
| |
| }
| |
|
| |
| /* ==========================================================
| |
| ANA SAYFA PORTAL & KARTLAR
| |
| ========================================================== */
| |
|
| |
| .main-portal {
| |
| max-width: 960px;
| |
| margin: 0 auto;
| |
| text-align: center;
| |
| }
| |
|
| |
| .portal-header h1 {
| |
| color: var(--primary);
| |
| }
| |
|
| |
| .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 var(--border-soft);
| |
| border-radius: 10px;
| |
| padding: 20px;
| |
| box-shadow: 0 2px 5px rgba(0,0,0,0.05);
| |
| transition: 0.2s ease;
| |
| }
| |
|
| |
| .portal-card:hover {
| |
| transform: translateY(-3px);
| |
| box-shadow: 0 4px 12px rgba(0,0,0,0.12);
| |
| }
| |
|
| |
| .portal-card h2 {
| |
| color: var(--primary);
| |
| }
| |
|
| |
| /* ==========================================================
| |
| LOGO ALANI (Vector Legacy)
| |
| ========================================================== */
| |
|
| |
| #p-logo {
| |
| position: relative !important;
| |
| width: 100% !important;
| |
| height: 120px !important;
| |
| background: none !important;
| |
| text-align: center !important;
| |
| margin-top:20px;
| |
| }
| |
|
| |
| #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 var(--border-soft);
| |
| border-radius: 8px;
| |
| box-shadow: 0 2px 6px rgba(0,0,0,0.15);
| |
| background-color: #ffffff15;
| |
| }
| |
|
| |
| #mw-panel {
| |
| padding-top: 0 !important;
| |
| }
| |
|
| |
| /* ==========================================================
| |
| İHTİSAS KUTUSU
| |
| ========================================================== */
| |
|
| |
| .ihtisas-box {
| |
| border: 1px solid var(--border-soft);
| |
| border-left: 6px solid var(--primary);
| |
| background: #f9fafb;
| |
| padding: 16px 20px;
| |
| margin: 16px 0;
| |
| border-radius: 8px;
| |
| }
| |
|
| |
| /* ==========================================================
| |
| KANUN METİN STİLİ
| |
| ========================================================== */
| |
|
| |
| .kanun-metin {
| |
| background: #fff;
| |
| line-height: 1.7;
| |
| color: #222;
| |
| font-family: "DejaVu Serif", Georgia, "Times New Roman", serif;
| |
| }
| |
|
| |
| .kanun-metin h2 {
| |
| color: var(--primary);
| |
| border-bottom: 2px solid var(--primary-soft);
| |
| padding-bottom: 4px;
| |
| margin-top: 1.3em;
| |
| }
| |
|
| |
| .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;
| |
| } | | } |
/* ==========================================================
Hukukipedia — Kurumsal Lacivert Tema v1
Renk Paleti: Modern Legal Navy
========================================================== */
:root {
--primary: #1F3A5F;
--primary-light: #2C4A7A;
--primary-soft: #4A6FA5;
--bg-soft: #F2F5FA;
--border-soft: #D4DEEA;
}
/* ==========================================================
GENEL STİLLER
========================================================== */
body {
background-color: var(--bg-soft);
color: #202122;
font-family: "Segoe UI", "Inter", "Helvetica Neue", sans-serif;
/*font-family: "Roboto", "Nimbus Roman No9 L", "Times New Roman", Times, serif;*/
font-size:16px;
}
/*a { color: var(--primary-soft); }*/
/*a:visited { color: #0b0080; }
a:hover { text-decoration: underline; }*/
/* Başlıklar */
h1, h2 {
color: var(--primary);
font-weight: 600;
border-bottom: 2px solid var(--border-soft);
padding-bottom: 0.2em;
margin-top: 1.2em;
}
h3, h4 {
color: var(--primary-light);
border-left: 4px solid var(--border-soft);
padding-left: 6px;
font-weight: 600;
}