תבנית:עיצוב עמודות/styles.css

מתוך חב"דפדיה, אנציקלופדיה חב"דית חופשית
קפיצה לניווט קפיצה לחיפוש
.ctd-left-1 > tbody > tr > td:nth-child(1),
.ctd-left-2 > tbody > tr > td:nth-child(2),
.ctd-left-3 > tbody > tr > td:nth-child(3),
.ctd-left-4 > tbody > tr > td:nth-child(4),
.ctd-left-5 > tbody > tr > td:nth-child(5),
.ctd-left-6 > tbody > tr > td:nth-child(6),
.ctd-left-7 > tbody > tr > td:nth-child(7),
.ctd-left-8 > tbody > tr > td:nth-child(8),
.ctd-left-9 > tbody > tr > td:nth-child(9),
.ctd-left-10 > tbody > tr > td:nth-child(10),
.ctd-left-11 > tbody > tr > td:nth-child(11),
.ctd-left-12 > tbody > tr > td:nth-child(12),
.ctd-left-13 > tbody > tr > td:nth-child(13),
.ctd-left-14 > tbody > tr > td:nth-child(14),
.ctd-left-15 > tbody > tr > td:nth-child(15),
.ctd-left-16 > tbody > tr > td:nth-child(16),
.ctd-left-17 > tbody > tr > td:nth-child(17),
.ctd-left-18 > tbody > tr > td:nth-child(18),
.ctd-left-19 > tbody > tr > td:nth-child(19),
.ctd-left-20 > tbody > tr > td:nth-child(20),
.ctd-left--1 > tbody > tr > td:nth-last-child(1),
.ctd-left--2 > tbody > tr > td:nth-last-child(2),
.ctd-left--3 > tbody > tr > td:nth-last-child(3),
.ctd-left--4 > tbody > tr > td:nth-last-child(4),
.ctd-left--5 > tbody > tr > td:nth-last-child(5),
.ctd-left--6 > tbody > tr > td:nth-last-child(6),
.ctd-left--7 > tbody > tr > td:nth-last-child(7),
.ctd-left--8 > tbody > tr > td:nth-last-child(8),
.ctd-left--9 > tbody > tr > td:nth-last-child(9),
.ctd-left--10 > tbody > tr > td:nth-last-child(10) {
	text-align: left;
	direction: ltr;
}

.ctd-center-1 > tbody > tr > td:nth-child(1),
.ctd-center-2 > tbody > tr > td:nth-child(2),
.ctd-center-3 > tbody > tr > td:nth-child(3),
.ctd-center-4 > tbody > tr > td:nth-child(4),
.ctd-center-5 > tbody > tr > td:nth-child(5),
.ctd-center-6 > tbody > tr > td:nth-child(6),
.ctd-center-7 > tbody > tr > td:nth-child(7),
.ctd-center-8 > tbody > tr > td:nth-child(8),
.ctd-center-9 > tbody > tr > td:nth-child(9),
.ctd-center-10 > tbody > tr > td:nth-child(10),
.ctd-center-11 > tbody > tr > td:nth-child(11),
.ctd-center-12 > tbody > tr > td:nth-child(12),
.ctd-center-13 > tbody > tr > td:nth-child(13),
.ctd-center-14 > tbody > tr > td:nth-child(14),
.ctd-center-15 > tbody > tr > td:nth-child(15),
.ctd-center-16 > tbody > tr > td:nth-child(16),
.ctd-center-17 > tbody > tr > td:nth-child(17),
.ctd-center-18 > tbody > tr > td:nth-child(18),
.ctd-center-19 > tbody > tr > td:nth-child(19),
.ctd-center-20 > tbody > tr > td:nth-child(20),
.ctd-center--1 > tbody > tr > td:nth-last-child(1),
.ctd-center--2 > tbody > tr > td:nth-last-child(2),
.ctd-center--3 > tbody > tr > td:nth-last-child(3),
.ctd-center--4 > tbody > tr > td:nth-last-child(4),
.ctd-center--5 > tbody > tr > td:nth-last-child(5),
.ctd-center--6 > tbody > tr > td:nth-last-child(6),
.ctd-center--7 > tbody > tr > td:nth-last-child(7),
.ctd-center--8 > tbody > tr > td:nth-last-child(8),
.ctd-center--9 > tbody > tr > td:nth-last-child(9),
.ctd-center--10 > tbody > tr > td:nth-last-child(10) {
	text-align: center;
}

