.main.social{ .section{ padding-bottom: 80px; .content{ .card{ border: none; margin-bottom: 20px; .card-body{ padding: 0; .imgCnt{ width:100%; } } .card-footer{ padding: 10px 0 0; border: none; border-top: 3px map-get($cisColor, master) solid; background-color: transparent; .clip{ display: flex; justify-content: space-between; align-items: center; .title{ flex:1 0 0%; font-size: 22px; font-weight: bold; } .date{ flex: 0 0 auto; font-size: 12px; color: #888; } } } &:hover{ .imgCnt img{ transform: scale(1.2) rotate(5deg); } } } .block{ .bName{ font-family: 'Jost'; font-size: 22px; font-weight: bold; line-height: 25px; color: map-get($cisColor, master) ; margin: 10px 0 5px; span{ font-size: 18px; font-weight: 400; color: #666 ; } } .card{ border-radius: 5px; overflow: hidden; .txt{ position: absolute; width:100%; height: 100%; padding: 10px 15px 20px; color: #fff; background-color: rgba($color: #000000, $alpha: .7); opacity: 0; transition: all .3s; z-index: 1; .title{ font-size: 24px; font-weight: bold; margin-bottom: 5px; } .desc{ font-size: 16px; } &:hover{ padding: 15px; opacity: 1; } } } .desc{ line-height: 30px; } } .item{ position: relative; display: flex; justify-content: space-between; align-items: center; padding: 8px 30px; transition: all .3s; .title{ flex: 1 0 0%; } .date{ flex: 0 0 auto; font-size: 14px; font-weight: 300; color: #666; } &+.item{ margin-top: 5px; } &::before{ position: absolute; content: '■'; top:3px; left:10px; color: rgba($color: map-get($cisColor, second), $alpha: .7); } &:hover{ border-radius: 30px; background-color: rgba($color: map-get($cisColor, second), $alpha: .7); .title,.date,&::before{ color: #fff; } } } } } } /* ============================================== media ============================================ */ @media (max-width: 992px) { } @media (max-width: 768px) { .main.social{ .section{ .content{ } } } } @media (max-width: 480px) { } .formSec { background-color: #343b4e; border-bottom: 1px #646c81 solid; padding-bottom: 100px; }