Vorlage:Charttabelle/styles.css
Zur Navigation springen
Zur Suche springen
/* gemeinsame Style-Definitionen für alle vom Modul:Musikcharts abhängigen Vorlagen */
/* charttable head */
.charts-trh, .charts-th, .charts-notice {
background-color: #FFEBAD;
}
.charts-sep {
background-color:#F8F9FA;
}
/* mark non-existing charts */
.charts-nxa, .charts-nxs {
background: repeating-linear-gradient(45deg, #eeeeee 10px, rgba(200, 204, 209, 0.9019607843137255) 15px);
}
/* statistics format (chart table) */
.charts-redst {
background: #FFF5EE !important;
text-align: center;
font-style: italic;
}
.charts-yelst {
background: #FBF8D6 !important;
}
.charts-redstg {
background: #F0F0FF !important;
text-align: center;
font-style: italic;
}
/* Chart year column */
.charts-yy {
background: #F0F0FF;
}
/* Chart title column */
.charts-table:not(.charts-xmas) .charts-yy + td,
.charts-table:not(.charts-xmas) td:not(.charts-yy):first-of-type {
text-align: left;
}
/* Chart notes column */
.charts-cm,
.charts-cm + td {
text-align: left;
}
.charts-cm > div {
font-size: smaller;
}
/* Chart title addition / album */
.charts-add {
font-size: smaller;
font-style: italic;
}
/* zebragrey starts with blue, zebragrey2 starts with grey */
.charts-zebragrey > tbody > tr:nth-of-type(odd):not(.charts-grey),
.charts-zebragrey2 > tbody > tr:nth-of-type(even):not(.charts-grey),
.charts-blue {
background: #e1e9f3;
}
.charts-zebragrey > tbody > tr:nth-of-type(even):not(.charts-blue),
.charts-zebragrey2 > tbody > tr:nth-of-type(odd):not(.charts-blue),
.charts-grey {
background: #eeeeee;
}
/* regular zebra */
.charts-zebra.wikitable {
background: #f8f9fa;
}
.charts-zebra > tbody > tr:nth-of-type(even) {
background: white;
}
/* mobile caption */
.charts-table caption,
.charts-tableformat caption {
text-align: center !important;
background: none;
}
/* mobileonly */
.charts-monl, .charts-mc, .charts-mcg, .charts-mcb, .charts-monlc {
display: none;
}
/* span arrows */
.charts-monla {
display: none;
font-size: smaller;
font-style: italic;
margin-top: 5px;
}
/* certification icons */
/* container */
.charts-certc {
display: inline-block;
position: relative;
cursor: help;
border-bottom-color: rgba(50%, 50%, 50%, .5);
text-decoration: underline dotted rgba(50%, 50%, 50%, .5);
white-space: normal;
}
.charts-cert {
display: inline-block;
position: relative;
transition-duration: 0.8s;
transition-property: transform;
}
/* number */
.charts-certn {
position: absolute;
top: 70%;
left: 75%;
transform: translate(-52%, -40%);
font-size: 7.5pt;
font-weight: bold;
text-shadow: .8px .8px .5px #FFF, -.8px -.8px .5px #FFF, 1.1px 1.1px .5px #FFF, -1.1px -1.1px .5px #FFF;
}
/* tooltip */
.charts-certc .charts-certt {
min-width: 100px;
max-width: 140px;
top: -10px;
left: 50%;
transform: translate(-50%, -100%);
padding: 5px 5px;
color: #FFFFFF;
background-color: #555555;
text-align: center;
font-weight: normal;
border-radius: 8px;
position: absolute;
z-index: 99999999;
box-sizing: border-box;
box-shadow: 0 1px 8px rgba(0,0,0,0.5);
visibility: hidden;
opacity: 0;
transition: opacity 0.5s;
}
.charts-certc:hover .charts-certt {
visibility: visible;
opacity: 1;
}
.charts-certc:hover {
text-decoration: underline dotted;
}
.charts-certc .charts-certt i {
position: absolute;
top: 100%;
left: 50%;
margin-left: -10px;
width: 20px;
height: 10px;
overflow: hidden;
}
.charts-certc .charts-certt i::after {
content: '';
position: absolute;
width: 10px;
height: 10px;
left: 50%;
transform: translate(-50%,-50%) rotate(45deg);
background-color: #555555;
box-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
/* infobox styling */
.charts-infobox {
float: right;
clear: right;
display: table;
width: 220px;
border: 1px solid #DDD;
margin-left: 1em;
font-size: 100%;
}
.charts-infobox td {
vertical-align: middle !important;
padding: 1.5px 1px;
border: 0 !important;
}
.charts-ibrow td {
background: #F3F3F3;
color: #202122;
}
/* collapsing of discography infobox */
.charts-discvis, .charts-dischvis {
display: table-row !important;
}
.charts-hidcollapsible {
display: none;
}
.mw-collapsed .charts-hidcollapsible {
display: block;
}
.mw-collapsed .charts-dischvis th::after {
content: " (Auswahl)";
}
.mw-collapsed .charts-discvis ~ .charts-discvis {
background: #eeeeee;
}
/* Night mode */
@media screen {
html.skin-theme-clientpref-night .charts-zebragrey > tbody > tr:nth-of-type(even):not(.charts-blue),
html.skin-theme-clientpref-night .charts-zebragrey2 > tbody > tr:nth-of-type(odd):not(.charts-blue),
html.skin-theme-clientpref-night .charts-zebra > tbody > tr:nth-of-type(even):not(.charts-blue),
html.skin-theme-clientpref-night .charts-grey {
background: var(--background-color-neutral-subtle);
}
html.skin-theme-clientpref-night .charts-zebragrey > tbody > tr:nth-of-type(odd):not(.charts-grey),
html.skin-theme-clientpref-night .charts-zebragrey2 > tbody > tr:nth-of-type(even):not(.charts-grey),
html.skin-theme-clientpref-night .charts-zebra > tbody > tr:nth-of-type(odd):not(.charts-grey),
html.skin-theme-clientpref-night .charts-blue {
background: var(--background-color-base);
}
html.skin-theme-clientpref-night .charts-nxa,
html.skin-theme-clientpref-night .charts-nxs {
background: repeating-linear-gradient(45deg, #000 10px, rgba(200, 204, 209, 0.41) 15px);
}
html.skin-theme-clientpref-night .charts-trh,
html.skin-theme-clientpref-night .charts-th,
html.skin-theme-clientpref-night .charts-notice,
html.skin-theme-clientpref-night .charts-sep {
background-color: var(--background-color-neutral);
}
html.skin-theme-clientpref-night .charts-certn {
text-shadow: none;
}
html.skin-theme-clientpref-night .charts-redst,
html.skin-theme-clientpref-night .charts-redstg,
html.skin-theme-clientpref-night .charts-yelst {
background: var(--background-color-disabled) !important;
}
html.skin-theme-clientpref-night .charts-no1table > tbody > tr:nth-of-type(odd) {
background-color: var(--background-color-neutral) !important;
}
html.skin-theme-clientpref-night .charts-yy {
background: var(--background-color-disabled);
}
html.skin-theme-clientpref-night .charts-mc,
html.skin-theme-clientpref-night .charts-mcg {
background: #EAECF0;
}
html.skin-theme-clientpref-night .mw-collapsed .charts-discvis ~ .charts-discvis {
background: var(--background-color-neutral-subtle);
}
}
@media screen and (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .charts-zebragrey > tbody > tr:nth-of-type(even):not(.charts-blue),
html.skin-theme-clientpref-os .charts-zebragrey2 > tbody > tr:nth-of-type(odd):not(.charts-blue),
html.skin-theme-clientpref-os .charts-zebra > tbody > tr:nth-of-type(even):not(.charts-blue),
html.skin-theme-clientpref-os .charts-grey {
background: var(--background-color-neutral-subtle);
}
html.skin-theme-clientpref-os .charts-zebragrey > tbody > tr:nth-of-type(odd):not(.charts-grey),
html.skin-theme-clientpref-os .charts-zebragrey2 > tbody > tr:nth-of-type(even):not(.charts-grey),
html.skin-theme-clientpref-os .charts-zebra > tbody > tr:nth-of-type(odd):not(.charts-grey),
html.skin-theme-clientpref-os .charts-blue {
background: var(--background-color-base);
}
html.skin-theme-clientpref-os .charts-nxa,
html.skin-theme-clientpref-os .charts-nxs {
background: repeating-linear-gradient(45deg, #000 10px, rgba(200, 204, 209, 0.41) 15px);
}
html.skin-theme-clientpref-os .charts-trh,
html.skin-theme-clientpref-os .charts-th,
html.skin-theme-clientpref-os .charts-notice,
html.skin-theme-clientpref-os .charts-sep {
background-color: var(--background-color-neutral);
}
html.skin-theme-clientpref-os .charts-certn {
text-shadow: none;
}
html.skin-theme-clientpref-os .charts-redst,
html.skin-theme-clientpref-os .charts-redstg,
html.skin-theme-clientpref-os .charts-yelst {
background: var(--background-color-disabled) !important;
}
html.skin-theme-clientpref-os .charts-no1table > tbody > tr:nth-of-type(odd) {
background-color: var(--background-color-neutral) !important;
}
html.skin-theme-clientpref-os .charts-yy {
background: var(--background-color-disabled);
}
html.skin-theme-clientpref-os .mw-collapsed .charts-discvis ~ .charts-discvis {
background: var(--background-color-neutral-subtle);
}
}
/* only on Desktop: sticky heads and collapsible discography infobox */
@media
only screen and (min-width:721px) {
.charts-stickyhead th {
position: sticky;
top: 0;
z-index: 12;
}
.charts-stickyhead {
border-collapse: separate;
border-spacing: 0;
border-bottom-style: none;
border-left-style: none;
}
.charts-stickyhead th, .charts-stickyhead td {
border-right-style: none;
border-top-style: none;
}
.charts-stickyhead .charts-trh .charts-th,
.charts-stickyhead .charts-trhg .charts-thg {
top: 2.05em;
}
.noresize {
overflow-x: unset;
}
}
/* Mobile devices */
@media
only screen and (max-width:720px) {
.charts-table table,
.charts-table thead,
.charts-table th,
.charts-table tbody,
.charts-table td,
.charts-table tr,
.charts-tableformat table,
.charts-tableformat tbody,
.charts-tableformat td,
.charts-tableformat tr {
display: block;
}
.charts-tableformat {
border: 1px solid #a2a9b1 !important;
}
.charts-tableformat tbody {
margin-top: -1px !important;
}
.charts-tableformat th {
display: none;
}
.charts-tableformat tr,
.charts-table tr {
border-top: 1px solid #ccc;
}
.charts-tableformat tr:first-child {
border: none;
}
.charts-table {
width: 100%;
border: 1px solid #a2a9b1;
}
.charts-no1table .charts-table tr {
border-top: none;
}
.charts-no1table .charts-table {
border: none;
}
.charts-th,
.charts-thg {
border: none;
margin-top: -1px;
width: auto !important;
}
.charts-table td,
.charts-tableformat td {
border: none;
position: relative;
text-align: center !important;
padding-left: 2px;
padding-right: 2px;
}
.charts-trh,
.charts-trhg {
position: absolute;
top: -9999px;
left: -9999px;
}
/* statisticshead */
.charts-sth {
background-color: #FFEBAD;
}
.charts-sthg {
background-color: #eaecf0;
}
html.skin-theme-clientpref-night .charts-sth,
html.skin-theme-clientpref-night .charts-sthg {
background: var(--background-color-neutral);
}
/* center bullet points */
.charts-table ul {list-style-position: inside;}
/* mobilecountry */
.charts-mc {
display: inline;
float: left;
background-color: #FFEBAD;
margin-left: 3px;
font-weight: normal !important;
}
.charts-mcg {
display: inline;
float: left;
background-color: #EAECF0;
margin-left: 3px;
font-weight: normal !important;
}
html.skin-theme-clientpref-night .charts-mc,
html.skin-theme-clientpref-night .charts-mcg {
background: #EAECF0;
}
/* mobilecountrybalance */
.charts-mcb {
display: inline;
float: right;
margin-right: 3px;
visibility: hidden;
font-weight: normal !important;
}
/* mobileheader */
.charts-mh {
font-size: smaller;
font-weight: normal;
}
/* position span arrows */
.charts-aup {
margin-top: -5px;
background: none;
}
/* max height for marking of non-existing charts */
.charts-nonxa, .charts-nonxs {
background-size: 100% 2em;
background-repeat: no-repeat;
}
/* mobileonly */
.charts-monl {display: inline !important;}
/* cell */
.charts-monlc, .charts-monla {display: block !important;}
/* hidemobile */
.charts-hidm {
display: none !important;
border: none !important;
}
/* multicol fix [[phab:T361659]] */
table.multicol > tbody > tr > td,
table.multicol > tr > td {
display: block !important;
width: auto !important;
}
}
@media
only screen and (max-width:720px) and (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .charts-mc,
html.skin-theme-clientpref-os .charts-mcg {
background: #EAECF0;
}
html.skin-theme-clientpref-os .charts-sth,
html.skin-theme-clientpref-os .charts-sthg {
background: var(--background-color-neutral);
}
}
@media
only print {
.charts-hidp {
display: none;
}
.charts-certc {
text-decoration: none;
}
}