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.
144 lines
2.1 KiB
144 lines
2.1 KiB
:root {
|
|
--minimum-width: 30%;
|
|
--ratio: 1/1;
|
|
}
|
|
|
|
.portfolio__content {
|
|
section {
|
|
margin-bottom: 1.765rem;
|
|
}
|
|
}
|
|
|
|
.artfolio_content {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(var(--minimum-width), 1fr));
|
|
grid-gap: 5px;
|
|
}
|
|
|
|
.artfolio-block {
|
|
border: 1px solid black;
|
|
}
|
|
|
|
.artwork__image {
|
|
margin: auto;
|
|
aspect-ratio: var(--ratio);
|
|
object-fit: cover;
|
|
width: 100%;
|
|
}
|
|
|
|
.portfolio__featured-project {
|
|
margin: 0 0 1.765rem;
|
|
img {
|
|
margin: 0 0 1rem;
|
|
box-shadow: 1px 1px $gray-2;
|
|
}
|
|
}
|
|
|
|
.project__image {
|
|
border: 1px solid $gray-2;
|
|
box-shadow: 1px 1px $gray-2;
|
|
}
|
|
|
|
.project__first-screen {
|
|
display: block;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.project__additional-screens {
|
|
display: block;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.project__single-screen {
|
|
display: inline-block;
|
|
width: 48%;
|
|
}
|
|
|
|
.project__primary-screen {
|
|
width: 30%;
|
|
float: left;
|
|
margin-right: 1em;
|
|
}
|
|
|
|
|
|
.project__extra-screen {
|
|
float:left;
|
|
height:50%
|
|
}
|
|
|
|
.project__title {
|
|
margin-top: 1.765rem;
|
|
letter-spacing: 1px;
|
|
font-size: $project__title-font-size;
|
|
}
|
|
|
|
%subtitle {
|
|
font-style: $project__subtitle-font-style;
|
|
color: $project__subtitle-color;
|
|
display: block;
|
|
margin-top: 0.5rem;
|
|
margin: 0 0 1rem;
|
|
}
|
|
|
|
.project__subtitle-big {
|
|
@extend %subtitle;
|
|
font-size: $project__subtitle-font-size-big;
|
|
}
|
|
|
|
.project__subtitle-small {
|
|
@extend %subtitle;
|
|
font-size: $project__subtitle-font-size-small;
|
|
}
|
|
|
|
.project__featured-image {
|
|
position: relative;
|
|
}
|
|
|
|
.project__summary {
|
|
margin-bottom: 1.765rem;
|
|
text-align: left;
|
|
}
|
|
|
|
.divider {
|
|
margin-bottom: 3.5rem;
|
|
}
|
|
.row-space {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
// only needs some pieces from Bootstrap
|
|
%col_extend {
|
|
min-height: 1px;
|
|
padding-left: 15px;
|
|
padding-right: 15px;
|
|
position: relative;
|
|
}
|
|
|
|
.row {
|
|
margin-left: -15px;
|
|
margin-right: -15px;
|
|
}
|
|
.col-xs-12 {
|
|
width: 100%;
|
|
@extend %col_extend;
|
|
}
|
|
.col-sm-4 {
|
|
@extend %col_extend;
|
|
}
|
|
.col-md-4 {
|
|
@extend %col_extend;
|
|
}
|
|
.col-sm-8 {
|
|
@extend %col_extend;
|
|
}
|
|
.col-md-8 {
|
|
@extend %col_extend;
|
|
}
|
|
|
|
.img-responsive {
|
|
display: block;
|
|
max-width: 100%;
|
|
height: auto;
|
|
}
|
|
|