123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- /* ------------------------------------------------------------------------------
- *
- * # Blog layouts
- *
- * Blog layouts with various blog layouts
- *
- * ---------------------------------------------------------------------------- */
- // Check if component is enabled
- @if $enable-blog {
- // Horizontal layout
- .blog-horizontal {
- // Stick thumb to the left and give it fixed width
- .card-img-actions {
- width: 100%;
- // Desktop size
- @include media-breakpoint-up(sm) {
- width: 45%;
- float: left;
- max-width: $blog-horizontal-img-max-width;
- z-index: 10;
- }
- }
- }
- //
- // Media sizing
- //
- // Mini
- .blog-horizontal-xs {
- .card-img-actions {
- @include media-breakpoint-up(sm) {
- width: 35%;
- max-width: $blog-horizontal-img-max-width-xs;
- }
- }
- }
- // Medium
- .blog-horizontal-sm {
- .card-img-actions {
- @include media-breakpoint-up(sm) {
- width: 40%;
- max-width: $blog-horizontal-img-max-width-sm;
- }
- }
- }
- // Large
- .blog-horizontal-lg {
- .card-img-actions {
- @include media-breakpoint-up(sm) {
- width: 50%;
- max-width: $blog-horizontal-img-max-width-lg;
- }
- }
- }
- }
|