MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus PnPwiki.de
Zeile 128: Zeile 128:
 
overflow: hidden;
 
overflow: hidden;
 
     z-index: 0;
 
     z-index: 0;
 +
position: relative;
 
}
 
}
 
.catBox::before {
 
.catBox::before {
    content: '';
 
    display: block;
 
    position: absolute;
 
    background: blue;
 
    width: 35px;
 
    height: 35px;
 
    top: 0;
 
    left: 0;
 
 
     content: '';
 
     content: '';
 
     position: absolute;
 
     position: absolute;

Version vom 26. Februar 2021, 20:23 Uhr

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

/*Generell*/
body {
    color: #4a4a4a;
    background-color: #fff;
}
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,
  #mw-related-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,
  #mw-related-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,
  #mw-related-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;
 }
}

/*Kategorien*/
#p-normal-catlinks a {
    background: #fff;
    border: 1px solid #d4d4d4;
    padding: 0 9px;
    display: inline-block;
    line-height: 20px;
    margin-right: 3px;
    font-size: 14px;
    float: left;
    margin-bottom: 3px;
    color: #5f5f5f;
    border-radius: 33px;
}
	
#p-normal-catlinks a:hover {
    color: #fff;
    background-color: #2568A4;
    border: 1px solid transparent;
}

/*Boxen*/
.catGroup {
display: flex;
justify-content: space-between;
}
.catBox {
width: 100%;
display: block;
float: left;
background: #fdfdfd;
padding: 10px 20px 20px;
border: 2px solid #3876b5;
overflow: hidden;
    z-index: 0;
	position: relative;
}
.catBox::before {
    content: '';
    position: absolute;
    top: -22px;
    left: -25px;
    width: 40px;
    height: 40px;
    background: #ffffff;
    transform: rotate(45deg);
    border: 2px solid #3876b5;
    z-index: 2;
}
.catBox2:after {
    content: '';
    display: block;
    width: 98%;
    height: 97%;
    border: 2px solid blue;
    position: absolute;
    left: 0;
    top: 0;
    right: -7px;
    bottom: 0;
    z-index: 1;
}
.catBox h3 {
margin-top: 10px;
}
.catBox li {
    width: 50%;
    float: left;
}
@media screen and (min-width: 982px) {
  .catBox {
    width: 100%;
  }
}
@media screen and (min-width: 1100px) and (max-width: 1339px) {
  .catBox {
    width: 33%;
  }
}

@media screen and (min-width: 1340px) {
  .catBox {
    width: 25%;
  }
}