MediaWiki:Common.css
Aus Wikikama
Hinweis: Leere nach dem Veröffentlichen den Browser-Cache, um die Änderungen sehen zu können.
- Firefox/Safari: Umschalttaste drücken und gleichzeitig Aktualisieren anklicken oder entweder Strg+F5 oder Strg+R (⌘+R auf dem Mac) drücken
- Google Chrome: Umschalttaste+Strg+R (⌘+Umschalttaste+R auf dem Mac) drücken
- Edge: Strg+F5 drücken oder Strg drücken und gleichzeitig Aktualisieren anklicken
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
/* Subtitel unter dem Wikikama-Schriftzug */
#p-logo:after {
content: "Mehr Wissen. Mehr Sicherheit. Fakten gegen Fakes.";
display: block;
font-size: 0.8em;
color: gray;
text-align: center;
margin-top: 5px;
}
/* Einheitliche Schriftart auf Arial setzen */
body {
font-family: Arial, Helvetica, sans-serif;
font-size: 16px;
line-height: 1.6;
color: #222;
}
/* Optional: Überschriften leicht anpassen */
h1, h2, h3 {
font-family: Arial, Helvetica, sans-serif;
color: #2C5282;
}
/* Einheitliche Linkfarbe für alle Links */
a:link,
a:visited {
color: #2B6CB0 !important; /* dein Wunschblau */
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
#mw-content-container {
border-bottom: none !important;
}
#mw-footer-container,
#mw-footer {
background-color: #3a3a3a !important;
color: #ccc;
}
#mw-footer a {
color: #8ab4f8 !important; /* heller, gut lesbarer Blauton */
text-decoration: underline; /* optional, zur besseren Erkennbarkeit */
}
#mw-footer a:hover {
color: #a6c8ff !important; /* hellerer Blauton bei Hover */
}
#mw-footer-container {
margin-bottom: 20px;
/* Oder falls margin besser passt */
/* margin-bottom: 20px; */
}
#mw-footer a:hover {
color: #5599dd;
}
/* Support-Banner Styling mit Mobilfix */
#support-banner {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
background-color: #fff4a3;
color: #111;
font-family: Arial, sans-serif;
font-size: 14px;
padding: 20px 20px 24px 20px;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
z-index: 10000;
box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
gap: 10px;
word-break: break-word;
position: fixed;
}
#support-banner .sb-text {
font-weight: bold;
max-width: 90%;
line-height: 1.5;
}
#support-banner .sb-link {
color: #0645ad;
text-decoration: underline;
font-weight: bold;
}
#support-banner .sb-link:hover {
color: #0b3d91;
}
#support-banner button#support-banner-close {
position: absolute;
top: 6px;
right: 10px;
background: none;
border: none;
font-size: 20px;
color: #444;
cursor: pointer;
line-height: 1;
opacity: 0.8;
padding: 0;
margin: 0;
box-shadow: 0 0 3px rgba(0,0,0,0.2);
}
#support-banner button#support-banner-close:hover {
opacity: 1;
color: #111;
}
.sidebar-chunk#site-tools,
#p-tb {
display: none !important;
}
#mw-panel .portal a {
display: block;
background-color: #2C5282;
color: white !important;
padding: 6px 10px;
margin: 4px 0;
border-radius: 6px;
text-align: center;
text-decoration: none;
font-weight: 600;
}
#mw-panel .portal a:hover {
background-color: #1A365D;
}
/* Versteckt Login-Menü für alle, die nicht eingeloggt sind */
body:not(.user-logged-in) #user-tools,
body:not(.user-logged-in) .vector-user-menu,
body:not(.user-logged-in) #p-personal {
display: none !important;
}
a[href*="Vorlage:Extension_DPL"] {
display: none !important;
}
.dpl-list-simple ul {
list-style: none !important;
margin: 0 !important;
padding:0 !important;
}
.dpl-list-simple ul > li {
display: flex !important;
justify-content: space-between !important;
align-items: center !important;
padding:4px 0 !important;
}
.dpl-list-simple ul > li::before {
content: "📄" !important;
margin-right:8px !important;
flex: none !important;
}
.dpl-list-simple ul > li a {
color: #2C5282 !important;
text-decoration: none !important;
flex: auto !important;
}
.dpl-list-simple ul > li span.dpl-date {
font-size:0.9em !important;
color: #4A5568 !important;
margin-left:12px !important;
flex: none !important;
}
@media (max-width: 600px) {
.wikikama-boxes {
flex-direction: column !important;
}
}
.a2a_kit {
margin-bottom: 30px;
}
.wikikama-sharebox {
margin-top: 40px;
font-family: Arial, sans-serif;
display: flex;
flex-wrap: wrap;
justify-content: center; /* Zentriert auf allen Geräten */
gap: 8px;
}
.wikikama-sharebox strong {
flex-basis: 100%;
margin-bottom: 8px;
text-align: center; /* Überschrift zentriert */
}
.wikikama-sharebox a {
display: inline-flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
cursor: pointer;
user-select: none;
text-decoration: none !important;
transition: filter 0.3s ease;
border-radius: 4px;
}
.wikikama-sharebox a:hover {
filter: brightness(0.85);
}
/* Benutzer anlegen Formular */
.successbox {
background-color: #e6ffe6;
border: 1px solid #00aa00;
padding: 1em;
margin-bottom: 1em;
}
.errorbox {
background-color: #ffe6e6;
border: 1px solid #cc0000;
padding: 1em;
margin-bottom: 1em;
}
.warningbox {
background-color: #fff8e1;
border: 1px solid #ff9900;
padding: 1em;
margin-bottom: 1em;
}