Toggle menu
2.8K
1.9K
8
23.1K
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
Created page with ".infobox{ float:right; text-align: left; background-color: #001D3D; border-spacing: 5px; border: 1px solid #72777d; margin: 0 0 1em 1em; width:350px; } .infobox-image { text-align:center; object-fit: cover; } .ib-dos2-character-test { border-spacing: 2px 5px; } .infobox-label { vertical-align: top; } .ib-dos2-character-test .infobox-above, .ib-dos2-character-test .infobox-header { text-align:center; background: #000000; } /* light background for transp..."
 
No edit summary
Line 1: Line 1:
.infobox{
.infoboxtest{
float:right;
float:right;
text-align: left;  
text-align: left;  
Line 9: Line 9:
}
}


.infobox-image {
.infoboxtest-image {
text-align:center;
text-align:center;
object-fit: cover;
object-fit: cover;
Line 18: Line 18:
}
}


.infobox-label {
.infoboxtest-label {
vertical-align: top;
vertical-align: top;
}
}


.ib-dos2-character-test .infobox-above,
.ib-dos2-character-test .infoboxtest-above,
.ib-dos2-character-test .infobox-header {
.ib-dos2-character-test .infoboxtest-header {
text-align:center;
text-align:center;
background: #000000;
background: #000000;
Line 29: Line 29:


/* light background for transparent images */
/* light background for transparent images */
.ib-dos2-character-test .infobox-image img {
.ib-dos2-character-test .infoboxtest-image img {
background-color: transparent;
background-color: transparent;
}
}


@media screen {
@media screen {
html.skin-theme-clientpref-night .ib-dos2-character-test .infobox-above,
html.skin-theme-clientpref-night .ib-dos2-character-test .infoboxtest-above,
html.skin-theme-clientpref-night .ib-dos2-character-test .infobox-header {
html.skin-theme-clientpref-night .ib-dos2-character-test .infoboxtest-header {
background: hsl(240, 6%, 20%);
background: hsl(240, 6%, 20%);
color: inherit;
color: inherit;
Line 42: Line 42:


@media screen and (prefers-color-scheme: dark) {
@media screen and (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .ib-dos2-character-test .infobox-above,
html.skin-theme-clientpref-os .ib-dos2-character-test .infoboxtest-above,
html.skin-theme-clientpref-os .ib-dos2-character-test .infobox-header {
html.skin-theme-clientpref-os .ib-dos2-character-test .infoboxtest-header {
background: hsl(240, 6%, 20%);
background: hsl(240, 6%, 20%);
color: inherit;
color: inherit;
}
}
}
}

Revision as of 19:03, 17 March 2026

.infoboxtest{
	float:right;
	text-align: left; 
	background-color: #001D3D;
	border-spacing: 5px;
	border: 1px solid #72777d;
	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;
}

.ib-dos2-character-test .infoboxtest-above,
.ib-dos2-character-test .infoboxtest-header {
	text-align:center;
	background: #000000;
}

/* light background for transparent images */
.ib-dos2-character-test .infoboxtest-image img {
	background-color: transparent;
}

@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: hsl(240, 6%, 20%);
		color: inherit;
	}
}

@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: hsl(240, 6%, 20%);
		color: inherit;
	}
}