MediaWiki:Mobile.css: Unterschied zwischen den Versionen
(4 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
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; | ||
} | } | ||
− | span.tab { | + | div.tabcontainer span.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 49: | ||
} | } | ||
− | span.tab active { | + | div.tabcontainer span.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)); | ||
Zeile 104: | Zeile 111: | ||
height: auto; | height: auto; | ||
vertical-align: middle; | vertical-align: middle; | ||
+ | } | ||
+ | /*Funktioniert überhaupt irgendwas?*/ | ||
+ | #mf-mainseries .series { | ||
+ | width: 100%; | ||
+ | height: 125px; | ||
+ | margin: 0 0 14px 0; | ||
+ | overflow: hidden; | ||
+ | } | ||
+ | |||
+ | #mf-mainseries .series img { /* May need more tweaking */ | ||
+ | min-width: 100%; | ||
+ | min-height: 100%; | ||
+ | width: auto; | ||
+ | height: auto; | ||
+ | } | ||
+ | |||
+ | #mf-mainseries .series a { | ||
+ | width: 100%; | ||
+ | height: 100%; | ||
+ | text-align: left; | ||
+ | box-sizing: border-box; | ||
+ | padding: 5%; /* Changed from 16px */ | ||
+ | justify-content: flex-start; | ||
+ | clip: auto; | ||
+ | box-shadow: inset rgba(255, 255, 255, 0.1) 0 0 0 1px; | ||
+ | z-index: 1; | ||
+ | } | ||
+ | |||
+ | #mf-mainseries .series .year { | ||
+ | bottom: 12px; | ||
+ | right: 16px; | ||
+ | left: auto; | ||
} | } | ||
Zeile 110: | Zeile 149: | ||
.skin-minerva div.globalNotice { /* override existing style with div specificity */ | .skin-minerva div.globalNotice { /* override existing style with div specificity */ | ||
background: none; | background: none; | ||
+ | } | ||
+ | |||
+ | a:hover { | ||
+ | text-decoration: underline; | ||
+ | color: orange; | ||
+ | } | ||
+ | |||
+ | a:visited{ | ||
+ | color: orange; | ||
} | } |
Aktuelle Version vom 30. Juni 2020, 11:05 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;
}
div.tabcontainer span.tab {
white-space: normal;
width: calc((100% / 3) - (1px * 2) - (2px * 2) - (3px * 2));
display: inline-block;
background-color: orange;
}
div.tabcontainer span.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;
}
/*Funktioniert überhaupt irgendwas?*/
#mf-mainseries .series {
width: 100%;
height: 125px;
margin: 0 0 14px 0;
overflow: hidden;
}
#mf-mainseries .series img { /* May need more tweaking */
min-width: 100%;
min-height: 100%;
width: auto;
height: auto;
}
#mf-mainseries .series a {
width: 100%;
height: 100%;
text-align: left;
box-sizing: border-box;
padding: 5%; /* Changed from 16px */
justify-content: flex-start;
clip: auto;
box-shadow: inset rgba(255, 255, 255, 0.1) 0 0 0 1px;
z-index: 1;
}
#mf-mainseries .series .year {
bottom: 12px;
right: 16px;
left: auto;
}
/*Misc*/
/* Remove black background around sitenotices (globalNotice) */
.skin-minerva div.globalNotice { /* override existing style with div specificity */
background: none;
}
a:hover {
text-decoration: underline;
color: orange;
}
a:visited{
color: orange;
}