Toggle menu
2.9K
1.9K
8
23.2K
Divinity Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox dos2 character test/styles.css: Difference between revisions

Template page
No edit summary
Tag: Manual revert
No edit summary
Tag: Reverted
Line 3: Line 3:
text-align: left;
text-align: left;
background-color: #0a0e1a;
background-color: #0a0e1a;
border-spacing: 5px;
border-spacing: 0;
border: 1px solid #8b1a1a;
border: 1px solid #8b1a1a;
box-sizing: border-box;
margin: 0 0 1em 1em;
margin: 0 0 1em 1em;
width: 350px;
width: 350px;
overflow: hidden;
}
}
.infoboxtest-image {
.infoboxtest-image {
text-align: center;
text-align: center;
object-fit: cover;
padding: 0;
margin: 0;
}
}
.infoboxtest-image img {
.infoboxtest-image img {
width: 250px;
width: 250px;
height: auto;
height: auto;
display: block;
margin: 0 auto;
}
}
.ib-dos2-character-test {
.ib-dos2-character-test {
border-spacing: 2px 5px;
border-spacing: 0;
width: 100%;
}
}
.infoboxtest-label {
.infoboxtest-label {
vertical-align: top;
vertical-align: middle;
color: #c0392b;
color: #c0392b;
font-weight: bold;
font-weight: bold;
padding: 4px 8px;
width: 40%;
border-top: 1px solid rgba(139, 26, 26, 0.2);
}
}
.infoboxtest-data {
.infoboxtest-data {
color: #e8dfc0;
color: #e8dfc0;
padding: 4px 8px;
vertical-align: middle;
border-top: 1px solid rgba(139, 26, 26, 0.2);
}
/* Alternating row shading */
.ib-dos2-character-test tr:nth-child(even) .infoboxtest-label,
.ib-dos2-character-test tr:nth-child(even) .infoboxtest-data {
background-color: rgba(139, 26, 26, 0.08);
}
}
.ib-dos2-character-test .infoboxtest-above {
.ib-dos2-character-test .infoboxtest-above {
text-align: center;
text-align: center;
Line 40: Line 51:
font-weight: bold;
font-weight: bold;
letter-spacing: 0.05em;
letter-spacing: 0.05em;
border-bottom: 1px solid #8b1a1a;
border-bottom: 2px solid #8b1a1a;
padding: 6px;
padding: 8px 6px;
}
}
.ib-dos2-character-test .infoboxtest-header {
.ib-dos2-character-test .infoboxtest-header {
text-align: center;
text-align: center;
Line 50: Line 60:
border-top: 1px solid #8b1a1a;
border-top: 1px solid #8b1a1a;
border-bottom: 1px solid #8b1a1a;
border-bottom: 1px solid #8b1a1a;
letter-spacing: 0.05em;
letter-spacing: 0.08em;
padding: 4px;
text-transform: uppercase;
font-size: 0.85em;
padding: 5px;
}
}
/* Center the tabber tabs */
/* Center the tabber tabs */
.ib-dos2-character-test .tabber__tabs {
.ib-dos2-character-test .tabber__tabs {
display: flex;
display: flex;
justify-content: center;
justify-content: center;
background-color: #0f0505;
border-bottom: 2px solid #8b1a1a;
padding: 0;
margin: 0;
}
}
.ib-dos2-character-test .tabber__tab {
.ib-dos2-character-test .tabber__tab {
color: #c0392b;
color: #e8dfc0;
border-bottom: 2px solid transparent;
border-bottom: 2px solid transparent;
padding: 6px 14px;
font-size: 0.9em;
margin-bottom: -2px;
}
}
.ib-dos2-character-test .tabber__tab--active {
.ib-dos2-character-test .tabber__tab--active {
color: #e74c3c;
color: #e74c3c;
border-bottom: 2px solid #c0392b;
border-bottom: 2px solid #c0392b;
background-color: rgba(139, 26, 26, 0.15);
}
.ib-dos2-character-test .tabber__tab:hover {
color: #e74c3c;
background-color: rgba(139, 26, 26, 0.1);
}
}
/* light background for transparent images */
/* light background for transparent images */
.ib-dos2-character-test .infoboxtest-image img {
.ib-dos2-character-test .infoboxtest-image img {
background-color: transparent;
background-color: transparent;
}
}
/* Stats table inside tabber */
/* Stats table inside tabber */
.ib-dos2-character-test .tabber__panel {
padding: 4px 0;
}
.ib-dos2-character-test .tabber__panel table {
.ib-dos2-character-test .tabber__panel table {
color: #e8dfc0;
color: #e8dfc0;
width: 100%;
width: 100%;
border-spacing: 0;
}
}
.ib-dos2-character-test .tabber__panel table th {
.ib-dos2-character-test .tabber__panel table th {
color: #c0392b;
color: #c0392b;
text-align: left;
text-align: left;
font-weight: normal;
font-weight: bold;
padding: 2px 4px;
padding: 3px 8px;
width: 60%;
border-top: 1px solid rgba(139, 26, 26, 0.2);
}
.ib-dos2-character-test .tabber__panel table td {
text-align: right;
padding: 3px 8px;
color: #e8dfc0;
border-top: 1px solid rgba(139, 26, 26, 0.2);
}
/* Row dividers inside stat tables */
.ib-dos2-character-test .tabber__panel table tr {
border-bottom: 1px solid rgba(139, 26, 26, 0.2);
}
}
@media screen {
@media screen {
html.skin-theme-clientpref-night .ib-dos2-character-test .infoboxtest-above,
html.skin-theme-clientpref-night .ib-dos2-character-test .infoboxtest-above,
Line 95: Line 128:
}
}
}
}
@media screen and (prefers-color-scheme: dark) {
@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-above,

Revision as of 12:35, 18 March 2026

.infoboxtest {
	float: right;
	text-align: left;
	background-color: #0a0e1a;
	border-spacing: 0;
	border: 1px solid #8b1a1a;
	box-sizing: border-box;
	margin: 0 0 1em 1em;
	width: 350px;
	overflow: hidden;
}
.infoboxtest-image {
	text-align: center;
	padding: 0;
	margin: 0;
}
.infoboxtest-image img {
	width: 250px;
	height: auto;
	display: block;
	margin: 0 auto;
}
.ib-dos2-character-test {
	border-spacing: 0;
	width: 100%;
}
.infoboxtest-label {
	vertical-align: middle;
	color: #c0392b;
	font-weight: bold;
	padding: 4px 8px;
	width: 40%;
	border-top: 1px solid rgba(139, 26, 26, 0.2);
}
.infoboxtest-data {
	color: #e8dfc0;
	padding: 4px 8px;
	vertical-align: middle;
	border-top: 1px solid rgba(139, 26, 26, 0.2);
}
/* Alternating row shading */
.ib-dos2-character-test tr:nth-child(even) .infoboxtest-label,
.ib-dos2-character-test tr:nth-child(even) .infoboxtest-data {
	background-color: rgba(139, 26, 26, 0.08);
}
.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: 2px solid #8b1a1a;
	padding: 8px 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.08em;
	text-transform: uppercase;
	font-size: 0.85em;
	padding: 5px;
}
/* Center the tabber tabs */
.ib-dos2-character-test .tabber__tabs {
	display: flex;
	justify-content: center;
	background-color: #0f0505;
	border-bottom: 2px solid #8b1a1a;
	padding: 0;
	margin: 0;
}
.ib-dos2-character-test .tabber__tab {
	color: #e8dfc0;
	border-bottom: 2px solid transparent;
	padding: 6px 14px;
	font-size: 0.9em;
	margin-bottom: -2px;
}
.ib-dos2-character-test .tabber__tab--active {
	color: #e74c3c;
	border-bottom: 2px solid #c0392b;
	background-color: rgba(139, 26, 26, 0.15);
}
.ib-dos2-character-test .tabber__tab:hover {
	color: #e74c3c;
	background-color: rgba(139, 26, 26, 0.1);
}
/* 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 {
	padding: 4px 0;
}
.ib-dos2-character-test .tabber__panel table {
	color: #e8dfc0;
	width: 100%;
	border-spacing: 0;
}
.ib-dos2-character-test .tabber__panel table th {
	color: #c0392b;
	text-align: left;
	font-weight: bold;
	padding: 3px 8px;
	width: 60%;
	border-top: 1px solid rgba(139, 26, 26, 0.2);
}
.ib-dos2-character-test .tabber__panel table td {
	text-align: right;
	padding: 3px 8px;
	color: #e8dfc0;
	border-top: 1px solid rgba(139, 26, 26, 0.2);
}
/* Row dividers inside stat tables */
.ib-dos2-character-test .tabber__panel table tr {
	border-bottom: 1px solid rgba(139, 26, 26, 0.2);
}
@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;
	}
}