.ctd-center-ltr-1 > tbody > tr > td:nth-child(1),
.ctd-center-ltr-2 > tbody > tr > td:nth-child(2),
.ctd-center-ltr-3 > tbody > tr > td:nth-child(3),
.ctd-center-ltr-4 > tbody > tr > td:nth-child(4),
.ctd-center-ltr-5 > tbody > tr > td:nth-child(5),
.ctd-center-ltr-6 > tbody > tr > td:nth-child(6),
.ctd-center-ltr-7 > tbody > tr > td:nth-child(7),
.ctd-center-ltr-8 > tbody > tr > td:nth-child(8),
.ctd-center-ltr-9 > tbody > tr > td:nth-child(9),
.ctd-center-ltr-10 > tbody > tr > td:nth-child(10),
.ctd-center-ltr-11 > tbody > tr > td:nth-child(11),
.ctd-center-ltr-12 > tbody > tr > td:nth-child(12),
.ctd-center-ltr-13 > tbody > tr > td:nth-child(13),
.ctd-center-ltr-14 > tbody > tr > td:nth-child(14),
.ctd-center-ltr-15 > tbody > tr > td:nth-child(15),
.ctd-center-ltr-16 > tbody > tr > td:nth-child(16),
.ctd-center-ltr-17 > tbody > tr > td:nth-child(17),
.ctd-center-ltr-18 > tbody > tr > td:nth-child(18),
.ctd-center-ltr-19 > tbody > tr > td:nth-child(19),
.ctd-center-ltr-20 > tbody > tr > td:nth-child(20),
.ctd-center-ltr--1 > tbody > tr > td:nth-last-child(1),
.ctd-center-ltr--2 > tbody > tr > td:nth-last-child(2),
.ctd-center-ltr--3 > tbody > tr > td:nth-last-child(3),
.ctd-center-ltr--4 > tbody > tr > td:nth-last-child(4),
.ctd-center-ltr--5 > tbody > tr > td:nth-last-child(5),
.ctd-center-ltr--6 > tbody > tr > td:nth-last-child(6),
.ctd-center-ltr--7 > tbody > tr > td:nth-last-child(7),
.ctd-center-ltr--8 > tbody > tr > td:nth-last-child(8),
.ctd-center-ltr--9 > tbody > tr > td:nth-last-child(9),
.ctd-center-ltr--10 > tbody > tr > td:nth-last-child(10) {
	text-align: center;
	direction: ltr;
}

.ctd-nowrap-1 > tbody > tr > td:nth-child(1),
.ctd-nowrap-2 > tbody > tr > td:nth-child(2),
.ctd-nowrap-3 > tbody > tr > td:nth-child(3),
.ctd-nowrap-4 > tbody > tr > td:nth-child(4),
.ctd-nowrap-5 > tbody > tr > td:nth-child(5),
.ctd-nowrap-6 > tbody > tr > td:nth-child(6),
.ctd-nowrap-7 > tbody > tr > td:nth-child(7),
.ctd-nowrap-8 > tbody > tr > td:nth-child(8),
.ctd-nowrap-9 > tbody > tr > td:nth-child(9),
.ctd-nowrap-10 > tbody > tr > td:nth-child(10),
.ctd-nowrap-11 > tbody > tr > td:nth-child(11),
.ctd-nowrap-12 > tbody > tr > td:nth-child(12),
.ctd-nowrap-13 > tbody > tr > td:nth-child(13),
.ctd-nowrap-14 > tbody > tr > td:nth-child(14),
.ctd-nowrap-15 > tbody > tr > td:nth-child(15),
.ctd-nowrap-16 > tbody > tr > td:nth-child(16),
.ctd-nowrap-17 > tbody > tr > td:nth-child(17),
.ctd-nowrap-18 > tbody > tr > td:nth-child(18),
.ctd-nowrap-19 > tbody > tr > td:nth-child(19),
.ctd-nowrap-20 > tbody > tr > td:nth-child(20),
.ctd-nowrap--1 > tbody > tr > td:nth-last-child(1),
.ctd-nowrap--2 > tbody > tr > td:nth-last-child(2),
.ctd-nowrap--3 > tbody > tr > td:nth-last-child(3),
.ctd-nowrap--4 > tbody > tr > td:nth-last-child(4),
.ctd-nowrap--5 > tbody > tr > td:nth-last-child(5),
.ctd-nowrap--6 > tbody > tr > td:nth-last-child(6),
.ctd-nowrap--7 > tbody > tr > td:nth-last-child(7),
.ctd-nowrap--8 > tbody > tr > td:nth-last-child(8),
.ctd-nowrap--9 > tbody > tr > td:nth-last-child(9),
.ctd-nowrap--10 > tbody > tr > td:nth-last-child(10) {
	white-space: nowrap;
}

