diff --git a/package.json b/package.json index eee8cf1..d001fea 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "dev": "sass --no-source-map src/scss/theme.scss dist/site.css && cp src/index.html dist/index.html && cp -R src/img dist && cp -R src/icons dist", - "prod": "sass --no-source-map src/scss/theme.scss dist/site.css && cp src/index.html dist/index.html && cp -R src/img dist && cp -R src/icons dist", + "prod": "sass --no-source-map src/scss/theme.scss dist/site.css --style compressed && cp src/index.html dist/index.html && cp -R src/img dist && cp -R src/icons dist", "watch": "sass --no-source-map --watch src/scss/theme.scss dist/site.css", "publish": "cp -R dist/* /var/www/andrewgioia.com/*" }, diff --git a/src/index.html b/src/index.html index f87f317..7a2f7d6 100644 --- a/src/index.html +++ b/src/index.html @@ -4,9 +4,10 @@ Andrew Gioia - + + diff --git a/src/scss/theme.scss b/src/scss/theme.scss index a251dfd..c4a80b1 100644 --- a/src/scss/theme.scss +++ b/src/scss/theme.scss @@ -29,12 +29,17 @@ @import "icons"; // fit and finish +html { + height: 100%; + width: 100%; +} + body { background: var(--bg-normal); display: flex; flex-direction: column; font-size: var(--font-base); - height: 100vh; + height: 100%; justify-content: space-between; overflow: hidden; width: 100vw;