Shian/src/sass/components/_projectitem.scss

25 lines
448 B
SCSS
Raw Normal View History

2021-04-14 05:11:10 +00:00
.project-item {
padding: 1rem;
width: 100%;
display: flex;
flex-direction: row;
@include transition;
min-height: 12rem;
&:hover {
background-color: var(--highlight-bg-color);
}
&__image {
width: 25%;
display: flex;
flex-direction: col;
align-items: center;
justify-content: center;
margin-right: 2rem;
}
&__text {
width: 75%;
}
}