Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
84 lines (76 sloc) 2.13 KB
.articles-container{
-webkit-column-gap: 10px;
-moz-column-gap: 10px;
column-gap: 10px;
@media (min-width: @screen-xs-min) and (max-width: @screen-xs-max) {
-webkit-column-count: 1;
-moz-column-count: 1;
column-count: 1;
}
@media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {
-webkit-column-count: 1;
-moz-column-count: 1;
column-count: 1;
}
@media (min-width: @screen-md-min) and (max-width: @screen-md-max) {
-webkit-column-count: 1;
-moz-column-count: 1;
column-count: 1;
}
@media (min-width: @screen-lg-min) and (max-width: @screen-lg-max) {
-webkit-column-count: 2;
-moz-column-count: 2;
column-count: 2;
}
@media (min-width: @screen-xl-min) {
-webkit-column-count: 3;
-moz-column-count: 3;
column-count: 3;
}
}
.article-item{
-webkit-column-break-inside: avoid;
-moz-column-break-inside: avoid;
column-break-inside: avoid;
// fixing firefox bug https://bugzilla.mozilla.org/show_bug.cgi?id=549114
page-break-inside: avoid;
break-inside: avoid-column;
}
.sidebar-container{
-webkit-column-gap: 10px;
-moz-column-gap: 10px;
column-gap: 10px;
@media (min-width: @screen-xs-min) and (max-width: @screen-xs-max) {
-webkit-column-count: 1;
-moz-column-count: 1;
column-count: 1;
}
@media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {
-webkit-column-count: 2;
-moz-column-count: 2;
column-count: 2;
}
@media (min-width: @screen-md-min) and (max-width: @screen-md-max) {
-webkit-column-count: 1;
-moz-column-count: 1;
column-count: 1;
}
@media (min-width: @screen-lg-min) and (max-width: @screen-lg-max) {
-webkit-column-count: 1;
-moz-column-count: 1;
column-count: 1;
}
@media (min-width: @screen-xl-min) {
-webkit-column-count: 1;
-moz-column-count: 1;
column-count: 1;
}
}
.sidebar-item{
-webkit-column-break-inside: avoid;
-moz-column-break-inside: avoid;
column-break-inside: avoid;
// fixing firefox bug https://bugzilla.mozilla.org/show_bug.cgi?id=549114
page-break-inside: avoid;
break-inside: avoid-column;
}