MediaWiki:Common.css: Revizyonlar arasındaki fark
Gezinti kısmına atla
Arama kısmına atla
Etiket: Geri al |
Değişiklik özeti yok |
||
| 28. satır: | 28. satır: | ||
} | } | ||
/* | |||
/* ===== Geliştirilmiş InfoBox Görünümü ===== */ | |||
.infobox { | .infobox { | ||
float: right; | float: right; | ||
clear: right; | clear: right; | ||
width: 320px; | |||
font-size: 90%; | |||
background: #ffffff; | |||
border: 1px solid #c5cedd; | |||
border-radius: 6px; | |||
border-collapse: separate; | |||
border-spacing: 0; | |||
margin: 0 0 1em 1em; | margin: 0 0 1em 1em; | ||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); | |||
overflow: hidden; | |||
} | } | ||
.infobox caption { | .infobox caption { | ||
background: # | background: linear-gradient(180deg, #dce4f3, #c8d5ee); | ||
color: # | color: #22335b; | ||
font-weight: 600; | font-weight: 600; | ||
border-bottom: 1px solid # | 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 { | .infobox th { | ||
background: # | width: 38%; | ||
color: # | text-align: left; | ||
font-weight: | background: #eef3fa; | ||
color: #1f1f1f; | |||
border-right: 1px solid #d9e0ea; | |||
font-weight: 600; | |||
} | } | ||
.infobox td { | .infobox td { | ||
background: #ffffff; | background: #ffffff; | ||
color: #222; | |||
} | } | ||
/* Son satır çizgisi için */ | |||
.infobox tr:last-child th, | |||
.infobox tr:last-child td { | |||
border-bottom: none; | |||
} | |||
/* Görseller */ | |||
.infobox img { | .infobox img { | ||
border-radius: 4px; | border-radius: 4px; | ||
box-shadow: 0 | margin: 6px 0; | ||
max-width: 280px; | |||
border: 1px solid #c9d2e3; | |||
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1); | |||
} | |||
/* Hover efekti (isteğe bağlı) */ | |||
.infobox:hover { | |||
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08); | |||
transition: box-shadow 0.2s ease; | |||
} | } | ||
14.50, 10 Kasım 2025 tarihindeki hâli
/* --- WikiKod: RuneScape-tarzı düz tema --- */
body {
background-color: #f8f9fa;
color: #202122;
font-family: "Segoe UI", "Inter", sans-serif;
line-height: 1.6;
}
/* Bağlantılar */
a { color: #0645ad; }
a:visited { color: #0b0080; }
/* İçerik kutusu */
.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, h3 {
color: #2a4b8d;
font-weight: 600;
border-bottom: 1px solid #e2e2e2;
padding-bottom: 0.2em;
}
/* ===== Geliştirilmiş InfoBox Görünümü ===== */
.infobox {
float: right;
clear: right;
width: 320px;
font-size: 90%;
background: #ffffff;
border: 1px solid #c5cedd;
border-radius: 6px;
border-collapse: separate;
border-spacing: 0;
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%;
text-align: left;
background: #eef3fa;
color: #1f1f1f;
border-right: 1px solid #d9e0ea;
font-weight: 600;
}
.infobox td {
background: #ffffff;
color: #222;
}
/* Son satır çizgisi için */
.infobox tr:last-child th,
.infobox tr:last-child td {
border-bottom: none;
}
/* Görseller */
.infobox img {
border-radius: 4px;
margin: 6px 0;
max-width: 280px;
border: 1px solid #c9d2e3;
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}
/* Hover efekti (isteğe bağlı) */
.infobox:hover {
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
transition: box-shadow 0.2s ease;
}