From e40c2edfa0dadae9753ae0ee668b770107ad9c9a Mon Sep 17 00:00:00 2001 From: "Matt (IPv4) Cowley" Date: Tue, 19 Nov 2019 21:19:26 +0000 Subject: [PATCH] Update footer & styling (#127) * Add DO to footer & update styling * Fix a DO body styling issue whilst we're here * Fix another issue from DO styling --- package.json | 2 +- public/partials/index.html | 3 ++- resources/scss/_body.scss | 6 +++++- resources/scss/_codes.scss | 1 + resources/scss/_footer.scss | 12 +++++------- 5 files changed, 14 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index e6ae8ce..42229ee 100644 --- a/package.json +++ b/package.json @@ -59,7 +59,7 @@ "build:scss:prod": "npm run build:scss -- --output-style=compressed", "build:scss:watch": "npm run build:scss -- --watch", "autoprefixer": "postcss public/assets/css/app.min.css --use autoprefixer --no-map --replace --verbose", - "browsersync": "browser-sync 'public/' --watch", + "browsersync": "browser-sync 'public/' --watch --cors", "lint": "eslint resources/js/app.js", "lint:fix": "npm run lint -- --fix", "test": "npm run lint && npm run build && start-server-and-test http-server http://localhost:8080 cypress:run", diff --git a/public/partials/index.html b/public/partials/index.html index 2eadbef..4bdc4de 100644 --- a/public/partials/index.html +++ b/public/partials/index.html @@ -195,6 +195,7 @@ diff --git a/resources/scss/_body.scss b/resources/scss/_body.scss index c2d2881..4a173b2 100644 --- a/resources/scss/_body.scss +++ b/resources/scss/_body.scss @@ -4,6 +4,10 @@ body { font-size: 1rem; font-weight: 400; line-height: 1.5; - color: #212529; text-align: left; + + .wrapper.layout-wrapper { + padding: 0; + width: auto; + } } diff --git a/resources/scss/_codes.scss b/resources/scss/_codes.scss index 0f6bfa9..a8b7aec 100644 --- a/resources/scss/_codes.scss +++ b/resources/scss/_codes.scss @@ -7,6 +7,7 @@ section.steps .commands { border: 1px solid #e8e8e8; pre { + padding: 0; margin-bottom: 0; font-size: inherit; diff --git a/resources/scss/_footer.scss b/resources/scss/_footer.scss index aa33cf5..919768f 100644 --- a/resources/scss/_footer.scss +++ b/resources/scss/_footer.scss @@ -1,10 +1,8 @@ footer { - padding: 2rem 0 0.5rem; + padding: 2rem 0 0; text-align: center; - font-size: 0.8rem; - - .balaton { - height: 1.6rem; - vertical-align: middle; - } + font-size: .8rem; + background: #fff; + box-shadow: none; + margin: 0; }