Template:Infobox dos2 character test/styles.css: Difference between revisions
Template page
More actions
No edit summary |
Minimoomoo (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
.infoboxtest{ | .infoboxtest { | ||
float:right; | float: right; | ||
text-align: left; | text-align: left; | ||
background-color: # | background-color: #0a0e1a; | ||
border-spacing: 5px; | border-spacing: 5px; | ||
border: 1px solid # | border: 1px solid #9a7a2e; | ||
margin: 0 0 1em 1em; | margin: 0 0 1em 1em; | ||
width:350px; | width: 350px; | ||
} | } | ||
.infoboxtest-image { | .infoboxtest-image { | ||
text-align:center; | text-align: center; | ||
object-fit: cover; | object-fit: cover; | ||
} | } | ||
| Line 20: | Line 20: | ||
.infoboxtest-label { | .infoboxtest-label { | ||
vertical-align: top; | vertical-align: top; | ||
color: #c8a84b; | |||
font-weight: bold; | |||
} | |||
.infoboxtest-data { | |||
color: #e8dfc0; | |||
} | |||
.ib-dos2-character-test .infoboxtest-above { | |||
text-align: center; | |||
background: linear-gradient(180deg, #1a1200 0%, #0a0e1a 100%); | |||
color: #c8a84b; | |||
font-size: 1.1em; | |||
font-weight: bold; | |||
letter-spacing: 0.05em; | |||
border-bottom: 1px solid #9a7a2e; | |||
padding: 6px; | |||
} | } | ||
.ib-dos2-character-test .infoboxtest-header { | .ib-dos2-character-test .infoboxtest-header { | ||
text-align:center; | text-align: center; | ||
background: # | background: linear-gradient(180deg, #1a1200 0%, #0d0a00 100%); | ||
color: #c8a84b; | |||
border-top: 1px solid #9a7a2e; | |||
border-bottom: 1px solid #9a7a2e; | |||
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: #c8a84b; | |||
border-bottom: 2px solid transparent; | |||
} | |||
.ib-dos2-character-test .tabber__tab--active { | |||
color: #f0d080; | |||
border-bottom: 2px solid #c8a84b; | |||
} | } | ||
| Line 31: | Line 68: | ||
.ib-dos2-character-test .infoboxtest-image img { | .ib-dos2-character-test .infoboxtest-image img { | ||
background-color: transparent; | 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: #c8a84b; | |||
text-align: left; | |||
font-weight: normal; | |||
padding: 2px 4px; | |||
} | } | ||
| Line 36: | Line 86: | ||
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: | background: linear-gradient(180deg, #1a1200 0%, #0d0a00 100%); | ||
color: | color: #c8a84b; | ||
} | } | ||
} | } | ||
| Line 44: | Line 94: | ||
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: | background: linear-gradient(180deg, #1a1200 0%, #0d0a00 100%); | ||
color: | color: #c8a84b; | ||
} | } | ||
} | } | ||
Revision as of 12:19, 18 March 2026
.infoboxtest {
float: right;
text-align: left;
background-color: #0a0e1a;
border-spacing: 5px;
border: 1px solid #9a7a2e;
margin: 0 0 1em 1em;
width: 350px;
}
.infoboxtest-image {
text-align: center;
object-fit: cover;
}
.ib-dos2-character-test {
border-spacing: 2px 5px;
}
.infoboxtest-label {
vertical-align: top;
color: #c8a84b;
font-weight: bold;
}
.infoboxtest-data {
color: #e8dfc0;
}
.ib-dos2-character-test .infoboxtest-above {
text-align: center;
background: linear-gradient(180deg, #1a1200 0%, #0a0e1a 100%);
color: #c8a84b;
font-size: 1.1em;
font-weight: bold;
letter-spacing: 0.05em;
border-bottom: 1px solid #9a7a2e;
padding: 6px;
}
.ib-dos2-character-test .infoboxtest-header {
text-align: center;
background: linear-gradient(180deg, #1a1200 0%, #0d0a00 100%);
color: #c8a84b;
border-top: 1px solid #9a7a2e;
border-bottom: 1px solid #9a7a2e;
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: #c8a84b;
border-bottom: 2px solid transparent;
}
.ib-dos2-character-test .tabber__tab--active {
color: #f0d080;
border-bottom: 2px solid #c8a84b;
}
/* 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: #c8a84b;
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, #1a1200 0%, #0d0a00 100%);
color: #c8a84b;
}
}
@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, #1a1200 0%, #0d0a00 100%);
color: #c8a84b;
}
}