Jump to content

Module:Vertical header/styles.css

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Stjn (talk | contribs) at 11:09, 28 April 2024 (TemplateStyles). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
@supports (writing-mode: vertical-rl) {
	.ts-vertical-header {
		line-height: 1;
		max-width: 1em;
		padding: 0.4em 0.2em;
		vertical-align: bottom;
		width: 1em;
	}
	
	html.client-js .sortable:not(.jquery-tablesorter) .ts-vertical-header:not(.unsortable),
	html.client-js .ts-vertical-header.headerSort {
		background-position: 50% .4em;
		padding-right: 0.2em;
		padding-top: 21px;
	}
	
	.ts-vertical-header.is-valign-top {
		vertical-align: top;
	}
	
	.ts-vertical-header.is-valign-middle {
		vertical-align: middle;
	}
	
	.ts-vertical-header.is-normal {
		font-weight: normal;
	}
	
	/* Текст заголовка */
	.ts-vertical-header > * {
		display: inline-block;
		transform: rotate(180deg);
		writing-mode: vertical-rl;
	}
}