Template:Infobox dos2 character test/styles.css: Difference between revisions
Template page
More actions
Minimoomoo (talk | contribs) No edit summary |
Minimoomoo (talk | contribs) No edit summary |
||
| Line 2: | Line 2: | ||
float: right; | float: right; | ||
text-align: left; | text-align: left; | ||
background-color: #1e1600 | background-color: #1e1600; | ||
border-spacing: 5px; | border-spacing: 5px; | ||
border: 1px solid #8b1a1a; | border: 1px solid #8b1a1a; | ||
| Line 11: | Line 11: | ||
.infoboxtest-image { | .infoboxtest-image { | ||
text-align: center; | text-align: center; | ||
background-color: transparent | background-color: transparent; | ||
padding: 6px 0; | padding: 6px 0; | ||
} | } | ||
| Line 20: | Line 20: | ||
display: block; | display: block; | ||
margin: 0 auto; | margin: 0 auto; | ||
background-color: transparent | background-color: transparent; | ||
} | } | ||
.ib-dos2-character-test { | .ib-dos2-character-test { | ||
border-spacing: 2px 5px; | border-spacing: 2px 5px; | ||
background-color: #1e1600 | background-color: #1e1600; | ||
} | } | ||
.infoboxtest-label { | .infoboxtest-label { | ||
vertical-align: top; | vertical-align: top; | ||
color: #c0392b | color: #c0392b; | ||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
.infoboxtest-data { | .infoboxtest-data { | ||
color: #e8dfc0 | color: #e8dfc0; | ||
background-color: transparent | background-color: transparent; | ||
} | } | ||
/* ID row: both label and data in red */ | /* ID row: both label and data in red */ | ||
.ib-dos2-id .infoboxtest-label, | /*.ib-dos2-id .infoboxtest-label,*/ | ||
.ib-dos2-id .infoboxtest-data { | /*.ib-dos2-id .infoboxtest-data {*/ | ||
/* color: #c0392b;*/ | |||
} | /*}*/ | ||
.ib-dos2-character-test .infoboxtest-above { | .ib-dos2-character-test .infoboxtest-above { | ||
text-align: center; | text-align: center; | ||
background: linear-gradient(180deg, #3d1a00 0%, #1e1600 100%) | background: linear-gradient(180deg, #3d1a00 0%, #1e1600 100%); | ||
color: #c0392b | color: #c0392b; | ||
font-size: 1.1em; | font-size: 1.1em; | ||
font-weight: bold; | font-weight: bold; | ||
| Line 58: | Line 58: | ||
.ib-dos2-character-test .infoboxtest-header { | .ib-dos2-character-test .infoboxtest-header { | ||
text-align: center; | text-align: center; | ||
background: linear-gradient(180deg, #3d1a00 0%, #2a1200 100%) | background: linear-gradient(180deg, #3d1a00 0%, #2a1200 100%); | ||
color: #c0392b | color: #c0392b; | ||
border-top: 1px solid #8b1a1a; | border-top: 1px solid #8b1a1a; | ||
border-bottom: 1px solid #8b1a1a; | border-bottom: 1px solid #8b1a1a; | ||
| Line 86: | Line 86: | ||
.ib-dos2-character-test th, | .ib-dos2-character-test th, | ||
.ib-dos2-character-test tr { | .ib-dos2-character-test tr { | ||
background-color: transparent | background-color: transparent; | ||
} | } | ||
| Line 93: | Line 93: | ||
color: #e8dfc0; | color: #e8dfc0; | ||
width: 100%; | width: 100%; | ||
background-color: transparent | background-color: transparent; | ||
} | } | ||
| Line 129: | Line 129: | ||
border-top: 1px solid #8b1a1a; | border-top: 1px solid #8b1a1a; | ||
border-bottom: 1px solid #8b1a1a; | border-bottom: 1px solid #8b1a1a; | ||
background: linear-gradient(180deg, #3d1a00 0%, #2a1200 100%) | background: linear-gradient(180deg, #3d1a00 0%, #2a1200 100%); | ||
padding: 4px; | padding: 4px; | ||
text-align: center; | text-align: center; | ||
| Line 142: | Line 142: | ||
.ib-dos2-character-test .dos2-technical-block .mw-collapsible-content { | .ib-dos2-character-test .dos2-technical-block .mw-collapsible-content { | ||
background: #1e1600 | background: #1e1600; | ||
padding: 4px 8px; | padding: 4px 8px; | ||
text-align: left; | text-align: left; | ||
color: #e8dfc0 | color: #e8dfc0; | ||
} | } | ||
| Line 151: | Line 151: | ||
html.skin-theme-clientpref-night .ib-dos2-character-test .infoboxtest-above, | html.skin-theme-clientpref-night .ib-dos2-character-test .infoboxtest-above, | ||
html.skin-theme-clientpref-night .ib-dos2-character-test .infoboxtest-header { | html.skin-theme-clientpref-night .ib-dos2-character-test .infoboxtest-header { | ||
background: linear-gradient(180deg, #3d1a00 0%, #2a1200 100%) | background: linear-gradient(180deg, #3d1a00 0%, #2a1200 100%); | ||
color: #c0392b | color: #c0392b; | ||
} | } | ||
} | } | ||
| Line 159: | Line 159: | ||
html.skin-theme-clientpref-os .ib-dos2-character-test .infoboxtest-above, | html.skin-theme-clientpref-os .ib-dos2-character-test .infoboxtest-above, | ||
html.skin-theme-clientpref-os .ib-dos2-character-test .infoboxtest-header { | html.skin-theme-clientpref-os .ib-dos2-character-test .infoboxtest-header { | ||
background: linear-gradient(180deg, #3d1a00 0%, #2a1200 100%) | background: linear-gradient(180deg, #3d1a00 0%, #2a1200 100%); | ||
color: #c0392b | color: #c0392b; | ||
} | } | ||
} | } | ||
html.skin-theme-clientpref-night .infoboxtest { | html.skin-theme-clientpref-night .infoboxtest { | ||
background-color: #1e1600 | background-color: #1e1600; | ||
border-color: #8b1a1a | border-color: #8b1a1a; | ||
} | } | ||
| Line 172: | Line 172: | ||
html.skin-theme-clientpref-night .ib-dos2-character-test th, | html.skin-theme-clientpref-night .ib-dos2-character-test th, | ||
html.skin-theme-clientpref-night .ib-dos2-character-test tr { | html.skin-theme-clientpref-night .ib-dos2-character-test tr { | ||
background-color: transparent | background-color: transparent; | ||
color: #e8dfc0 | color: #e8dfc0; | ||
} | } | ||
html.skin-theme-clientpref-night .infoboxtest-label { | html.skin-theme-clientpref-night .infoboxtest-label { | ||
color: #c0392b | color: #c0392b; | ||
} | } | ||
html.skin-theme-clientpref-night .infoboxtest-data { | html.skin-theme-clientpref-night .infoboxtest-data { | ||
color: #e8dfc0 | color: #e8dfc0; | ||
} | } | ||
html.skin-theme-clientpref-night .ib-dos2-id .infoboxtest-label, | html.skin-theme-clientpref-night .ib-dos2-id .infoboxtest-label, | ||
html.skin-theme-clientpref-night .ib-dos2-id .infoboxtest-data { | html.skin-theme-clientpref-night .ib-dos2-id .infoboxtest-data { | ||
color: #c0392b | color: #c0392b; | ||
} | } | ||
html.skin-theme-clientpref-night .ib-dos2-character-test .infoboxtest-above { | html.skin-theme-clientpref-night .ib-dos2-character-test .infoboxtest-above { | ||
background: linear-gradient(180deg, #3d1a00 0%, #1e1600 100%) | background: linear-gradient(180deg, #3d1a00 0%, #1e1600 100%); | ||
color: #c0392b | color: #c0392b; | ||
} | } | ||
html.skin-theme-clientpref-night .ib-dos2-character-test .infoboxtest-header { | html.skin-theme-clientpref-night .ib-dos2-character-test .infoboxtest-header { | ||
background: linear-gradient(180deg, #3d1a00 0%, #2a1200 100%) | background: linear-gradient(180deg, #3d1a00 0%, #2a1200 100%); | ||
color: #c0392b | color: #c0392b; | ||
} | } | ||
html.skin-theme-clientpref-night .ib-dos2-character-test .dos2-technical-block { | html.skin-theme-clientpref-night .ib-dos2-character-test .dos2-technical-block { | ||
background: linear-gradient(180deg, #3d1a00 0%, #2a1200 100%) | background: linear-gradient(180deg, #3d1a00 0%, #2a1200 100%); | ||
} | } | ||
html.skin-theme-clientpref-night .ib-dos2-character-test .dos2-technical-block .mw-collapsible-content { | html.skin-theme-clientpref-night .ib-dos2-character-test .dos2-technical-block .mw-collapsible-content { | ||
background: #1e1600 | background: #1e1600; | ||
color: #e8dfc0 | color: #e8dfc0; | ||
} | } | ||
html.skin-theme-clientpref-night .ib-dos2-character-test .tabber__panel table { | html.skin-theme-clientpref-night .ib-dos2-character-test .tabber__panel table { | ||
background-color: transparent | background-color: transparent; | ||
color: #e8dfc0 | color: #e8dfc0; | ||
} | } | ||
html.skin-theme-clientpref-night .ib-dos2-character-test .tabber__panel table th { | html.skin-theme-clientpref-night .ib-dos2-character-test .tabber__panel table th { | ||
color: #c0392b | color: #c0392b; | ||
} | } | ||
Revision as of 16:27, 19 March 2026
.infoboxtest {
float: right;
text-align: left;
background-color: #1e1600;
border-spacing: 5px;
border: 1px solid #8b1a1a;
margin: 0 0 1em 1em;
width: 350px;
}
.infoboxtest-image {
text-align: center;
background-color: transparent;
padding: 6px 0;
}
.infoboxtest-image img {
width: 250px;
height: auto;
display: block;
margin: 0 auto;
background-color: transparent;
}
.ib-dos2-character-test {
border-spacing: 2px 5px;
background-color: #1e1600;
}
.infoboxtest-label {
vertical-align: top;
color: #c0392b;
font-weight: bold;
}
.infoboxtest-data {
color: #e8dfc0;
background-color: transparent;
}
/* ID row: both label and data in red */
/*.ib-dos2-id .infoboxtest-label,*/
/*.ib-dos2-id .infoboxtest-data {*/
/* color: #c0392b;*/
/*}*/
.ib-dos2-character-test .infoboxtest-above {
text-align: center;
background: linear-gradient(180deg, #3d1a00 0%, #1e1600 100%);
color: #c0392b;
font-size: 1.1em;
font-weight: bold;
letter-spacing: 0.05em;
border-bottom: 1px solid #8b1a1a;
padding: 6px;
}
.ib-dos2-character-test .infoboxtest-header {
text-align: center;
background: linear-gradient(180deg, #3d1a00 0%, #2a1200 100%);
color: #c0392b;
border-top: 1px solid #8b1a1a;
border-bottom: 1px solid #8b1a1a;
letter-spacing: 0.05em;
padding: 4px;
}
/* Center the tabber tabs */
.ib-dos2-character-test .tabber__tabs {
display: flex;
justify-content: center;
}
.ib-dos2-character-test .tabber__tab {
color: #c0392b;
border-bottom: 2px solid transparent;
}
.ib-dos2-character-test .tabber__tab--active {
color: #e74c3c;
border-bottom: 2px solid #c0392b;
}
/* Ensure all table cells inside the infobox inherit the dark gold background */
.ib-dos2-character-test td,
.ib-dos2-character-test th,
.ib-dos2-character-test tr {
background-color: transparent;
}
/* Stats table inside tabber */
.ib-dos2-character-test .tabber__panel table {
color: #e8dfc0;
width: 100%;
background-color: transparent;
}
.ib-dos2-character-test .tabber__panel table th {
color: #c0392b;
text-align: left;
font-weight: normal;
padding: 2px 4px;
}
/* Caret — bracket hidden via font-size:0 on parent */
.ib-dos2-character-test .mw-collapsible-toggle {
font-size: 0;
}
/* Caret points DOWN when collapsed */
.ib-dos2-character-test .mw-collapsible-toggle::after {
content: "▼";
display: inline-block;
font-size: 14px;
transition: transform 0.2s ease;
transform: rotate(0deg);
}
/* Caret flips UP when expanded */
.ib-dos2-character-test .mw-collapsible:not(.mw-collapsed) .mw-collapsible-toggle::after {
transform: rotate(180deg);
}
.ib-dos2-character-test .mw-collapsible-toggle .mw-collapsible-text {
display: none;
}
.ib-dos2-character-test .dos2-technical-block {
border-top: 1px solid #8b1a1a;
border-bottom: 1px solid #8b1a1a;
background: linear-gradient(180deg, #3d1a00 0%, #2a1200 100%);
padding: 4px;
text-align: center;
cursor: pointer;
}
.ib-dos2-character-test .dos2-technical-header {
color: #c0392b;
letter-spacing: 0.05em;
display: inline;
}
.ib-dos2-character-test .dos2-technical-block .mw-collapsible-content {
background: #1e1600;
padding: 4px 8px;
text-align: left;
color: #e8dfc0;
}
@media screen {
html.skin-theme-clientpref-night .ib-dos2-character-test .infoboxtest-above,
html.skin-theme-clientpref-night .ib-dos2-character-test .infoboxtest-header {
background: linear-gradient(180deg, #3d1a00 0%, #2a1200 100%);
color: #c0392b;
}
}
@media screen and (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .ib-dos2-character-test .infoboxtest-above,
html.skin-theme-clientpref-os .ib-dos2-character-test .infoboxtest-header {
background: linear-gradient(180deg, #3d1a00 0%, #2a1200 100%);
color: #c0392b;
}
}
html.skin-theme-clientpref-night .infoboxtest {
background-color: #1e1600;
border-color: #8b1a1a;
}
html.skin-theme-clientpref-night .ib-dos2-character-test td,
html.skin-theme-clientpref-night .ib-dos2-character-test th,
html.skin-theme-clientpref-night .ib-dos2-character-test tr {
background-color: transparent;
color: #e8dfc0;
}
html.skin-theme-clientpref-night .infoboxtest-label {
color: #c0392b;
}
html.skin-theme-clientpref-night .infoboxtest-data {
color: #e8dfc0;
}
html.skin-theme-clientpref-night .ib-dos2-id .infoboxtest-label,
html.skin-theme-clientpref-night .ib-dos2-id .infoboxtest-data {
color: #c0392b;
}
html.skin-theme-clientpref-night .ib-dos2-character-test .infoboxtest-above {
background: linear-gradient(180deg, #3d1a00 0%, #1e1600 100%);
color: #c0392b;
}
html.skin-theme-clientpref-night .ib-dos2-character-test .infoboxtest-header {
background: linear-gradient(180deg, #3d1a00 0%, #2a1200 100%);
color: #c0392b;
}
html.skin-theme-clientpref-night .ib-dos2-character-test .dos2-technical-block {
background: linear-gradient(180deg, #3d1a00 0%, #2a1200 100%);
}
html.skin-theme-clientpref-night .ib-dos2-character-test .dos2-technical-block .mw-collapsible-content {
background: #1e1600;
color: #e8dfc0;
}
html.skin-theme-clientpref-night .ib-dos2-character-test .tabber__panel table {
background-color: transparent;
color: #e8dfc0;
}
html.skin-theme-clientpref-night .ib-dos2-character-test .tabber__panel table th {
color: #c0392b;
}