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 4: | Line 4: | ||
background-color: #0a0e1a; | background-color: #0a0e1a; | ||
border-spacing: 5px; | border-spacing: 5px; | ||
border: 1px solid # | border: 1px solid #8b1a1a; | ||
margin: 0 0 1em 1em; | margin: 0 0 1em 1em; | ||
width: 350px; | width: 350px; | ||
| Line 12: | Line 12: | ||
text-align: center; | text-align: center; | ||
object-fit: cover; | object-fit: cover; | ||
} | |||
.infoboxtest-image img { | |||
width: 250px; | |||
height: auto; | |||
} | } | ||
| Line 20: | Line 25: | ||
.infoboxtest-label { | .infoboxtest-label { | ||
vertical-align: top; | vertical-align: top; | ||
color: # | color: #c0392b; | ||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
| Line 30: | Line 35: | ||
.ib-dos2-character-test .infoboxtest-above { | .ib-dos2-character-test .infoboxtest-above { | ||
text-align: center; | text-align: center; | ||
background: linear-gradient(180deg, # | background: linear-gradient(180deg, #2a0a0a 0%, #0a0e1a 100%); | ||
color: # | color: #c0392b; | ||
font-size: 1.1em; | font-size: 1.1em; | ||
font-weight: bold; | font-weight: bold; | ||
letter-spacing: 0.05em; | letter-spacing: 0.05em; | ||
border-bottom: 1px solid # | border-bottom: 1px solid #8b1a1a; | ||
padding: 6px; | padding: 6px; | ||
} | } | ||
| Line 41: | Line 46: | ||
.ib-dos2-character-test .infoboxtest-header { | .ib-dos2-character-test .infoboxtest-header { | ||
text-align: center; | text-align: center; | ||
background: linear-gradient(180deg, # | background: linear-gradient(180deg, #2a0a0a 0%, #1a0505 100%); | ||
color: # | color: #c0392b; | ||
border-top: 1px solid # | border-top: 1px solid #8b1a1a; | ||
border-bottom: 1px solid # | border-bottom: 1px solid #8b1a1a; | ||
letter-spacing: 0.05em; | letter-spacing: 0.05em; | ||
padding: 4px; | padding: 4px; | ||
| Line 56: | Line 61: | ||
.ib-dos2-character-test .tabber__tab { | .ib-dos2-character-test .tabber__tab { | ||
color: # | color: #c0392b; | ||
border-bottom: 2px solid transparent; | border-bottom: 2px solid transparent; | ||
} | } | ||
.ib-dos2-character-test .tabber__tab--active { | .ib-dos2-character-test .tabber__tab--active { | ||
color: # | color: #e74c3c; | ||
border-bottom: 2px solid # | border-bottom: 2px solid #c0392b; | ||
} | } | ||
| Line 77: | Line 82: | ||
.ib-dos2-character-test .tabber__panel table th { | .ib-dos2-character-test .tabber__panel table th { | ||
color: # | color: #c0392b; | ||
text-align: left; | text-align: left; | ||
font-weight: normal; | font-weight: normal; | ||
| Line 86: | Line 91: | ||
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, # | background: linear-gradient(180deg, #2a0a0a 0%, #1a0505 100%); | ||
color: # | color: #c0392b; | ||
} | } | ||
} | } | ||
| Line 94: | Line 99: | ||
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, # | background: linear-gradient(180deg, #2a0a0a 0%, #1a0505 100%); | ||
color: # | color: #c0392b; | ||
} | } | ||
} | } | ||
Revision as of 12:25, 18 March 2026
.infoboxtest {
float: right;
text-align: left;
background-color: #0a0e1a;
border-spacing: 5px;
border: 1px solid #8b1a1a;
margin: 0 0 1em 1em;
width: 350px;
}
.infoboxtest-image {
text-align: center;
object-fit: cover;
}
.infoboxtest-image img {
width: 250px;
height: auto;
}
.ib-dos2-character-test {
border-spacing: 2px 5px;
}
.infoboxtest-label {
vertical-align: top;
color: #c0392b;
font-weight: bold;
}
.infoboxtest-data {
color: #e8dfc0;
}
.ib-dos2-character-test .infoboxtest-above {
text-align: center;
background: linear-gradient(180deg, #2a0a0a 0%, #0a0e1a 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, #2a0a0a 0%, #1a0505 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;
}
/* light background for transparent images */
.ib-dos2-character-test .infoboxtest-image img {
background-color: transparent;
}
/* Stats table inside tabber */
.ib-dos2-character-test .tabber__panel table {
color: #e8dfc0;
width: 100%;
}
.ib-dos2-character-test .tabber__panel table th {
color: #c0392b;
text-align: left;
font-weight: normal;
padding: 2px 4px;
}
@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, #2a0a0a 0%, #1a0505 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, #2a0a0a 0%, #1a0505 100%);
color: #c0392b;
}
}