UNPKG

consumerportal

Version:

mydna Custimised for you

65 lines (58 loc) 1.16 kB
div.rssmedia { width: 31.3%; min-height: 420px; float: left; margin:1%; padding:0.7rem; background-color:#F9F9F9; border: 1px solid #D8D8D8; position:relative; } div.rssmedia .media-body h4{ width:100%; min-height:40px; } div.rssmedia .media-body p img.wp-post-image { width:100%; height:auto; border: 1px solid #D8D8D8; margin:0 0 10px 0; } div.rssmedia .media-body p { max-height:295px; overflow:hidden; } div.rssmedia .media-body a.readmore { position: absolute; bottom: 10px; margin: 0 auto; left: 0; right: 0; font-size: .8em; font-weight: 400; width: 7rem; text-align: center; background-color: #006EB7; color: #fff; border: none; cursor: pointer; line-height: 1.3rem; outline: 0; padding: .5rem 1rem; } div.rssmedia .media-body a.readmore:focus { outline: #FFF solid 1px; } div.rssmedia .media-body a.readmore:hover { background-color: #f7a824; } @media (max-width:950px) { div.rssmedia { width: 48%; } } @media (max-width:560px) { div.rssmedia { width: 100%; } }