Logo-Darstellung optimiert: dunkler Header auf Login-Seite (340px) & dunkler Schriftzug im Wiki-Sidebar-Logo
Deploy Development / deploy (push) Successful in 15s
Deploy Development / deploy (push) Successful in 15s
This commit is contained in:
1 parent
4dce1658e2
commit
9db8e0fbb6
6 files changed
+57
-34
No files matched your search
@@ -61,7 +61,18 @@
|
||||
}
|
||||
|
||||
/* ============================================================================
|
||||
* 2. Vereins-Anmeldeseite (Spezial:Anmelden / .mw-special-Userlogin)
|
||||
* 2. Wiki-Seitenleisten-Logo (#p-logo) optimal fuer das breite Banner-Logo
|
||||
* ============================================================================ */
|
||||
#p-logo,
|
||||
#p-logo a.mw-wiki-logo {
|
||||
width: 10.5em !important;
|
||||
height: 5.5em !important;
|
||||
background-size: 92% auto !important;
|
||||
background-position: center center !important;
|
||||
}
|
||||
|
||||
/* ============================================================================
|
||||
* 3. Vereins-Anmeldeseite (Spezial:Anmelden / .mw-special-Userlogin)
|
||||
* ============================================================================ */
|
||||
body.mw-special-Userlogin {
|
||||
background: linear-gradient(135deg, #f4f1ea 0%, #e8e2d5 100%) !important;
|
||||
@@ -81,55 +92,59 @@ body.mw-special-Userlogin #footer {
|
||||
|
||||
body.mw-special-Userlogin #content.mw-body {
|
||||
margin: 40px auto !important;
|
||||
max-width: 520px !important;
|
||||
padding: 32px 36px !important;
|
||||
max-width: 540px !important;
|
||||
padding: 0 36px 32px 36px !important;
|
||||
background: #ffffff !important;
|
||||
border: none !important;
|
||||
border-top: 5px solid #9b1b1b !important;
|
||||
border-radius: 12px !important;
|
||||
box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12) !important;
|
||||
overflow: hidden !important;
|
||||
box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14) !important;
|
||||
}
|
||||
|
||||
.karate-login-hero {
|
||||
margin-bottom: 24px;
|
||||
margin-bottom: 22px;
|
||||
}
|
||||
|
||||
/* Dunkler Dojo-Header-Balken wie auf karate.hn fuer das breite weisse SVG-Logo */
|
||||
.karate-login-brand {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 18px;
|
||||
padding-bottom: 18px;
|
||||
margin-bottom: 18px;
|
||||
border-bottom: 1px solid #eaeaea;
|
||||
text-align: center;
|
||||
gap: 12px;
|
||||
margin: 0 -36px 22px -36px;
|
||||
padding: 26px 28px 20px 28px;
|
||||
background: #1a1a1a;
|
||||
border-bottom: 4px solid #e41b1b;
|
||||
}
|
||||
|
||||
.karate-login-logo {
|
||||
width: 76px;
|
||||
width: 100%;
|
||||
max-width: 340px;
|
||||
height: auto;
|
||||
flex-shrink: 0;
|
||||
filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
|
||||
display: block;
|
||||
}
|
||||
|
||||
.karate-login-title {
|
||||
margin: 0 0 4px 0 !important;
|
||||
margin: 4px 0 2px 0 !important;
|
||||
padding: 0 !important;
|
||||
border: none !important;
|
||||
font-size: 1.55rem !important;
|
||||
font-size: 1.35rem !important;
|
||||
font-weight: 700 !important;
|
||||
color: #1f1f1f !important;
|
||||
line-height: 1.2 !important;
|
||||
color: #ffffff !important;
|
||||
line-height: 1.25 !important;
|
||||
}
|
||||
|
||||
.karate-login-subtitle {
|
||||
margin: 0 !important;
|
||||
font-size: 0.95rem !important;
|
||||
color: #9b1b1b !important;
|
||||
font-weight: 600 !important;
|
||||
font-size: 0.92rem !important;
|
||||
color: #e0e0e0 !important;
|
||||
font-weight: 500 !important;
|
||||
}
|
||||
|
||||
.karate-login-notice {
|
||||
background: #faf7f2;
|
||||
border-left: 4px solid #9b1b1b;
|
||||
border-left: 4px solid #e41b1b;
|
||||
border-radius: 6px;
|
||||
padding: 14px 16px;
|
||||
font-size: 0.92rem;
|
||||
@@ -146,12 +161,13 @@ body.mw-special-Userlogin #content.mw-body {
|
||||
}
|
||||
|
||||
.karate-login-contact {
|
||||
font-size: 0.86rem;
|
||||
color: #555;
|
||||
font-size: 0.88rem;
|
||||
color: #444;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.karate-login-contact a {
|
||||
color: #9b1b1b !important;
|
||||
color: #b71c1c !important;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
@@ -172,17 +188,17 @@ body.mw-special-Userlogin .mw-htmlform-field-HTMLTextField input {
|
||||
}
|
||||
|
||||
body.mw-special-Userlogin .mw-htmlform-field-HTMLTextField input:focus {
|
||||
border-color: #9b1b1b !important;
|
||||
border-color: #b71c1c !important;
|
||||
outline: none !important;
|
||||
box-shadow: 0 0 0 3px rgba(155, 27, 27, 0.15) !important;
|
||||
box-shadow: 0 0 0 3px rgba(183, 28, 28, 0.15) !important;
|
||||
}
|
||||
|
||||
body.mw-special-Userlogin #wpLoginAttempt {
|
||||
width: 100% !important;
|
||||
padding: 11px 16px !important;
|
||||
margin-top: 8px !important;
|
||||
background-color: #9b1b1b !important;
|
||||
border-color: #7f1414 !important;
|
||||
background-color: #b71c1c !important;
|
||||
border-color: #9b1b1b !important;
|
||||
color: #ffffff !important;
|
||||
font-size: 1rem !important;
|
||||
font-weight: 600 !important;
|
||||
@@ -192,7 +208,7 @@ body.mw-special-Userlogin #wpLoginAttempt {
|
||||
}
|
||||
|
||||
body.mw-special-Userlogin #wpLoginAttempt:hover {
|
||||
background-color: #7f1414 !important;
|
||||
background-color: #9b1b1b !important;
|
||||
}
|
||||
|
||||
.karate-login-footer-links {
|
||||
@@ -210,7 +226,7 @@ body.mw-special-Userlogin #wpLoginAttempt:hover {
|
||||
}
|
||||
|
||||
.karate-login-footer-links a:hover {
|
||||
color: #9b1b1b !important;
|
||||
color: #b71c1c !important;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
@@ -222,6 +238,10 @@ body.mw-special-Userlogin #wpLoginAttempt:hover {
|
||||
@media (max-width: 600px) {
|
||||
body.mw-special-Userlogin #content.mw-body {
|
||||
margin: 16px 12px !important;
|
||||
padding: 22px 20px !important;
|
||||
padding: 0 20px 22px 20px !important;
|
||||
}
|
||||
.karate-login-brand {
|
||||
margin: 0 -20px 18px -20px;
|
||||
padding: 20px 18px 16px 18px;
|
||||
}
|
||||
}
|
||||
@@ -72,7 +72,7 @@ class KarateMediaHooks {
|
||||
'Der Zugriff ist geschützt und ausschließlich für aktive Vereinsmitglieder freigeschaltet.'
|
||||
);
|
||||
$accessUrl = $wgKarateAccessRequestUrl ?? 'https://shop.karate.hn/produkt/zugang-zu-vereinseigenem-karatewiki-20';
|
||||
$logoUrl = $wgLogo ?: '/resources/assets/logo.svg';
|
||||
$loginLogoUrl = '/resources/assets/logo-light.svg';
|
||||
|
||||
$headerCard = Html::rawElement(
|
||||
'div',
|
||||
@@ -81,7 +81,7 @@ class KarateMediaHooks {
|
||||
'div',
|
||||
[ 'class' => 'karate-login-brand' ],
|
||||
Html::element( 'img', [
|
||||
'src' => $logoUrl,
|
||||
'src' => $loginLogoUrl,
|
||||
'alt' => $loginTitle,
|
||||
'class' => 'karate-login-logo',
|
||||
] ) .
|
||||
|
||||
Reference in new issue
Block a user