active/app/assets/stylesheets/active_front.css.scss

36 lines
858 B
SCSS
Raw Normal View History

2021-08-09 10:03:32 +00:00
// Place all the styles related to the act controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/
.active-index2 li.col-md-4{
float: left;
.active-meta{
padding-left: 1em;
padding-top: 0.5em;
}
.active-img-wrap {
overflow: hidden;
height: 12.5em;
img {
max-height: 100%;
max-width: 100%;
height: auto;
width: auto;
}
}
a:hover .active-title{
color: #0032b2;
font-size: 1.3em;
}
@media (min-width: 992px){
width: 33.3333%;
}
@media (min-width: 577px) and (max-width: 991px){
width: 50%;
}
@media (max-width: 576px){
width: 100%;
.active-img-wrap {
height: auto;
}
}
}