MediaWiki:Mobile.css: Unterschied zwischen den Versionen
Zeile 35: | Zeile 35: | ||
} | } | ||
− | + | .tab { | |
white-space: normal; | white-space: normal; | ||
width: calc((100% / 3) - (1px * 2) - (2px * 2) - (3px * 2)); | width: calc((100% / 3) - (1px * 2) - (2px * 2) - (3px * 2)); | ||
Zeile 42: | Zeile 42: | ||
} | } | ||
− | + | .tab.active { | |
white-space: normal; | white-space: normal; | ||
width: calc((100% / 3) - (1px * 2) - (2px * 2) - (3px * 2)); | width: calc((100% / 3) - (1px * 2) - (2px * 2) - (3px * 2)); |
Version vom 29. Juni 2020, 10:17 Uhr
/* Das folgende CSS wird für alle Nutzer der mobilen Ansicht geladen. */
/*Kacheln*/
/*Ausrichtung der Bilder*/
div.media-template div.tabcontents.vertical-centered-content > div.content > a > img {
position: relative;
top: 50%;
transform: translateY(-50%);
}
/*Kachelsteuerung allgemein*/
.tabcontainer .tab {
background-color: #E9E9E8;
/*background-image: -moz-linear-gradient(center top , #1d679b, #1a4e7d);*/
border: 2px solid silver;
border-radius: 0px;
cursor: pointer;
float: left;
margin: 0 1px 2px;
padding: 3px;
text-align: center;
white-space: nowrap;
}
.tabcontainer .tab:hover {
background-color: #978650;
/*background-image: -moz-linear-gradient(center top , #305f89, #17456e);*/
color: #f4f26b;
}
.tabcontainer .tab.active {
background-color: #6E6117 !important;
/*background-image: -moz-linear-gradient(center top , #1d578b, #17456e);*/
color: #f4f26b;
}
.tab {
white-space: normal;
width: calc((100% / 3) - (1px * 2) - (2px * 2) - (3px * 2));
display: inline-block;
background-color: orange;
}
.tab.active {
white-space: normal;
width: calc((100% / 3) - (1px * 2) - (2px * 2) - (3px * 2));
display: inline-block;
background-color: gold;
}
/*Kachelinhalt*/
div.content {
margin: 0 auto;
display: flex;
flex-flow: row wrap;
justify-content: center;
}
div.content div.series {
width: 100%;
height: 125px;
margin: 0 0 14px 0;
overflow: hidden;
display: inline-block;
position: relative;
font-size: 0;
}
div.content div.series span.year {
bottom: 12px;
right: 16px;
left: auto;
color: rgba(255, 255, 255, 0.9);
position: absolute;
font-size: 12px;
z-index: 10;
}
div.content div.series a {
width: 100%;
height: 100%;
text-align: left;
box-sizing: border-box;
padding: 5%;
justify-content: flex-start;
clip: auto;
box-shadow: inset rgba(255, 255, 255, 0.1) 0 0 0 1px;
z-index: 1;
font-style: normal;
color: rgba(255, 255, 255, 0.9);
position: absolute;
line-height: 29px;
font-size: 25px;
text-decoration: none;
background-color: rgba(0, 0, 0, 0.6);
display: flex;
flex-direction: column;
}
div.content div.series img {
min-width: 100%;
min-height: 100%;
width: auto;
height: auto;
vertical-align: middle;
}
/*Misc*/
/* Remove black background around sitenotices (globalNotice) */
.skin-minerva div.globalNotice { /* override existing style with div specificity */
background: none;
}