.ctd-bold-1 > tbody > tr > td:nth-child(1),
.ctd-bold-2 > tbody > tr > td:nth-child(2),
.ctd-bold-3 > tbody > tr > td:nth-child(3),
.ctd-bold-4 > tbody > tr > td:nth-child(4),
.ctd-bold-5 > tbody > tr > td:nth-child(5),
.ctd-bold-6 > tbody > tr > td:nth-child(6),
.ctd-bold-7 > tbody > tr > td:nth-child(7),
.ctd-bold-8 > tbody > tr > td:nth-child(8),
.ctd-bold-9 > tbody > tr > td:nth-child(9),
.ctd-bold-10 > tbody > tr > td:nth-child(10),
.ctd-bold-11 > tbody > tr > td:nth-child(11),
.ctd-bold-12 > tbody > tr > td:nth-child(12),
.ctd-bold-13 > tbody > tr > td:nth-child(13),
.ctd-bold-14 > tbody > tr > td:nth-child(14),
.ctd-bold-15 > tbody > tr > td:nth-child(15),
.ctd-bold-16 > tbody > tr > td:nth-child(16),
.ctd-bold-17 > tbody > tr > td:nth-child(17),
.ctd-bold-18 > tbody > tr > td:nth-child(18),
.ctd-bold-19 > tbody > tr > td:nth-child(19),
.ctd-bold-20 > tbody > tr > td:nth-child(20),
.ctd-bold--1 > tbody > tr > td:nth-last-child(1),
.ctd-bold--2 > tbody > tr > td:nth-last-child(2),
.ctd-bold--3 > tbody > tr > td:nth-last-child(3),
.ctd-bold--4 > tbody > tr > td:nth-last-child(4),
.ctd-bold--5 > tbody > tr > td:nth-last-child(5),
.ctd-bold--6 > tbody > tr > td:nth-last-child(6),
.ctd-bold--7 > tbody > tr > td:nth-last-child(7),
.ctd-bold--8 > tbody > tr > td:nth-last-child(8),
.ctd-bold--9 > tbody > tr > td:nth-last-child(9),
.ctd-bold--10 > tbody > tr > td:nth-last-child(10) {
	font-weight: bold;
}

.ctd-oddgrey tr:nth-child(odd) {background: #efefef;}

.ctd-hover tr:hover {background-color: #ffff99;}

.ctd-stickytableheader tr:first-child th {
	position: relative;
	position: sticky;
	top: 0;
	z-index: 1;
}

.ctd-stickytableheader tr:first-child th:after {
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: -1;
	top: -1px;
	left: -1px;
	border: 1px solid #a2a9b1;
	content: '';
}

/* Modern Vector */

@media (min-width: 721px) {
	html.vector-sticky-header-enabled .ctd-stickytableheader tr:first-child th {
		top: 51px;
		transition: top 250ms linear;
	}
	
	html.vector-sticky-header-enabled body.uls-dialog-sticky-hide .ctd-stickytableheader tr:first-child th {
		top: 0;
	}
}

/* [[קטגוריה: דפי סגנון של תבניות|*]] */