angular-cn/public/resources/css/module/_article-card.scss

56 lines
1.0 KiB
SCSS
Raw Normal View History

2016-01-05 12:45:41 -05:00
.article-card {
margin: 0px 0px ($unit * 4) 0px;
padding: ($unit * 2);
background: lighten($mist, 3%);
border-radius: ($unit / 2);
min-height: 200px;
2016-01-05 12:45:41 -05:00
position: relative;
@media handheld and (max-width: $phone-breakpoint),
screen and (max-device-width: $phone-breakpoint),
screen and (max-width: $tablet-breakpoint) {
padding: ($unit * 2) ($unit * 1);
}
a {
text-decoration: none;
}
strong {
color: darken($darkgrey, 5%);
font-weight: 400;
}
&:last-child {
margin-right: 0;
2016-01-05 12:45:41 -05:00
}
.date {
text-transform: uppercase;
margin-bottom: $unit;
}
.title {
font-size: 20px;
color: $regal;
}
p, .date {
font-size: 16px;
color: darken($darkgrey, 5%);
}
p {
margin-bottom: 50px;
}
2016-01-05 12:45:41 -05:00
.posted {
color: $bismark;
font-size: 16px;
display: inline;
padding-left: 10px;
}
img {
width: 40px;
height: 40px;
border-radius: 50% 50%;
display: inline;
vertical-align: middle;
}
.author {
position: absolute;
bottom: 20px;
}
}