|
/* Custom "blocks" news widget - universal edition */ |
|
.rm_GridItem { |
|
margin-bottom: 15px; |
|
} |
|
|
|
.rm_GridV .rm_GridItem:last-child { |
|
margin-bottom: 0px; |
|
} |
|
|
|
.rm_GridItem > a { |
|
display: block; |
|
height: 200px; |
|
position: relative; |
|
color: #fff; |
|
background-color: #333; |
|
background-size: cover; |
|
background-position: 50%; |
|
background-repeat: no-repeat; |
|
overflow: hidden; |
|
} |
|
/* "main" grid item for the fancy layout */ |
|
.rm_GridItemPrimary > a { |
|
min-height:415px !important; |
|
} |
|
|
|
/* Collapse on mobile */ |
|
@media screen and (max-width: 767px) { |
|
.rm_GridItemPrimary > a { |
|
min-height:0 !important; |
|
} |
|
} |
|
|
|
.rm_GridItem > a:before { |
|
content: ''; |
|
display: block; |
|
position: absolute; |
|
bottom: 0; |
|
left: 0; |
|
right: 0; |
|
height: 53px; |
|
|
|
/* Tip: Edit this line to change the color of the title box! */ |
|
background: rgba(0,0,0,0.8); |
|
} |
|
|
|
.rm_itemTitle, .rm_itemSub { |
|
color: #fff; |
|
position: absolute; |
|
left: 7px; |
|
right: 7px; |
|
text-shadow: 1px 1px 1px rgba(0,0,0,1); |
|
} |
|
|
|
.rm_itemTitle { |
|
bottom: 23px; |
|
font-size: 20px; |
|
line-height: 24px; |
|
font-weight: 400; |
|
display: inline-block; |
|
margin: 0; |
|
overflow: hidden; |
|
white-space: nowrap; |
|
text-overflow: ellipsis; |
|
} |
|
|
|
.rm_itemSub { |
|
bottom: 7px; |
|
font-size: 12px; |
|
} |
|
|
|
/* This handles text truncating for both vertical and horizontal rmGrids |
|
Horizontal needs less text to allow for post date, eg */ |
|
.rm_itemSub li:first-child { |
|
overflow: hidden; |
|
white-space: nowrap; |
|
text-overflow: ellipsis; |
|
} |
|
|
|
.rm_GridH .rm_itemSub li:first-child { |
|
width: 60%; |
|
} |
|
|
|
.rm_Grid3 .rm_itemSub li:first-child { |
|
width: 90%; |
|
} |
|
|
|
.rm_GridV .rm_itemSub li:first-child { |
|
width: 80%; |
|
} |
|
|
|
/* REMOVE EVERYTHING BELOW HERE IF YOU DON'T NEED THE _EXTRA TEMPLATES */ |
|
/* Extra Templates - Corner Info Text */ |
|
.postinfo_portal { |
|
position: relative; |
|
bottom: -5px; |
|
left: 5px; |
|
text-align: center; |
|
font-size: 12px; |
|
text-shadow: 1px 1px 1px rgba(0,0,0,1); |
|
} |
|
|
|
.datestamp_portal { |
|
position: relative; |
|
bottom: -5px; |
|
left: -5px; |
|
font-size: 12px; |
|
text-shadow: 1px 1px 1px rgba(0,0,0,1); |
|
} |
|
|
|
/* Extra Templates - Media Indicator */ |
|
.media_indicator { |
|
position: relative; |
|
top: 25px; |
|
left: 37%; |
|
opacity: 0.7; |
|
} |
|
|
|
.media_indicator:hover { |
|
} |
|
|
|
.media_indicator:nth-child(2n) { |
|
animation-name: keyframes1; |
|
animation-iteration-count: infinite; |
|
transform-origin: 50% 10%; |
|
} |
|
|
|
.media_indicator:nth-child(2n-1) { |
|
animation-name: keyframes2; |
|
animation-iteration-count: infinite; |
|
animation-direction: alternate; |
|
transform-origin: 30% 5%; |
|
} |
|
|
|
.media_indicator_top { |
|
position: relative; |
|
top: 25px; |
|
left: 40%; |
|
opacity: 0.7; |
|
} |
|
|
|
.media_indicator_top:hover { |
|
} |
|
|
|
.media_indicator_top:nth-child(2n) { |
|
animation-name: keyframes1; |
|
animation-iteration-count: infinite; |
|
transform-origin: 50% 10%; |
|
} |
|
|
|
.media_indicator_top:nth-child(2n-1) { |
|
animation-name: keyframes2; |
|
animation-iteration-count: infinite; |
|
animation-direction: alternate; |
|
transform-origin: 30% 5%; |
|
} |
|
|
|
@keyframes keyframes1 { |
|
0% { |
|
transform: rotate(-1deg); |
|
animation-timing-function: ease-in; |
|
} |
|
50% { |
|
transform: rotate(1.5deg); |
|
animation-timing-function: ease-out; |
|
} |
|
} |
|
|
|
@keyframes keyframes2 { |
|
0% { |
|
transform: rotate(1deg); |
|
animation-timing-function: ease-in; |
|
} |
|
50% { |
|
transform: rotate(-1.5deg); |
|
animation-timing-function: ease-out; |
|
} |
|
} |
|
|
|
/* Extra Templates - Share Links */ |
|
.share_links_portal { |
|
position: relative; |
|
bottom: 80px; |
|
right: 5px; |
|
font-size: 12px; |
|
text-shadow: 1px 1px 1px rgba(0,0,0,1); |
|
margin-bottom:-12px; |
|
} |
|
|
|
.share_links_portal_top { |
|
position: relative; |
|
bottom: 80px; |
|
right: 5px; |
|
font-size: 12px; |
|
text-shadow: 1px 1px 1px rgba(0,0,0,1); |
|
margin-bottom:-80px; |
|
} |
|
|
|
.cShareLink_google_portal { |
|
color: #fff; |
|
background: transparent; |
|
} |
|
|
|
.cShareLink_twitter_portal { |
|
color: #fff; |
|
background: transparent; |
|
} |
|
|
|
.cShareLink_facebook_portal { |
|
color: #fff; |
|
background: transparent; |
|
} |
|
|
|
.fa_portal { |
|
display: inline-block; |
|
font: normal normal normal 15px/1 FontAwesome; |
|
text-rendering: auto; |
|
-webkit-font-smoothing: antialiased; |
|
-moz-osx-font-smoothing: grayscale; |
|
transform: translate(0, 0); |
|
} |