Skip to content

Commit

Permalink
Update footer & styling (digitalocean#127)
Browse files Browse the repository at this point in the history
* Add DO to footer & update styling

* Fix a DO body styling issue whilst we're here

* Fix another issue from DO styling
  • Loading branch information
MattIPv4 authored and 0xb4lint committed Nov 19, 2019
1 parent 0d8ff2e commit e40c2ed
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 10 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 2 additions & 1 deletion public/partials/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ <h5>Setup and Files</h5>
</main>
<footer>
<div class="container-fluid">
Lovingly created by <a href="https://b4lint.hu" target="_blank">Bálint Szekeres</a> and maintained by <a href="https://www.digitalocean.com" target="_blank">DigitalOcean</a>
Lovingly made by <a href="https://b4lint.hu" target="_blank">Bálint Szekeres</a>
and maintained by <a href="https://github.com/digitalocean/nginxconfig.io" target="_blank">DigitalOcean</a>.
</div>
</footer>
6 changes: 5 additions & 1 deletion resources/scss/_body.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
1 change: 1 addition & 0 deletions resources/scss/_codes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ section.steps .commands {
border: 1px solid #e8e8e8;

pre {
padding: 0;
margin-bottom: 0;
font-size: inherit;

Expand Down
12 changes: 5 additions & 7 deletions resources/scss/_footer.scss
Original file line number Diff line number Diff line change
@@ -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;
}

0 comments on commit e40c2ed

Please sign in to comment.