Difference between revisions of "Template:Infobox/styles.css"

From Appropedia
Jump to navigation Jump to search
Line 10: Line 10:
 
}
 
}
 
.infobox-above {
 
.infobox-above {
 +
margin: .5em;
 
text-align: center;
 
text-align: center;
 
}
 
}
 
.infobox-title {
 
.infobox-title {
 +
font-size: large;
 +
margin: .5em;
 
text-align: center;
 
text-align: center;
font-size: large;
 
 
}
 
}
 
.infobox-image {
 
.infobox-image {
Line 20: Line 22:
 
}
 
}
 
.infobox-caption {
 
.infobox-caption {
 +
font-size: small;
 
text-align: center;
 
text-align: center;
font-size: small;
 
 
}
 
}
 
.infobox-data {
 
.infobox-data {
Line 40: Line 42:
 
background: #cef2ce;
 
background: #cef2ce;
 
cursor: pointer;
 
cursor: pointer;
 +
text-align: center;
 
}
 
}
 
.infobox-header:hover {
 
.infobox-header:hover {
 
text-decoration: underline;
 
text-decoration: underline;
 
}
 
}

Revision as of 13:07, 21 October 2020

.infobox {
	background: #f9f9f9;
	border: 1px solid #aaa;
	float: right;
	margin: 0 0 .5em .5em;
	width: 304px;
}
.infobox-edit {
	float: right;
}
.infobox-above {
	margin: .5em;
	text-align: center;
}
.infobox-title {
	font-size: large;
	margin: .5em;
	text-align: center;
}
.infobox-image {
	text-align: center;
}
.infobox-caption {
	font-size: small;
	text-align: center;
}
.infobox-data {
	border-collapse: separate;
	border-spacing: .5em;
}
.infobox td,
.infobox th {
	vertical-align: top;
}
.infobox-data th {
	text-align: left;
}
.infobox-data td[colspan="2"] {
	text-align: center;
}
.infobox-header {
	background: #cef2ce;
	cursor: pointer;
	text-align: center;
}
.infobox-header:hover {
	text-decoration: underline;
}