Šablona:Layout.css: Porovnání verzí
Skočit na navigaci
Skočit na vyhledávání
imported>Unknown user |
|||
| Řá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: | flex: 80%; | ||
} | } | ||
.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: | flex: 20%; | ||
} | } | ||
.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: | flex: 20%; | ||
} | } | ||
.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: | flex: 80%; | ||
} | } | ||
Verze z 3. 8. 2022, 08:42
.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: 80%;
}
.ac-layout-section.two_right_sidebar .ac-layout-cell:nth-child(2) {
flex: 20%;
}
.ac-layout-section.two_left_sidebar .ac-layout-cell:nth-child(1) {
flex: 20%;
}
.ac-layout-section.two_left_sidebar .ac-layout-cell:nth-child(2) {
flex: 80%;
}