MediaWiki:Common.css: Unterschied zwischen den Versionen
Erscheinungsbild
Keine Bearbeitungszusammenfassung Markierung: Manuelle Zurücksetzung |
Keine Bearbeitungszusammenfassung Markierung: Zurückgesetzt |
||
| Zeile 65: | Zeile 65: | ||
width: 100%; | width: 100%; | ||
margin: 0 0 1rem 0; | margin: 0 0 1rem 0; | ||
} | |||
} | |||
/*Neuer Teil */ | |||
/* Drone page hero */ | |||
.drone-hero { | |||
display: flex; | |||
flex-wrap: wrap; | |||
gap: 24px; | |||
align-items: flex-start; | |||
margin: 1.25rem 0 1.75rem 0; | |||
padding: 1.25rem; | |||
background: #f8fafc; | |||
border: 1px solid #dbe3ea; | |||
border-radius: 14px; | |||
} | |||
.drone-hero__content { | |||
flex: 1 1 420px; | |||
min-width: 280px; | |||
} | |||
.drone-hero__media { | |||
flex: 0 1 340px; | |||
min-width: 260px; | |||
} | |||
.drone-hero__media .thumb { | |||
margin: 0 !important; | |||
} | |||
.drone-hero__media img { | |||
width: 100%; | |||
height: auto; | |||
border-radius: 12px; | |||
display: block; | |||
} | |||
.drone-lead { | |||
font-size: 1.05rem; | |||
line-height: 1.7; | |||
margin-bottom: 1rem; | |||
} | |||
.drone-badges { | |||
display: flex; | |||
flex-wrap: wrap; | |||
gap: 10px; | |||
margin: 1rem 0 1.25rem 0; | |||
} | |||
.drone-badge { | |||
display: inline-block; | |||
padding: 0.45rem 0.8rem; | |||
border-radius: 999px; | |||
background: #eef4ff; | |||
border: 1px solid #cdddfd; | |||
font-size: 0.92rem; | |||
font-weight: 600; | |||
} | |||
.drone-box { | |||
margin-top: 1rem; | |||
padding: 1rem 1.1rem; | |||
background: #ffffff; | |||
border: 1px solid #dde5ec; | |||
border-radius: 12px; | |||
} | |||
.drone-box h3 { | |||
margin-top: 0; | |||
margin-bottom: 0.65rem; | |||
font-size: 1rem; | |||
} | |||
.drone-box ul { | |||
margin: 0.35rem 0 0 1.2rem; | |||
} | |||
.drone-specs-wrap { | |||
margin: 1.5rem 0; | |||
} | |||
.drone-section-note { | |||
color: #4b5563; | |||
font-size: 0.95rem; | |||
margin-top: -0.25rem; | |||
margin-bottom: 1rem; | |||
} | |||
/* Optional: technical table beautifying */ | |||
.drone-specs-wrap table, | |||
.drone-specs-wrap .wikitable { | |||
width: 100%; | |||
border-collapse: collapse; | |||
border-radius: 12px; | |||
overflow: hidden; | |||
} | |||
.drone-specs-wrap th { | |||
background: #eef2f7; | |||
} | |||
.drone-specs-wrap th, | |||
.drone-specs-wrap td { | |||
padding: 0.7rem 0.85rem; | |||
vertical-align: top; | |||
} | |||
/* Small responsive tweak */ | |||
@media (max-width: 820px) { | |||
.drone-hero { | |||
padding: 1rem; | |||
gap: 18px; | |||
} | |||
.drone-hero__media, | |||
.drone-hero__content { | |||
flex: 1 1 100%; | |||
} | } | ||
} | } | ||
Version vom 15. März 2026, 19:45 Uhr
/* Fester, kleiner Sidebar-Wrapper */
.infobox-container {
float: right !important;
clear: right !important;
width: 22em; /* << kleiner machen hier */
max-width: 100%;
margin: 0 0 1rem 1rem; /* Abstand zum Fließtext links/unten */
}
/* Infobox-Basis */
table.infobox {
background: #fff;
border: 1px solid #d9d9e3;
border-collapse: separate;
border-spacing: 0;
width: 100%; /* füllt den Wrapper (22em) */
box-shadow: 0 6px 24px rgba(0,0,0,.06), 0 2px 8px rgba(0,0,0,.04);
border-radius: 12px;
overflow: hidden;
font-size: 90%;
}
/* Titel */
table.infobox .infobox-title {
background: linear-gradient(180deg, #e9efff 0%, #dfe7ff 100%);
color: #1f2a44;
text-align: center;
font-weight: 700;
padding: .7rem .9rem;
border-bottom: 1px solid #d9d9e3;
}
/* Bild */
table.infobox .infobox-media {
text-align: center;
padding: .6rem .9rem .4rem;
background: #fbfcff;
border-bottom: 1px solid #d9d9e3;
}
/* Zellen */
table.infobox th, table.infobox td {
vertical-align: top;
padding: .5rem .9rem;
line-height: 1.35;
border-top: 1px solid #ececf3;
}
table.infobox th {
width: 46%;
color: #6b7280;
font-weight: 600;
}
/* leichte Zebra-Optik */
table.infobox tr:nth-child(even) th,
table.infobox tr:nth-child(even) td {
background: #fafafa;
}
/* Mobile: Sidebar auf volle Breite unter den Text */
@media (max-width: 768px) {
.infobox-container {
float: none !important;
clear: both !important;
width: 100%;
margin: 0 0 1rem 0;
}
}
/*Neuer Teil */
/* Drone page hero */
.drone-hero {
display: flex;
flex-wrap: wrap;
gap: 24px;
align-items: flex-start;
margin: 1.25rem 0 1.75rem 0;
padding: 1.25rem;
background: #f8fafc;
border: 1px solid #dbe3ea;
border-radius: 14px;
}
.drone-hero__content {
flex: 1 1 420px;
min-width: 280px;
}
.drone-hero__media {
flex: 0 1 340px;
min-width: 260px;
}
.drone-hero__media .thumb {
margin: 0 !important;
}
.drone-hero__media img {
width: 100%;
height: auto;
border-radius: 12px;
display: block;
}
.drone-lead {
font-size: 1.05rem;
line-height: 1.7;
margin-bottom: 1rem;
}
.drone-badges {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin: 1rem 0 1.25rem 0;
}
.drone-badge {
display: inline-block;
padding: 0.45rem 0.8rem;
border-radius: 999px;
background: #eef4ff;
border: 1px solid #cdddfd;
font-size: 0.92rem;
font-weight: 600;
}
.drone-box {
margin-top: 1rem;
padding: 1rem 1.1rem;
background: #ffffff;
border: 1px solid #dde5ec;
border-radius: 12px;
}
.drone-box h3 {
margin-top: 0;
margin-bottom: 0.65rem;
font-size: 1rem;
}
.drone-box ul {
margin: 0.35rem 0 0 1.2rem;
}
.drone-specs-wrap {
margin: 1.5rem 0;
}
.drone-section-note {
color: #4b5563;
font-size: 0.95rem;
margin-top: -0.25rem;
margin-bottom: 1rem;
}
/* Optional: technical table beautifying */
.drone-specs-wrap table,
.drone-specs-wrap .wikitable {
width: 100%;
border-collapse: collapse;
border-radius: 12px;
overflow: hidden;
}
.drone-specs-wrap th {
background: #eef2f7;
}
.drone-specs-wrap th,
.drone-specs-wrap td {
padding: 0.7rem 0.85rem;
vertical-align: top;
}
/* Small responsive tweak */
@media (max-width: 820px) {
.drone-hero {
padding: 1rem;
gap: 18px;
}
.drone-hero__media,
.drone-hero__content {
flex: 1 1 100%;
}
}