Šablona:Layout.css: Porovnání verzí

Z Solvertech
Skočit na navigaci Skočit na vyhledávání
Řádek 22: Řádek 22:


.ac-layout-section.two_right_sidebar .ac-layout-cell:nth-child(1) {
.ac-layout-section.two_right_sidebar .ac-layout-cell:nth-child(1) {
flex: 80%;
flex: 100%;
}
}
.ac-layout-section.two_right_sidebar .ac-layout-cell:nth-child(2) {
.ac-layout-section.two_right_sidebar .ac-layout-cell:nth-child(2) {
flex: 20%;
flex: 100%;
}
}


.ac-layout-section.two_left_sidebar .ac-layout-cell:nth-child(1) {
.ac-layout-section.two_left_sidebar .ac-layout-cell:nth-child(1) {
flex: 20%;
flex: 0%;
}
}
.ac-layout-section.two_left_sidebar .ac-layout-cell:nth-child(2) {
.ac-layout-section.two_left_sidebar .ac-layout-cell:nth-child(2) {
flex: 80%;
flex: 0%;
}
}

Verze z 3. 8. 2022, 08:44

.ac-layout-section {
	display: flex;
}

.ac-layout-section.three_equal .ac-layout-cell {
	flex: 33%;
}

.ac-layout-section.two_equal .ac-layout-cell {
	flex: 50%;
}

.ac-layout-section.three_with_sidebars .ac-layout-cell:nth-child(1) {
	flex: 25%;
}
.ac-layout-section.three_with_sidebars .ac-layout-cell:nth-child(2) {
	flex: 50%;
}
.ac-layout-section.three_with_sidebars .ac-layout-cell:nth-child(3) {
	flex: 25%;
}

.ac-layout-section.two_right_sidebar .ac-layout-cell:nth-child(1) {
	flex: 100%;
}
.ac-layout-section.two_right_sidebar .ac-layout-cell:nth-child(2) {
	flex: 100%;
}

.ac-layout-section.two_left_sidebar .ac-layout-cell:nth-child(1) {
	flex: 0%;
}
.ac-layout-section.two_left_sidebar .ac-layout-cell:nth-child(2) {
	flex: 0%;
}