MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus PnPwiki.de
(Grundlegendes)
 
(Navigation Links)
Zeile 45: Zeile 45:
 
.mw-footer-container a:visited {
 
.mw-footer-container a:visited {
 
     color: #124F7F;
 
     color: #124F7F;
 +
}
 +
 +
/*Navigationsboxen*/
 +
@media screen and (min-width: 1340px) {
 +
  #mw-site-navigation .sidebar-chunk {
 +
    background: #fff;
 +
    border: 0;
 +
    border-width: 0;
 +
    padding: 1.25em 1.75em;
 +
    box-shadow: none;
 +
    padding: 0;
 +
    margin: 1em 0;
 +
    line-height: 1.125;
 +
    word-wrap: break-word;
 +
    font-size: 0.95em;
 +
  }
 +
  #mw-site-navigation .sidebar-chunk h3 {
 +
    padding: 15px;
 +
    text-align: center;
 +
    position: relative;
 +
    font-weight: normal;
 +
    font-size: 1.2em;
 +
    text-transform: uppercase;
 +
    margin: 1.25em 0 0.75em 0;
 +
    border-bottom: 0;
 +
    background-color: #3876b5;
 +
    color: #fff;
 +
  }
 +
 +
  #mw-site-navigation .sidebar-chunk h3:after {
 +
    content: '';
 +
    display: inline-block;
 +
    position: absolute;
 +
    bottom: -10px;
 +
    left: 50%;
 +
    height: 0;
 +
    width: 0;
 +
    margin-left: -10.5px;
 +
    border-left: 10px solid transparent;
 +
    border-right: 10px solid transparent;
 +
    border-top: 10px solid #3876b5;
 +
}
 
}
 
}

Version vom 23. Februar 2021, 19:29 Uhr

/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */

/*Generell*/
body {
    color: #4a4a4a;
}
a {
    color: #1b75bc;
}
a:hover, a:visited {
    color: #124F7F;
}

/*Linien*/
.mw-body h1.firstHeading,
.tools-inline li.selected {
    border-color: #3876b5;
}
.color-middle {
    background: #3876b5;
}
.color-left {
    background: #124F7F;
}
.color-right {
    background: #5498CD;
}

/*Footer*/
#mw-content-container {
    background: #fff;
    border-bottom: solid 4px #3876b5;
    background-image: none;
}
.mw-footer-container {
    border-top: 0;
    box-shadow: none;
    color: #4a4a4a;
    background-color: #fff;
}
.mw-footer-container a {
    color: #1b75bc;
}
.mw-footer-container a:hover,
.mw-footer-container a:visited {
    color: #124F7F;
}

/*Navigationsboxen*/
@media screen and (min-width: 1340px) {
  #mw-site-navigation .sidebar-chunk {
    background: #fff;
    border: 0;
    border-width: 0;
    padding: 1.25em 1.75em;
    box-shadow: none;
    padding: 0;
    margin: 1em 0;
    line-height: 1.125;
    word-wrap: break-word;
    font-size: 0.95em;
  }
  #mw-site-navigation .sidebar-chunk h3 {
    padding: 15px;
    text-align: center;
    position: relative;
    font-weight: normal;
    font-size: 1.2em;
    text-transform: uppercase;
    margin: 1.25em 0 0.75em 0;
    border-bottom: 0;
    background-color: #3876b5;
    color: #fff;
  }

  #mw-site-navigation .sidebar-chunk h3:after {
    content: '';
    display: inline-block;
    position: absolute;
    bottom: -10px;
    left: 50%;
    height: 0;
    width: 0;
    margin-left: -10.5px;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #3876b5;
 }
}