2015-01-28 00:55:56 +01:00
|
|
|
// variables
|
|
|
|
$text-bg: #EEEEEE;
|
|
|
|
$text-padding: 2rem;
|
|
|
|
$image-margin: 2rem;
|
|
|
|
|
|
|
|
|
|
|
|
// styling
|
|
|
|
.portfolio {
|
|
|
|
padding: $text-padding $content-padding;
|
|
|
|
padding-top: $text-padding;
|
2015-01-28 09:34:29 +01:00
|
|
|
padding-bottom: 1rem;
|
2015-01-28 00:55:56 +01:00
|
|
|
text-align: center;
|
|
|
|
@include breakpoint(desktop-only) {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
h2 {
|
2015-01-28 09:34:29 +01:00
|
|
|
color: $light-gray;
|
2015-01-28 00:55:56 +01:00
|
|
|
}
|
|
|
|
.notebooks {
|
2015-01-28 09:34:29 +01:00
|
|
|
margin-top: 4rem;
|
|
|
|
.notebook-row {
|
|
|
|
box-shadow: inset 0px -90px 0px -20px $main-bg;
|
|
|
|
margin-left: -$padding-horiz;
|
|
|
|
margin-right: -$padding-horiz;
|
|
|
|
padding-left: $padding-horiz;
|
|
|
|
padding-right: $padding-horiz;
|
|
|
|
background: $text-bg;
|
|
|
|
padding-bottom: 2rem;
|
2015-01-29 20:01:09 +01:00
|
|
|
|
|
|
|
@include breakpoint(mobile-only) {
|
|
|
|
margin-left: -$padding-horiz + 4rem;
|
|
|
|
margin-right: -$padding-horiz + 4rem ;
|
|
|
|
}
|
|
|
|
|
2015-01-28 09:34:29 +01:00
|
|
|
.notebook {
|
|
|
|
min-width: 24%;
|
|
|
|
@include breakpoint(tablet-range) {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
@include breakpoint(desktop-range) {
|
2015-01-28 17:42:54 +01:00
|
|
|
min-width: 24%;
|
2015-01-28 09:34:29 +01:00
|
|
|
float: none;
|
|
|
|
}
|
2015-01-29 20:01:09 +01:00
|
|
|
@include breakpoint(small-mobile-range) {
|
|
|
|
width: 170%;
|
|
|
|
margin-left: -4.7rem;
|
|
|
|
}
|
2015-01-28 09:34:29 +01:00
|
|
|
h4 {
|
|
|
|
text-align: left;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
p {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
.desc {
|
|
|
|
width: 20rem;
|
|
|
|
margin-left: 2rem;
|
|
|
|
@include breakpoint(desktop-range) {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
@include breakpoint(mobile-only) {
|
2022-05-26 13:43:18 +02:00
|
|
|
width: 80%;
|
2015-01-28 09:34:29 +01:00
|
|
|
}
|
|
|
|
@include breakpoint(small-mobile-range) {
|
2022-05-26 13:43:18 +02:00
|
|
|
width: 80%;
|
2015-01-28 09:34:29 +01:00
|
|
|
}
|
|
|
|
@include breakpoint(tablet-range) {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-01-28 00:55:56 +01:00
|
|
|
}
|
|
|
|
}
|