MediaWiki:Foreground.css: Unterschied zwischen den Versionen

Aus Maddraxikon
(Etwas dunklere Farbe für Dropdowns)
(Neustart, Hauptseiten-Anzeige entfernen)
Zeile 5: Zeile 5:


/* Menüleisten Farbe */
/* Menüleisten Farbe */
.top-bar,
.top-bar-logo { max-height: 160px; }
.top-bar-section ul,
ul.title-area li.name div.title-name a div.title-name { display: none !important; }
.top-bar-section ul li.active > a,
@media only screen and (max-width: 1440px){
.top-bar-section li a:not(.button),
  .top-bar-logo { max-height: 100px; }
.top-bar-section .has-form {
    background: #ffe4b2;
    color: #000;
}
}
 
@media only screen and (max-width: 1024px) {
/* Menü-Links Farbe */
  .top-bar-logo { max-height: 120px; padding: 2px 0; }
.top-bar-section > ul > .divider,
}
.top-bar-section > ul > [role="separator"] {
@media only screen and (max-width: 768px) {
    border-color: #ffe4b2;
}
}
 
@media only screen and (max-width: 630px) {
/* Dunklere Farbe für Mouseovers und Dropdowns */
  .top-bar-logo { max-height: 2.8125rem; padding: 2px 0; }
.top-bar-section ul li.hover > a,
  #page-content { margin: 0; }
.top-bar-section ul li ul.dropdown li.hover > a {
    background: #ffae00;
}
}


/* Etwas dunklere Farbe für Dropdowns */
/* Hauptseiten-Anzeige entfernen */  
.top-bar-section ul li ul.dropdown li > a {
body.page-Main_Page .title,
    background: #ffe4b2;
body.page-Main_Page #tagline {
display: none;
}
}

Version vom 24. April 2020, 11:42 Uhr

/* Table of Contents rechtsbündig */
#toc, .toc {
    float: right;
}

/* Menüleisten Farbe */
.top-bar-logo { max-height: 160px; }
ul.title-area li.name div.title-name a div.title-name { display: none !important; }
@media only screen and (max-width: 1440px){
  .top-bar-logo { max-height: 100px; }
}
@media only screen and (max-width: 1024px) {
  .top-bar-logo { max-height: 120px; padding: 2px 0; }
}
@media only screen and (max-width: 768px) {
}
@media only screen and (max-width: 630px) {
  .top-bar-logo { max-height: 2.8125rem; padding: 2px 0; }
  #page-content { margin: 0; }
}

/* Hauptseiten-Anzeige entfernen */ 
body.page-Main_Page .title,
body.page-Main_Page #tagline {
	display: none;
}