MediaWiki:Common.css: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Dirk (Diskussion | Beiträge) (Hero kompakter abgestimmt) |
Dirk (Diskussion | Beiträge) (Common.css sauber neu geschrieben: kleiner Hero, Pflanze/Tier-Taxobox) |
||
| Zeile 1: | Zeile 1: | ||
:root { | :root { | ||
--submers-deep: #06283d; | |||
--submers-blue: #00a9e0; | |||
--submers-cyan: #22d3ee; | |||
--submers-green: #10b981; | |||
--submers-paper: #f8fbfc; | |||
--taxo-animal-a: #075985; | |||
--taxo-animal-b: #06b6d4; | |||
--taxo-animal-c: #10b981; | |||
--taxo-animal-head: #e0f7ff; | |||
--taxo-plant-a: #166534; | |||
--taxo-plant-b: #65a30d; | |||
--taxo-plant-c: #84cc16; | |||
--taxo-plant-head: #ecfccb; | |||
} | |||
body.mediawiki { | |||
background: | |||
radial-gradient(circle at 12% 8%, rgba(34,211,238,.20), transparent 24rem), | |||
linear-gradient(135deg, #e9fbff 0%, #eef7f2 45%, #e8e0ff 100%); | |||
} | |||
#content, .mw-body { | |||
border-radius: 0 0 18px 18px; | |||
box-shadow: 0 18px 45px rgba(6,40,61,.12); | |||
} | |||
#siteNotice { margin: 0 0 .75rem 0; } | |||
#siteNotice .mw-dismissable-notice-close { z-index: 5; } | |||
#siteNotice .submers-hero { | |||
margin: -.65rem -1.5rem .9rem -1.5rem !important; | |||
border-radius: 0 0 18px 18px !important; | |||
overflow: visible !important; | |||
color: #ecfeff !important; | |||
background: | |||
linear-gradient(120deg, rgba(6,40,61,.93), rgba(8,145,178,.70), rgba(4,120,87,.68)), | |||
image-set(url('/resources/assets/submers/hero-crayfish.jpg') 1x) !important; | |||
background-size: cover !important; | |||
background-position: center 45% !important; | |||
box-shadow: 0 12px 32px rgba(6,40,61,.22) !important; | |||
position: relative !important; | |||
} | |||
#siteNotice .submers-hero__overlay { | #siteNotice .submers-hero__overlay { | ||
padding: .9rem | padding: .65rem .9rem .7rem !important; | ||
} | } | ||
#siteNotice .submers-hero__brand { | #siteNotice .submers-hero__brand { | ||
display: flex !important; | |||
align-items: center !important; | |||
gap: .75rem !important; | |||
max-width: 900px !important; | |||
min-height: 0 !important; | min-height: 0 !important; | ||
margin: 0 auto .55rem auto !important; | |||
padding: . | padding: .55rem .8rem !important; | ||
border: 1px solid rgba(255,255,255,.20) !important; | |||
border-radius: 16px !important; | |||
background: linear-gradient(135deg, rgba(6,40,61,.72), rgba(6,182,212,.18)) !important; | |||
box-shadow: 0 10px 24px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.16) !important; | |||
} | } | ||
#siteNotice .submers-hero__logo { | #siteNotice .submers-hero__logo { | ||
width: | display: inline-block !important; | ||
height: | width: 58px !important; | ||
flex- | height: 58px !important; | ||
flex: 0 0 58px !important; | |||
background: url('/resources/assets/submers/submers-logo.svg') center / contain no-repeat !important; | |||
filter: drop-shadow(0 8px 14px rgba(0,0,0,.35)); | |||
} | |||
#siteNotice .submers-hero__copy { | |||
display: flex !important; | |||
flex-direction: column !important; | |||
gap: .08rem !important; | |||
color: #ecfeff !important; | |||
} | |||
#siteNotice .submers-hero__kicker { | |||
display: block !important; | |||
color: #a5f3fc !important; | |||
font-size: .72rem !important; | |||
font-weight: 800 !important; | |||
letter-spacing: .13em !important; | |||
text-transform: uppercase !important; | |||
text-shadow: 0 2px 10px rgba(0,0,0,.45) !important; | |||
} | } | ||
#siteNotice .submers-hero__title { | #siteNotice .submers-hero__title { | ||
font-size: clamp(2. | display: block !important; | ||
color: #fff !important; | |||
font-size: clamp(1.75rem, 3vw, 2.7rem) !important; | |||
line-height: .95 !important; | |||
font-weight: 950 !important; | |||
letter-spacing: -.035em !important; | |||
text-shadow: 0 4px 18px rgba(0,0,0,.55) !important; | |||
} | |||
#siteNotice .submers-hero__subtitle { | |||
display: block !important; | |||
color: #dcfce7 !important; | |||
font-size: clamp(.82rem, 1.05vw, 1rem) !important; | |||
font-weight: 650 !important; | |||
text-shadow: 0 2px 10px rgba(0,0,0,.45) !important; | |||
} | } | ||
#siteNotice .submers-topnav { | #siteNotice .submers-topnav { | ||
gap: . | display: flex !important; | ||
padding: . | flex-wrap: wrap !important; | ||
gap: .32rem !important; | |||
max-width: 980px !important; | |||
margin: 0 auto !important; | |||
padding: .42rem !important; | |||
border-radius: 15px !important; | |||
background: rgba(6,40,61,.54) !important; | |||
border: 1px solid rgba(255,255,255,.18) !important; | |||
box-shadow: 0 10px 22px rgba(0,0,0,.18) !important; | |||
} | } | ||
#siteNotice .submers-navgroup { | #siteNotice .submers-navgroup { | ||
min-height: 1. | display: inline-flex !important; | ||
padding: . | align-items: center !important; | ||
flex-wrap: wrap !important; | |||
line-height: 1. | gap: .18rem !important; | ||
min-height: 1.65rem !important; | |||
padding: .18rem .34rem !important; | |||
border: 1px solid rgba(255,255,255,.18) !important; | |||
border-radius: 999px !important; | |||
background: rgba(255,255,255,.09) !important; | |||
color: #e0fbff !important; | |||
line-height: 1.15 !important; | |||
} | |||
#siteNotice .submers-navgroup > span:first-child { | |||
font-weight: 850 !important; | |||
color: #06283d !important; | |||
padding: .10rem .34rem !important; | |||
border-radius: 999px !important; | |||
background: linear-gradient(90deg, #a7f3d0, #67e8f9) !important; | |||
} | } | ||
#siteNotice .submers-navgroup a { | #siteNotice .submers-navgroup a { | ||
padding: . | color: #ecfeff !important; | ||
text-decoration: none !important; | |||
padding: .08rem .25rem !important; | |||
border-radius: 999px !important; | |||
white-space: nowrap !important; | |||
font-weight: 650 !important; | |||
text-shadow: 0 1px 5px rgba(0,0,0,.35) !important; | |||
} | |||
#siteNotice .submers-navgroup a:hover, | |||
#siteNotice .submers-navgroup a:focus { | |||
color: #06283d !important; | |||
background: #bbf7d0 !important; | |||
text-shadow: none !important; | |||
} | |||
.mw-wiki-logo { | |||
background-size: contain !important; | |||
filter: drop-shadow(0 10px 20px rgba(6,40,61,.22)); | |||
} | |||
.submers-taxobox { | |||
width: min(850px, 100%); | |||
margin: 1.15rem auto 1rem; | |||
border-collapse: separate; | |||
border-spacing: 0; | |||
overflow: hidden; | |||
border: 1px solid rgba(6,40,61,.20); | |||
border-radius: 15px; | |||
box-shadow: 0 12px 30px rgba(6,40,61,.12); | |||
background: #fff; | |||
} | |||
.submers-taxobox th, | |||
.submers-taxobox td { | |||
padding: .58rem .8rem; | |||
border-bottom: 1px solid rgba(6,40,61,.12); | |||
vertical-align: top; | |||
} | |||
.submers-taxobox tr:last-child td { border-bottom: 0; } | |||
.submers-taxobox th { | |||
color: #083344; | |||
background: linear-gradient(180deg, #e0f7ff, #eefdf5); | |||
text-align: center; | |||
font-weight: 850; | |||
} | |||
.submers-taxobox tr:first-child th { | |||
color: #ecfeff; | |||
background: linear-gradient(90deg, var(--taxo-animal-a), var(--taxo-animal-b) 55%, var(--taxo-animal-c)); | |||
font-size: 1.02rem; | |||
letter-spacing: .04em; | |||
} | |||
.submers-taxobox td { background: rgba(248,251,252,.95); } | |||
.submers-taxobox--animal tr:first-child th { | |||
background: linear-gradient(90deg, var(--taxo-animal-a), var(--taxo-animal-b) 55%, var(--taxo-animal-c)); | |||
} | |||
.submers-taxobox--animal th:not(:first-child), | |||
.submers-taxobox--animal tr:not(:first-child) th { | |||
background: linear-gradient(180deg, var(--taxo-animal-head), #eefdf5); | |||
} | |||
.submers-taxobox--animal td { | |||
background: linear-gradient(180deg, #f8fbfc, #effcff); | |||
} | |||
.submers-taxobox--plant { | |||
border-color: rgba(22,101,52,.28); | |||
box-shadow: 0 12px 30px rgba(22,101,52,.13); | |||
} | |||
.submers-taxobox--plant tr:first-child th { | |||
background: linear-gradient(90deg, var(--taxo-plant-a), var(--taxo-plant-b) 55%, var(--taxo-plant-c)); | |||
color: #f7fee7; | |||
} | |||
.submers-taxobox--plant th:not(:first-child), | |||
.submers-taxobox--plant tr:not(:first-child) th { | |||
background: linear-gradient(180deg, var(--taxo-plant-head), #f7fee7); | |||
color: #14532d; | |||
} | |||
.submers-taxobox--plant td { | |||
background: linear-gradient(180deg, #fbfff2, #f0fdf4); | |||
} | |||
.submers-fundortbox { | |||
width: min(360px, 90%); | |||
margin: .5rem auto 1.1rem; | |||
border: 1px solid rgba(6,40,61,.20); | |||
border-radius: 999px; | |||
overflow: hidden; | |||
box-shadow: 0 8px 20px rgba(6,40,61,.09); | |||
} | |||
.submers-fundortbox td { | |||
padding: .38rem .9rem; | |||
text-align: center; | |||
font-weight: 850; | |||
color: #083344; | |||
background: linear-gradient(90deg, #bbf7d0, #bfdbfe); | |||
} | |||
.gallery, ul.gallery { clear: both; } | |||
@media (max-width: 900px) { | |||
#siteNotice .submers-hero { margin-left: -.5rem !important; margin-right: -.5rem !important; } | |||
#siteNotice .submers-hero__brand { align-items: flex-start !important; } | |||
#siteNotice .submers-hero__logo { width: 48px !important; height: 48px !important; flex-basis: 48px !important; } | |||
#siteNotice .submers-navgroup { border-radius: 14px !important; align-items: flex-start !important; } | |||
} | } | ||
Version vom 3. Juni 2026, 22:32 Uhr
:root {
--submers-deep: #06283d;
--submers-blue: #00a9e0;
--submers-cyan: #22d3ee;
--submers-green: #10b981;
--submers-paper: #f8fbfc;
--taxo-animal-a: #075985;
--taxo-animal-b: #06b6d4;
--taxo-animal-c: #10b981;
--taxo-animal-head: #e0f7ff;
--taxo-plant-a: #166534;
--taxo-plant-b: #65a30d;
--taxo-plant-c: #84cc16;
--taxo-plant-head: #ecfccb;
}
body.mediawiki {
background:
radial-gradient(circle at 12% 8%, rgba(34,211,238,.20), transparent 24rem),
linear-gradient(135deg, #e9fbff 0%, #eef7f2 45%, #e8e0ff 100%);
}
#content, .mw-body {
border-radius: 0 0 18px 18px;
box-shadow: 0 18px 45px rgba(6,40,61,.12);
}
#siteNotice { margin: 0 0 .75rem 0; }
#siteNotice .mw-dismissable-notice-close { z-index: 5; }
#siteNotice .submers-hero {
margin: -.65rem -1.5rem .9rem -1.5rem !important;
border-radius: 0 0 18px 18px !important;
overflow: visible !important;
color: #ecfeff !important;
background:
linear-gradient(120deg, rgba(6,40,61,.93), rgba(8,145,178,.70), rgba(4,120,87,.68)),
image-set(url('/resources/assets/submers/hero-crayfish.jpg') 1x) !important;
background-size: cover !important;
background-position: center 45% !important;
box-shadow: 0 12px 32px rgba(6,40,61,.22) !important;
position: relative !important;
}
#siteNotice .submers-hero__overlay {
padding: .65rem .9rem .7rem !important;
}
#siteNotice .submers-hero__brand {
display: flex !important;
align-items: center !important;
gap: .75rem !important;
max-width: 900px !important;
min-height: 0 !important;
margin: 0 auto .55rem auto !important;
padding: .55rem .8rem !important;
border: 1px solid rgba(255,255,255,.20) !important;
border-radius: 16px !important;
background: linear-gradient(135deg, rgba(6,40,61,.72), rgba(6,182,212,.18)) !important;
box-shadow: 0 10px 24px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.16) !important;
}
#siteNotice .submers-hero__logo {
display: inline-block !important;
width: 58px !important;
height: 58px !important;
flex: 0 0 58px !important;
background: url('/resources/assets/submers/submers-logo.svg') center / contain no-repeat !important;
filter: drop-shadow(0 8px 14px rgba(0,0,0,.35));
}
#siteNotice .submers-hero__copy {
display: flex !important;
flex-direction: column !important;
gap: .08rem !important;
color: #ecfeff !important;
}
#siteNotice .submers-hero__kicker {
display: block !important;
color: #a5f3fc !important;
font-size: .72rem !important;
font-weight: 800 !important;
letter-spacing: .13em !important;
text-transform: uppercase !important;
text-shadow: 0 2px 10px rgba(0,0,0,.45) !important;
}
#siteNotice .submers-hero__title {
display: block !important;
color: #fff !important;
font-size: clamp(1.75rem, 3vw, 2.7rem) !important;
line-height: .95 !important;
font-weight: 950 !important;
letter-spacing: -.035em !important;
text-shadow: 0 4px 18px rgba(0,0,0,.55) !important;
}
#siteNotice .submers-hero__subtitle {
display: block !important;
color: #dcfce7 !important;
font-size: clamp(.82rem, 1.05vw, 1rem) !important;
font-weight: 650 !important;
text-shadow: 0 2px 10px rgba(0,0,0,.45) !important;
}
#siteNotice .submers-topnav {
display: flex !important;
flex-wrap: wrap !important;
gap: .32rem !important;
max-width: 980px !important;
margin: 0 auto !important;
padding: .42rem !important;
border-radius: 15px !important;
background: rgba(6,40,61,.54) !important;
border: 1px solid rgba(255,255,255,.18) !important;
box-shadow: 0 10px 22px rgba(0,0,0,.18) !important;
}
#siteNotice .submers-navgroup {
display: inline-flex !important;
align-items: center !important;
flex-wrap: wrap !important;
gap: .18rem !important;
min-height: 1.65rem !important;
padding: .18rem .34rem !important;
border: 1px solid rgba(255,255,255,.18) !important;
border-radius: 999px !important;
background: rgba(255,255,255,.09) !important;
color: #e0fbff !important;
line-height: 1.15 !important;
}
#siteNotice .submers-navgroup > span:first-child {
font-weight: 850 !important;
color: #06283d !important;
padding: .10rem .34rem !important;
border-radius: 999px !important;
background: linear-gradient(90deg, #a7f3d0, #67e8f9) !important;
}
#siteNotice .submers-navgroup a {
color: #ecfeff !important;
text-decoration: none !important;
padding: .08rem .25rem !important;
border-radius: 999px !important;
white-space: nowrap !important;
font-weight: 650 !important;
text-shadow: 0 1px 5px rgba(0,0,0,.35) !important;
}
#siteNotice .submers-navgroup a:hover,
#siteNotice .submers-navgroup a:focus {
color: #06283d !important;
background: #bbf7d0 !important;
text-shadow: none !important;
}
.mw-wiki-logo {
background-size: contain !important;
filter: drop-shadow(0 10px 20px rgba(6,40,61,.22));
}
.submers-taxobox {
width: min(850px, 100%);
margin: 1.15rem auto 1rem;
border-collapse: separate;
border-spacing: 0;
overflow: hidden;
border: 1px solid rgba(6,40,61,.20);
border-radius: 15px;
box-shadow: 0 12px 30px rgba(6,40,61,.12);
background: #fff;
}
.submers-taxobox th,
.submers-taxobox td {
padding: .58rem .8rem;
border-bottom: 1px solid rgba(6,40,61,.12);
vertical-align: top;
}
.submers-taxobox tr:last-child td { border-bottom: 0; }
.submers-taxobox th {
color: #083344;
background: linear-gradient(180deg, #e0f7ff, #eefdf5);
text-align: center;
font-weight: 850;
}
.submers-taxobox tr:first-child th {
color: #ecfeff;
background: linear-gradient(90deg, var(--taxo-animal-a), var(--taxo-animal-b) 55%, var(--taxo-animal-c));
font-size: 1.02rem;
letter-spacing: .04em;
}
.submers-taxobox td { background: rgba(248,251,252,.95); }
.submers-taxobox--animal tr:first-child th {
background: linear-gradient(90deg, var(--taxo-animal-a), var(--taxo-animal-b) 55%, var(--taxo-animal-c));
}
.submers-taxobox--animal th:not(:first-child),
.submers-taxobox--animal tr:not(:first-child) th {
background: linear-gradient(180deg, var(--taxo-animal-head), #eefdf5);
}
.submers-taxobox--animal td {
background: linear-gradient(180deg, #f8fbfc, #effcff);
}
.submers-taxobox--plant {
border-color: rgba(22,101,52,.28);
box-shadow: 0 12px 30px rgba(22,101,52,.13);
}
.submers-taxobox--plant tr:first-child th {
background: linear-gradient(90deg, var(--taxo-plant-a), var(--taxo-plant-b) 55%, var(--taxo-plant-c));
color: #f7fee7;
}
.submers-taxobox--plant th:not(:first-child),
.submers-taxobox--plant tr:not(:first-child) th {
background: linear-gradient(180deg, var(--taxo-plant-head), #f7fee7);
color: #14532d;
}
.submers-taxobox--plant td {
background: linear-gradient(180deg, #fbfff2, #f0fdf4);
}
.submers-fundortbox {
width: min(360px, 90%);
margin: .5rem auto 1.1rem;
border: 1px solid rgba(6,40,61,.20);
border-radius: 999px;
overflow: hidden;
box-shadow: 0 8px 20px rgba(6,40,61,.09);
}
.submers-fundortbox td {
padding: .38rem .9rem;
text-align: center;
font-weight: 850;
color: #083344;
background: linear-gradient(90deg, #bbf7d0, #bfdbfe);
}
.gallery, ul.gallery { clear: both; }
@media (max-width: 900px) {
#siteNotice .submers-hero { margin-left: -.5rem !important; margin-right: -.5rem !important; }
#siteNotice .submers-hero__brand { align-items: flex-start !important; }
#siteNotice .submers-hero__logo { width: 48px !important; height: 48px !important; flex-basis: 48px !important; }
#siteNotice .submers-navgroup { border-radius: 14px !important; align-items: flex-start !important; }
}