MediaWiki:Mobile.css: Unterschied zwischen den Versionen
Zeile 20: | Zeile 20: | ||
padding: 3px; | padding: 3px; | ||
text-align: center; | text-align: center; | ||
− | white-space: nowrap; | + | /*white-space: nowrap;*/ |
+ | white-space: normal; | ||
+ | width: calc((100% / 3) - (1px * 2) - (2px * 2) - (3px * 2)); | ||
+ | display: inline-block; | ||
+ | background-color: orange; | ||
} | } | ||
Zeile 33: | Zeile 37: | ||
/*background-image: -moz-linear-gradient(center top , #1d578b, #17456e);*/ | /*background-image: -moz-linear-gradient(center top , #1d578b, #17456e);*/ | ||
color: #f4f26b; | color: #f4f26b; | ||
+ | width: calc((100% / 3) - (1px * 2) - (2px * 2) - (3px * 2)); | ||
+ | display: inline-block; | ||
+ | background-color: gold; | ||
} | } | ||
− | .tab { | + | /*.tab { |
− | + | ||
− | |||
− | |||
− | |||
} | } | ||
.tab.active { | .tab.active { | ||
white-space: normal; | white-space: normal; | ||
− | + | ||
− | + | }*/ | |
− | |||
− | } | ||
/*Kachelinhalt*/ | /*Kachelinhalt*/ |
Version vom 30. Juni 2020, 09:56 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;*/
white-space: normal;
width: calc((100% / 3) - (1px * 2) - (2px * 2) - (3px * 2));
display: inline-block;
background-color: orange;
}
.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;
width: calc((100% / 3) - (1px * 2) - (2px * 2) - (3px * 2));
display: inline-block;
background-color: gold;
}
/*.tab {
}
.tab.active {
white-space: normal;
}*/
/*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;
}