Vorlage:Episode/style.css: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(Die Seite wurde neu angelegt: „.episode-prevnext { border-radius: 0.5em; width: 100%; border-width: 2px; border-style: solid; color: #000000; padding: 2px; margin-bottom: 10px; } .ep…“) |
KKeine Bearbeitungszusammenfassung |
||
(3 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 17: | Zeile 17: | ||
} | } | ||
.episode-prevnext | .episode-prevnext:last-of-type { | ||
margin-top: 10px; | |||
} | } | ||
Zeile 39: | Zeile 31: | ||
.episode .title { | .episode .title { | ||
font-size: | font-size: large; | ||
} | } | ||
Zeile 65: | Zeile 57: | ||
} | } | ||
.episode .info th[colspan="2"], .episode .credits th[colspan="2"], .episode .music th[colspan="2"] { | .episode .info th[colspan="2"], | ||
.episode .credits th[colspan="2"], | |||
.episode .music th[colspan="2"] { | |||
border-radius: 0.5em; | border-radius: 0.5em; | ||
} | } | ||
.episode .info th:not([colspan="2"]), .episode .credits th:not([colspan="2"]), .episode .music th:not([colspan="2"]) { | .episode .info th:not([colspan="2"]), | ||
.episode .credits th:not([colspan="2"]), | |||
.episode .music th:not([colspan="2"]) { | |||
border-radius: 0.5em; | border-radius: 0.5em; | ||
background: #FFFFFF; | background: #FFFFFF; | ||
Zeile 99: | Zeile 95: | ||
grid-template-columns: 45% 10% 45%; | grid-template-columns: 45% 10% 45%; | ||
grid-template-rows: 1fr; | grid-template-rows: 1fr; | ||
} | |||
.episode-prevnext td { | |||
display: flex; | |||
align-items: center; | |||
gap: 4px; | |||
} | |||
.episode-prevnext td:first-child { | |||
justify-content: flex-start; | |||
text-align: left; | |||
} | |||
.episode-prevnext td:nth-child(2) { | |||
justify-content: center; | |||
text-align: center; | |||
} | |||
.episode-prevnext td:last-child { | |||
justify-content: flex-end; | |||
text-align: right; | |||
} | } | ||
/*} | /*} | ||
Zeile 113: | Zeile 130: | ||
.episode-prevnext td { | .episode-prevnext td { | ||
text-align: center | display: flex; | ||
align-items: center; | |||
justify-content: center; | |||
text-align: center; | |||
gap: 4px; | |||
} | } | ||
} | } | ||
Zeile 132: | Zeile 153: | ||
.episode-prevnext td { | .episode-prevnext td { | ||
text-align: center | display: flex; | ||
align-items: center; | |||
justify-content: center; | |||
text-align: center; | |||
gap: 4px; | |||
} | } | ||
}*/ | }*/ | ||
/* [[Kategorie:Vorlage:Non-Wikitext]] */ | /* [[Kategorie:Vorlage:Non-Wikitext]] */ |
Aktuelle Version vom 12. November 2021, 00:55 Uhr
.episode-prevnext {
border-radius: 0.5em;
width: 100%;
border-width: 2px;
border-style: solid;
color: #000000;
padding: 2px;
margin-bottom: 10px;
}
.episode-prevnext tr {
display: grid;
}
.episode-prevnext a:not(.new), .episode-prevnext a:visited:not(.new) {
color: #000000;
}
.episode-prevnext:last-of-type {
margin-top: 10px;
}
.episode {
border-radius: 0.5em;
width: 300px;
float: right;
border-width: 2px;
border-style: solid;
margin: 0 0 1em 1em;
}
.episode .title {
font-size: large;
}
.episode .languages {
margin: auto;
}
.episode .languages td {
float: left;
}
.episode .image td, .episode .filb td {
border-radius: 0.5em;
background: #FFFFFF;
text-align: center;
}
.episode .image img {
border-radius: 0.5em;
}
.episode .image, .episode .info, .episode .credits, .episode .music, .episode .filb {
border-radius: 0.5em;
width: 100%;
}
.episode .info th[colspan="2"],
.episode .credits th[colspan="2"],
.episode .music th[colspan="2"] {
border-radius: 0.5em;
}
.episode .info th:not([colspan="2"]),
.episode .credits th:not([colspan="2"]),
.episode .music th:not([colspan="2"]) {
border-radius: 0.5em;
background: #FFFFFF;
width: 50%;
}
.episode .info td, .episode .credits td, .episode .music td {
border-radius: 0.5em;
background: #FFFFFF;
width: 50%;
text-align: center;
}
.episode-characterlist > ul {
column-gap: 30px;
}
.episode-characterlist li {
page-break-inside: avoid;
break-inside: avoid-column;
}
/*@media only screen and (min-width: 721px) {*/
.episode-characterlist > ul {
column-count: 3;
}
.episode-prevnext tr {
grid-template-columns: 45% 10% 45%;
grid-template-rows: 1fr;
}
.episode-prevnext td {
display: flex;
align-items: center;
gap: 4px;
}
.episode-prevnext td:first-child {
justify-content: flex-start;
text-align: left;
}
.episode-prevnext td:nth-child(2) {
justify-content: center;
text-align: center;
}
.episode-prevnext td:last-child {
justify-content: flex-end;
text-align: right;
}
/*}
@media only screen and (min-width: 481px) and (max-width: 720px) {
.episode-characterlist > ul {
column-count: 2;
}
.episode-prevnext tr {
grid-template-columns: 100%;
grid-template-rows: 1fr 1fr 1fr;
}
.episode-prevnext td {
display: flex;
align-items: center;
justify-content: center;
text-align: center;
gap: 4px;
}
}
@media only screen and (max-width: 480px) {
.episode {
width: 100%;
}
.episode-characterlist > ul {
column-count: 1;
}
.episode-prevnext tr {
grid-template-columns: 100%;
grid-template-rows: 1fr 1fr 1fr;
}
.episode-prevnext td {
display: flex;
align-items: center;
justify-content: center;
text-align: center;
gap: 4px;
}
}*/
/* [[Kategorie:Vorlage:Non-Wikitext]] */