diff --git a/theme/static/src/scss/homepage.scss b/theme/static/src/scss/homepage.scss index b7dfbd5..f7cac4f 100644 --- a/theme/static/src/scss/homepage.scss +++ b/theme/static/src/scss/homepage.scss @@ -1,13 +1,3 @@ -.portfolio-box { - background-color: $brand-grey-dark; - max-width: initial; - min-height: 300px; - - .portfolio-box-caption { - background-color: transparentize($brand-orange, 0.3); - } -} - header { min-height: 100%; } diff --git a/theme/static/src/scss/index.scss b/theme/static/src/scss/index.scss index 87cadf8..4c2e372 100644 --- a/theme/static/src/scss/index.scss +++ b/theme/static/src/scss/index.scss @@ -51,3 +51,17 @@ p a { margin: 10px 0; width: 100%; } + +.portfolio-box { + background-color: $brand-grey-dark; + max-width: initial; + min-height: 300px; + + &.show .portfolio-box-caption { + opacity: 1; + } + + .portfolio-box-caption { + background-color: transparentize($brand-orange, 0.2); + } +} diff --git a/theme/templates/category.html b/theme/templates/category.html index 3acc878..bbd76a7 100644 --- a/theme/templates/category.html +++ b/theme/templates/category.html @@ -34,7 +34,11 @@