72 lines
1.5 KiB
SCSS
72 lines
1.5 KiB
SCSS
@mixin project-card {
|
|
background: $white;
|
|
border: 1px solid $whitish;
|
|
margin: .5rem;
|
|
.tags-container {
|
|
display: flex;
|
|
height: .3rem;
|
|
}
|
|
.project-tag {
|
|
flex: 1;
|
|
}
|
|
.project-card-inner {
|
|
padding: 1rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex-wrap: wrap;
|
|
width: 100%;
|
|
}
|
|
.project-card-description {
|
|
@extend %small;
|
|
@extend %light;
|
|
color: $gray;
|
|
}
|
|
.project-card-statistics {
|
|
display: flex;
|
|
margin-top: auto;
|
|
svg {
|
|
@include svg-size(.75rem);
|
|
fill: currentColor;
|
|
margin-right: .25rem;
|
|
}
|
|
}
|
|
.statistic {
|
|
@extend %small;
|
|
color: $gray-light;
|
|
display: inline-block;
|
|
margin-right: .5rem;
|
|
&.active {
|
|
color: $primary;
|
|
svg {
|
|
fill: currentColor;
|
|
}
|
|
}
|
|
}
|
|
.project-card-header {
|
|
display: flex;
|
|
flex-grow: 0;
|
|
}
|
|
.project-card-logo {
|
|
display: inline-block;
|
|
flex-basis: 50px;
|
|
flex-shrink: 0;
|
|
width: 50px;
|
|
height: 50px;
|
|
margin-right: .5rem;
|
|
img {
|
|
width: 100%;
|
|
}
|
|
}
|
|
.project-card-name {
|
|
line-height: 1.25;
|
|
a {
|
|
@extend %large;
|
|
@extend %large;
|
|
color: $primary;
|
|
&:hover {
|
|
color: $primary-light;
|
|
}
|
|
}
|
|
}
|
|
}
|