You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
577 B
42 lines
577 B
@mixin shadow {
|
|
box-shadow: 0px 4px 8px black;
|
|
}
|
|
|
|
.shadow {
|
|
@include shadow
|
|
}
|
|
|
|
.float-on-hover {
|
|
transition: (all 0.25s cubic-bezier(0.2,0.1,0.47,1));
|
|
&:hover {
|
|
transform: (translateY(-10px));
|
|
}
|
|
}
|
|
|
|
.small-circle {
|
|
border-radius: 50%;
|
|
width: 250px;
|
|
height: 250px;
|
|
}
|
|
|
|
article {
|
|
background-color: $dark;
|
|
border-radius: 10px;
|
|
height: 420px;
|
|
flex: 1 1 305px;
|
|
overflow: hidden;
|
|
|
|
img {
|
|
height: 50%;
|
|
width: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
div {
|
|
margin: 25px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
}
|
|
|