MediaWiki:Monobook.css: Unterschied zwischen den Versionen
Alarya (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Alarya (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
| (34 dazwischenliegende Versionen derselben Benutzerin werden nicht angezeigt) | |||
| Zeile 20: | Zeile 20: | ||
background: #cd0000; /* Almadaner-Rot */ | background: #cd0000; /* Almadaner-Rot */ | ||
padding: 0.2em 11em 0.2em 0.5em; /* Breite auf die Breite des Kastens darunter ausdehnen */ | padding: 0.2em 11em 0.2em 0.5em; /* Breite auf die Breite des Kastens darunter ausdehnen */ | ||
} | } | ||
.pBody { /* kleiner Abstand oberhalb der Menü-Inhaltskästen, damit Überschrift optisch abgesetzt wird */ | .pBody { /* kleiner Abstand oberhalb der Menü-Inhaltskästen, damit Überschrift optisch abgesetzt wird */ | ||
margin: 0.2em 0em 0em 0em; | margin: 0.2em 0em 0em 0em; | ||
background-color: white; | |||
} | } | ||
} | } | ||
| Zeile 44: | Zeile 32: | ||
body.skin--responsive .mobile-menu-active { | body.skin--responsive .mobile-menu-active { | ||
border: solid 2px #cd0000; | border: solid 2px #cd0000; | ||
#ca-talk, #ca-edit { | #ca-talk, #ca-edit { /* einblenden */ | ||
position: unset; | position: unset; | ||
} | } | ||
#ca-view { /* ausblenden, man kann das Menü ja einfach zumachen */ | |||
position: absolute; | |||
top: -9999px; | |||
left: 0; | |||
} | |||
} | |||
} | |||
@media screen and (max-width: 550px) { | |||
body:not(.skin--responsive), body.skin--responsive { | |||
#ca-favorite.icon a, #ca-unfavorite.icon a { | |||
/*background-image: url(/images/fav-icons.png); | |||
background-position: 0px -25%;*/ | |||
background: none; | |||
padding-top: 0.65em; | |||
padding-bottom: 2em; | |||
width: inherit; | |||
visibility: hidden; | |||
} | |||
#ca-favorite.icon a:hover, #ca-unfavorite.icon a:hover { | |||
background: none; | |||
} | |||
#ca-favorite.icon a:before { | |||
content: "zu Favoriten hinzufügen"; | |||
visibility: visible; | |||
} | |||
#ca-unfavorite.icon a:before { | |||
content: "aus Favoriten entfernen"; | |||
visibility: visible; | |||
} | |||
#p-cactions-mobile li#ca-more a { | |||
color: white; | |||
} | |||
#searchBody { | |||
position: fixed; | |||
top: 3px; | |||
left: 57px; | |||
width: 65%; | |||
} | |||
#echo-hack-badges { | |||
left: -30px; | |||
pointer-events: unset; | |||
} | |||
#p-cactions-mobile li#talk-mobile a { | |||
background-image: url(images/speech_balloon.svg); | |||
background-size: 18px; | |||
} | |||
li#ca-addsection a:after{ | |||
content: " neuer Abschnitt"; | |||
} | |||
#p-cactions-mobile .pBody { | |||
background: unset; | |||
} | |||
} | |||
} | |||
@media screen and (min-width: 551px) { | |||
body:not(.skin--responsive), body.skin--responsive { | |||
#p-personal li a { | |||
/* Links in der Menüzeile ganz oben weiß einfärben, sonst zu dunkel */ | |||
color: white; | |||
} | |||
#p-personal li a:hover { /* visueller Indikator */ | |||
background-color: rebeccapurple; | |||
} | |||
#ca-favorite.icon a, #ca-favorite.icon a:hover { | |||
display: unset; | |||
background-image: url(/images/fav-icons.png); | |||
background-position: 4px 3px; | |||
background-size: 60px; | |||
} | |||
#ca-unfavorite.icon a, #ca-unfavorite.icon a:hover { | |||
display: unset; | |||
background-image: url(/images/fav-icons.png); | |||
background-position: -45px 3px; | |||
background-size: 60px; | |||
} | |||
#ca-unfavorite.icon a:before, #ca-favorite.icon a:before { | |||
content: " "; | |||
} | |||
} | } | ||
} | |||
.oo-ui-icon-bell { /* lade Glockensymbol in weiß, sonst schwarz */ | |||
background-image: url("eigene_includes/bell.php?fill=ffffff"); | |||
} | |||
.oo-ui-icon-tray { /* lade Briefkastensymbol in weiß, sonst schwarz */ | |||
background-image: url("eigene_includes/tray.php?fill=ffffff"); | |||
} | } | ||