You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
130 lines
2.9 KiB
130 lines
2.9 KiB
/** |
|
* @file |
|
* Visual styles for Magazine+'s posts carousel. |
|
*/ |
|
.view-posts-slider { |
|
padding-top: 50px; |
|
} |
|
.view-posts-slider .views-field-field-mt-post-category a { |
|
padding: 7px 20px; |
|
font-size: 12px; |
|
text-transform: uppercase; |
|
display: inline-block; |
|
color: #ffffff; |
|
margin-bottom: 10px; |
|
} |
|
.view-posts-slider .views-field-field-mt-post-category a:hover { |
|
color: #ffffff; |
|
} |
|
.region--light-typography .view-posts-slider .views-field-field-mt-post-category a { |
|
background-color: #ffffff; |
|
color: #2d2d2d; |
|
text-decoration: none; |
|
} |
|
.region--light-typography .view-posts-slider .views-field-field-mt-post-category a:hover { |
|
background-color: rgba(255, 255, 255, 0.75); |
|
} |
|
.view-posts-slider h5 { |
|
font-size: 30px; |
|
margin-bottom: 20px; |
|
margin-top: 0; |
|
} |
|
.view-posts-slider .views-field-name { |
|
font-style: italic; |
|
font-size: 14px; |
|
font-weight: 700; |
|
color: #505050; |
|
text-transform: none; |
|
} |
|
.region--light-typography .view-posts-slider .views-field-name { |
|
color: #ffffff; |
|
} |
|
.view-posts-slider .views-field-name .username { |
|
text-transform: uppercase; |
|
font-style: normal; |
|
font-size: 12px; |
|
font-weight: 400; |
|
} |
|
.view-posts-slider .post-meta { |
|
font-size: 0; |
|
margin-top: 10px; |
|
border-bottom-style: solid; |
|
border-bottom-width: 1px; |
|
border-bottom-color: #dedede; |
|
padding-bottom: 25px; |
|
margin-bottom: 20px; |
|
} |
|
.region--light-typography .view-posts-slider { |
|
border-color: rgba(255, 255, 255, 0.1); |
|
} |
|
.view-posts-slider .post-meta-item { |
|
font-size: 12px; |
|
display: inline-block; |
|
padding: 0px 15px; |
|
line-height: 1.3; |
|
text-transform: uppercase; |
|
position: relative; |
|
} |
|
.view-posts-slider .post-meta-item:after { |
|
content: ""; |
|
width: 2px; |
|
height: 2px; |
|
position: absolute; |
|
right: -1px; |
|
top: 50%; |
|
margin-top: -1px; |
|
background-color: #9c9c9c; |
|
} |
|
.region--light-typography .view-posts-slider .post-meta-item:after { |
|
background-color: #ffffff; |
|
} |
|
.view-posts-slider .post-meta-item:first-child { |
|
padding-left: 0; |
|
} |
|
.view-posts-slider .post-meta-item:last-child { |
|
padding-right: 0; |
|
} |
|
.view-posts-slider .post-meta-item:last-child:after { |
|
width: 0; |
|
height: 0; |
|
background-color: transparent; |
|
} |
|
.view-posts-slider .link--bordered { |
|
font-size: 12px; |
|
text-transform: uppercase; |
|
margin-top: 10px; |
|
display: inline-block; |
|
} |
|
@media (max-width: 991px) { |
|
.posts-slider__content { |
|
text-align: left; |
|
} |
|
.view-posts-slider .views-field-field-image { |
|
margin-bottom: 30px; |
|
} |
|
} |
|
|
|
/*owl arrows*/ |
|
.view-posts-slider .owl-carousel .owl-nav { |
|
position: absolute; |
|
top: -60px; |
|
width: 100%; |
|
text-align: left; |
|
margin-top: 0; |
|
} |
|
.view-posts-slider .owl-carousel .owl-nav:before, |
|
.view-posts-slider .owl-carousel .owl-nav:after { |
|
content: ""; |
|
background-color: transparent; |
|
width: 0; |
|
height: 0; |
|
} |
|
.view-posts-slider .owl-carousel .owl-nav div { |
|
position: absolute; |
|
} |
|
.view-posts-slider .owl-carousel .owl-nav .owl-prev { |
|
left: 15px; |
|
} |
|
.view-posts-slider .owl-carousel .owl-nav .owl-next { |
|
left: 64px; |
|
}
|
|
|