Difference between revisions of "Template:Clade gallery/styles.css"

From blackwiki
Jump to navigation Jump to search
imported>Jts1882
(create)
 
imported>Jts1882
(add div for gallery element)
Line 9: Line 9:
 
border:1px solid #a2a9b1;
 
border:1px solid #a2a9b1;
 
}
 
}
 
+
div.clade-gallery div.gallery-element {
 +
float:left;
 +
border:1px none;
 +
padding:10px;
 +
margin:1px;
 +
}
 
div.clade-gallery div.main-caption {
 
div.clade-gallery div.main-caption {
 
text-align:center;
 
text-align:center;

Revision as of 06:45, 19 August 2018

div.clade-gallery {
	/* out div container */
	display:inline-block;
	margin: 0 auto;
}
div.clade-gallery div {
	line-height:1.5em;
	padding:0.2em 0.4em; 
	border:1px solid #a2a9b1;
}
div.clade-gallery div.gallery-element {
	float:left;
	border:1px none;
	padding:10px;
	margin:1px;
}
div.clade-gallery div.main-caption {
	text-align:center;
	font-weight:bold;
	border:none;
	line-height:1.5em;
	padding:0.2em 0.4em;
}
div.clade-gallery div.caption {
	text-align:center;
	font-weight:bold;
	border:none;
}
div.clade-gallery div.header {
	text-align:center;
	font-weight:bold;
}
div.clade-gallery div.cladogram {
	padding:20px;
	margin:-1px 0; /* prevents to double border with cells above and below*/
}
div.clade-gallery div.footer {
}