MediaWiki:Common.css: Unterschied zwischen den Versionen
Aus PnPwiki.de
Zeile 122: | Zeile 122: | ||
display: block; | display: block; | ||
float: left; | float: left; | ||
+ | background: #fdfdfd; | ||
+ | padding: 10px 20px 20px; | ||
+ | border: 1px solid #e8e8e8; | ||
} | } | ||
.catBox li { | .catBox li { |
Version vom 26. Februar 2021, 19:56 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;
}
.catBox {
width: 100%;
display: block;
float: left;
background: #fdfdfd;
padding: 10px 20px 20px;
border: 1px solid #e8e8e8;
}
.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%;
}
}