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

Z Solvertech
Skočit na navigaci Skočit na vyhledávání
značka: ruční vrácení zpět
 
(Není zobrazena jedna mezilehlá verze od stejného uživatele.)
Řá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: 100%;
flex: 66%;
}
}
.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: 100%;
flex: 33%;
}
}


.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: 0%;
flex: 33%;
}
}
.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: 0%;
flex: 66%;
}
}

Aktuální verze z 3. 8. 2022, 08:45

.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: 66%;
}
.ac-layout-section.two_right_sidebar .ac-layout-cell:nth-child(2) {
	flex: 33%;
}

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