grav-theme-libretic/scss/template/modular/_portfolio.scss

65 lines
1.8 KiB
SCSS
Raw Normal View History

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;
.notebook {
min-width: 24%;
@include breakpoint(tablet-range) {
width: 100%;
}
@include breakpoint(desktop-range) {
min-width: 24%;
2015-01-28 09:34:29 +01:00
float: none;
}
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) {
width: 100%;
}
@include breakpoint(small-mobile-range) {
width: 90%;
}
@include breakpoint(tablet-range) {
width: 100%;
}
}
}
}
2015-01-28 00:55:56 +01:00
}
}