Template:Image key/styles.css

From PsiForum
< Template:Image key
Revision as of 17:12, 2 February 2022 by Tachyony (talk | contribs) (Created page with "→‎we add .thumb so that there is a lesser chance of these styles being used for nefarious general purposes :) if/when necessary to support some other kind of figures, can be added then: .thumb .image-key { column-count: 2; } .thumb .image-key-wide { column-count: 3; } .thumb .image-key-narrow { column-count: 1; } .thumb .image-key > ol { margin-left: 1.3em; margin-top: 0; } .thumb .image-key > ul { margin-top: 0; } .thumb .image-key li { page-break-i...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
/* we add .thumb so that there is a lesser chance of these styles being used
   for nefarious general purposes :)
   if/when necessary to support some other kind of figures, can be added then
*/
.thumb .image-key {
	column-count: 2;
}

.thumb .image-key-wide {
	column-count: 3;
}

.thumb .image-key-narrow {
	column-count: 1;
}

.thumb .image-key > ol {
	margin-left: 1.3em;
	margin-top: 0;
}

.thumb .image-key > ul {
	margin-top: 0;
}

.thumb .image-key li {
	page-break-inside: avoid;
	break-inside: avoid-column;
}