Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/2-REC/hugo-myportfolio-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'static/css/theme.css')
-rw-r--r--static/css/theme.css7
1 files changed, 4 insertions, 3 deletions
diff --git a/static/css/theme.css b/static/css/theme.css
index e275ca6..4f4ab48 100644
--- a/static/css/theme.css
+++ b/static/css/theme.css
@@ -666,12 +666,12 @@ padding: 2em 2em 2em 2em;
main {
/* Need to consider header & footer heights as well... */
- min-height: calc(100% - var(--NAVBAR-HEIGHT));
+ min-height: calc(100vh - var(--NAVBAR-HEIGHT));
}
.section {
padding: var(--homepage-section-padding);
- min-height: calc(100% - var(--NAVBAR-HEIGHT));
+ min-height: calc(100vh - var(--NAVBAR-HEIGHT));
}
.section-heading {
@@ -703,13 +703,14 @@ main {
#home {
position: relative;
- min-height: 100%;
+ min-height: 100vh;
background-position: center;
-webkit-background-size: cover;
-moz-background-size: cover;
background-size: cover;
-o-background-size: cover;
+background-color: transparent;
}
#home .header-content {