MediaWiki:Common.css: Unterschied zwischen den Versionen
Aus PnPwiki.de
(13 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt) | |||
Zeile 112: | Zeile 112: | ||
background-color: #2568A4; | background-color: #2568A4; | ||
border: 1px solid transparent; | border: 1px solid transparent; | ||
+ | |||
+ | } | ||
+ | #p-normal-catlinks li { | ||
+ | display: inline-block; | ||
+ | } | ||
+ | .additionalLinks { | ||
+ | clear: both; | ||
} | } | ||
Zeile 131: | Zeile 138: | ||
background-color: #2568A4; | background-color: #2568A4; | ||
border: 1px solid transparent; | border: 1px solid transparent; | ||
+ | } | ||
+ | .additionalLinks::after { | ||
+ | clear: both; | ||
+ | content: ''; | ||
+ | display: block; | ||
+ | } | ||
+ | .squareLinks a { | ||
+ | border-radius: 0; | ||
} | } | ||
/*Icons*/ | /*Icons*/ | ||
Zeile 145: | Zeile 160: | ||
} | } | ||
.catIcon { | .catIcon { | ||
+ | background-image: url('https://pnpwiki.de/w/images/b/bc/Cat-icon.png'); | ||
+ | background-position: 50% 50%; | ||
+ | background-repeat: no-repeat; | ||
+ | } | ||
+ | .decIcon { | ||
+ | background-image: url('https://pnpwiki.de/w/images/c/c3/Dec-icon.png'); | ||
+ | background-position: 50% 50%; | ||
+ | background-repeat: no-repeat; | ||
+ | } | ||
+ | .genreIcon { | ||
+ | background-image: url('https://pnpwiki.de/w/images/c/cc/Genre.png'); | ||
+ | background-position: 50% 50%; | ||
+ | background-repeat: no-repeat; | ||
+ | } | ||
+ | .comIcon { | ||
+ | background-image: url('https://pnpwiki.de/w/images/c/ce/Community.png'); | ||
+ | background-position: 50% 50%; | ||
+ | background-repeat: no-repeat; | ||
} | } | ||
+ | |||
+ | |||
/*Boxen*/ | /*Boxen*/ | ||
.catGroup { | .catGroup { | ||
Zeile 176: | Zeile 211: | ||
z-index: 2; | z-index: 2; | ||
} | } | ||
− | .catBox:after { | + | .catBox::after { |
content: ''; | content: ''; | ||
display: block; | display: block; |
Aktuelle Version vom 28. März 2021, 10:00 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;
}
#p-normal-catlinks li {
display: inline-block;
}
.additionalLinks {
clear: both;
}
.additionalLinks a {
background: #fff;
border: 1px solid #d4d4d4;
padding: 5px 12px;
display: inline-block;
line-height: 20px;
margin-right: 10px;
font-size: 16px;
float: left;
margin-bottom: 10px;
color: #5f5f5f;
border-radius: 33px;
}
.additionalLinks a:hover {
color: #fff;
background-color: #2568A4;
border: 1px solid transparent;
}
.additionalLinks::after {
clear: both;
content: '';
display: block;
}
.squareLinks a {
border-radius: 0;
}
/*Icons*/
.roundIcon {
display: block;
float: left;
width: 30px;
height: 30px;
border-radius: 50%;
background-color: #2568A4;
border: 1px solid #2568A4;
margin-right: 10px;
margin-bottom: 10px;
}
.catIcon {
background-image: url('https://pnpwiki.de/w/images/b/bc/Cat-icon.png');
background-position: 50% 50%;
background-repeat: no-repeat;
}
.decIcon {
background-image: url('https://pnpwiki.de/w/images/c/c3/Dec-icon.png');
background-position: 50% 50%;
background-repeat: no-repeat;
}
.genreIcon {
background-image: url('https://pnpwiki.de/w/images/c/cc/Genre.png');
background-position: 50% 50%;
background-repeat: no-repeat;
}
.comIcon {
background-image: url('https://pnpwiki.de/w/images/c/ce/Community.png');
background-position: 50% 50%;
background-repeat: no-repeat;
}
/*Boxen*/
.catGroup {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
margin-top: 10px;
}
.catBox {
width: 100%;
display: block;
float: left;
background: #fdfdfd;
padding: 10px 20px 20px;
margin-bottom: 20px;
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;
}
.catBox::after {
content: '';
display: block;
width: 98%;
height: 97%;
border: 2px solid #3876b5;
position: absolute;
left: 0;
top: 0;
right: -7px;
bottom: 0;
z-index: 1;
}
.catBox h3 {
margin-top: 10px;
border-bottom: 2px solid #3876b5;
}
.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: 44%;
}
}
@media screen and (min-width: 1340px) {
.catBox {
width: 25%;
}
}