Шаблон:Стили порталов/styles.css
Перейти к навигации
Перейти к поиску
/* For portals, added 2011-12-07 -bv
On wide screens, show these as two columns
On narrow and mobile screens, let them collapse into a single column */
.ts-portal-column-left {
float: left;
width: 50%;
}
.ts-portal-column-right {
float: right;
width: 49%;
}
.ts-portal-column-left-wide {
float: left;
width: 60%;
}
.ts-portal-column-right-narrow {
float: right;
width: 39%;
}
.ts-portal-column-left-extra-wide {
float: left;
width: 70%;
}
.ts-portal-column-right-extra-narrow {
float: right;
width: 29%;
}
@media only screen and (max-width: 800px) {
/* Decouple the columns on narrow screens */
.ts-portal-column-left,
.ts-portal-column-right,
.ts-portal-column-left-wide,
.ts-portal-column-right-narrow,
.ts-portal-column-left-extra-wide,
.ts-portal-column-right-extra-narrow {
float: inherit;
width: inherit;
}
}
/* [[Категория:Шаблоны:Подстраницы CSS]] */