1
0
mirror of https://github.com/bigchaindb/site.git synced 2024-11-29 07:16:17 +01:00
site/_src/_assets/styles/_sections/_section-blog.scss

32 lines
677 B
SCSS
Raw Normal View History

.article {
2017-05-23 21:55:10 +02:00
@include color-overlay;
@include transition;
background-size: cover;
background-position: center;
padding: $spacer;
border-radius: $border-radius;
overflow: hidden;
box-shadow: none;
display: flex;
align-items: center;
min-height: 8rem;
2017-05-23 21:55:10 +02:00
&:hover,
&:focus {
background-size: cover;
background-position: center;
box-shadow: 0 2px 5px rgba($brand-main-blue-dark, .2);
transform: translateY(-1px);
}
}
2017-11-22 13:57:03 +01:00
.article__title,
h1.article__title {
font-size: $font-size-lg;
2017-11-22 13:57:03 +01:00
font-weight: $font-weight-normal;
2017-05-23 21:55:10 +02:00
margin: 0;
color: #fff;
position: relative;
z-index: 1;
}