MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus DIQA-Homepage
Wechseln zu:Navigation, Suche
(Die Seite wurde neu angelegt: „Das folgende CSS wird für alle Benutzeroberflächen geladen.: ul.megamenu li:hover { background-color: #fafafa; } div.megamenu { margin-top: -1px; m…“)
 
 
(5 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
+
body {
 +
  overflow-anchor: none; // repariert das Geister-Scrollen in Chrome
 +
}
  
ul.megamenu li:hover {
+
#lang-small {
background-color: #fafafa;
+
    position: relative;
 +
    float: right;
 +
    margin-right: 15px;
 +
    top: 28px;
 +
    font-weight: 900;
 +
    color: gray;
 
}
 
}
  
div.megamenu {
+
#lang-small a {
margin-top: -1px;
+
  color: gray !important;
margin-bottom: 3px;
 
padding: 5px;
 
background-color: #fafafa;
 
border-radius: 2px;
 
 
}
 
}
  
a.megamenu-selected {
+
@media (min-width: 1020px) {
color: #333 !important;
+
#lang-small {
background-color: #fafafa;
+
  display: none;
border-left: 1px solid #555;
+
}
border-right: 1px solid #555;
 
 
}
 
}

Aktuelle Version vom 16. April 2021, 13:51 Uhr

body {
   overflow-anchor: none; // repariert das Geister-Scrollen in Chrome
}

#lang-small {
    position: relative;
    float: right;
    margin-right: 15px;
    top: 28px;
    font-weight: 900;
    color: gray;
}

#lang-small a {
  color: gray !important;
}

@media (min-width: 1020px) {
 #lang-small {
   display: none;
 }
}