From f6647e125524b28644398dcbe94b313b50ca4f1b Mon Sep 17 00:00:00 2001 From: eazurich <35350060+eazurich@users.noreply.github.com> Date: Fri, 12 Jan 2018 16:40:51 +0100 Subject: [PATCH 1/5] Update style.css --- static/css/style.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/static/css/style.css b/static/css/style.css index a71273e..1d0bf0b 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -80,3 +80,11 @@ textarea { font-size: 0.75em; line-height: 0.5em; } + +ul.nav { + margin-left: auto; +} + +ul.navbar-nav.mr-auto li:not(:last-child), ul.navbar-nav.mr-auto div { + margin-right: 1em; +} From cbde524f1e8805901f5668277a4b0c9380b843a1 Mon Sep 17 00:00:00 2001 From: naokipeter Date: Fri, 12 Jan 2018 22:47:12 +0100 Subject: [PATCH 2/5] Improve nav styling --- static/css/style.css | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/static/css/style.css b/static/css/style.css index 1d0bf0b..e4bf2aa 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -85,6 +85,22 @@ ul.nav { margin-left: auto; } -ul.navbar-nav.mr-auto li:not(:last-child), ul.navbar-nav.mr-auto div { +ul.navbar-nav.mr-auto > li:not(:last-child), ul.navbar-nav.mr-auto > div { margin-right: 1em; } + +.dropdown-menu>li>a { + display: block; + padding: 8px 20px; + clear: both; + font-weight: 400; + line-height: 1.42857143; + color: rgba(0, 0, 0, 0.5); + white-space: nowrap; +} + +.dropdown-menu>li>a:hover { + color: #343a40; + text-decoration: none; +} + From ccc9a3d0583839378f3ceb2c0f007d172f8e7b85 Mon Sep 17 00:00:00 2001 From: naokipeter Date: Fri, 12 Jan 2018 23:15:56 +0100 Subject: [PATCH 3/5] Improve styling --- layouts/contact/single.html | 2 +- layouts/effective-altruism/single.html | 4 +--- static/css/bootstrap.css | 4 ++-- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/layouts/contact/single.html b/layouts/contact/single.html index c8d1cd9..6fc6639 100644 --- a/layouts/contact/single.html +++ b/layouts/contact/single.html @@ -29,7 +29,7 @@
- + diff --git a/layouts/effective-altruism/single.html b/layouts/effective-altruism/single.html index 55bbbdb..59073f0 100644 --- a/layouts/effective-altruism/single.html +++ b/layouts/effective-altruism/single.html @@ -7,9 +7,7 @@
-
- {{ .Content }}ßß -
+ {{ .Content }}
{{ partial "footer.html" . }} diff --git a/static/css/bootstrap.css b/static/css/bootstrap.css index 047d148..54b9cab 100644 --- a/static/css/bootstrap.css +++ b/static/css/bootstrap.css @@ -8817,7 +8817,7 @@ a.text-dark:focus, a.text-dark:hover { border-width: 1px 0 0 0; } -.btn { +.jumbotron .btn { border-radius: 17.25px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 14px; @@ -8962,4 +8962,4 @@ table-success, table-info, table-warning, table-danger, .list-group { font-size: 14px; -} \ No newline at end of file +} From 179678d0876575099866bca636749a042e5f8d8d Mon Sep 17 00:00:00 2001 From: naokipeter Date: Fri, 12 Jan 2018 23:38:34 +0100 Subject: [PATCH 4/5] Improve styling --- layouts/contact/single.html | 20 ++++++++------------ static/css/bootstrap.css | 12 ++++++++++++ static/css/style.css | 9 +++++++++ 3 files changed, 29 insertions(+), 12 deletions(-) diff --git a/layouts/contact/single.html b/layouts/contact/single.html index 6fc6639..87b60e3 100644 --- a/layouts/contact/single.html +++ b/layouts/contact/single.html @@ -13,22 +13,18 @@
-

{{ .Site.Params.contactform.senderName }}:

- + + -

-

{{ .Site.Params.contactform.senderEmail }}:

- + + -

-

{{ .Site.Params.contactform.emailSubject }}:

- + + -

-

{{ .Site.Params.contactform.emailMessage }}:

- + + -
diff --git a/static/css/bootstrap.css b/static/css/bootstrap.css index 54b9cab..fa98ab6 100644 --- a/static/css/bootstrap.css +++ b/static/css/bootstrap.css @@ -2486,6 +2486,18 @@ fieldset[disabled] a.btn { pointer-events: none; } +.btn-default { + color: #333; + background-color: #fff; + border-color: #ccc; +} + +.btn-default.focus, .btn-default:focus { + color: #333; + background-color: #e6e6e6; + border-color: #8c8c8c; +} + .btn-primary { color: #fff; background-color: #4582EC; diff --git a/static/css/style.css b/static/css/style.css index e4bf2aa..d338ba2 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -104,3 +104,12 @@ ul.navbar-nav.mr-auto > li:not(:last-child), ul.navbar-nav.mr-auto > div { text-decoration: none; } +label { + display: block; + margin-top: 1.5rem; +} + +input[type=submit] { + margin-top: 2rem; +} + From 84e3f701ecad57c07fabcc931c0339ee9907de59 Mon Sep 17 00:00:00 2001 From: naokipeter Date: Fri, 12 Jan 2018 23:45:14 +0100 Subject: [PATCH 5/5] Improve styling --- static/css/bootstrap.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/static/css/bootstrap.css b/static/css/bootstrap.css index fa98ab6..87e5fde 100644 --- a/static/css/bootstrap.css +++ b/static/css/bootstrap.css @@ -2492,10 +2492,10 @@ fieldset[disabled] a.btn { border-color: #ccc; } -.btn-default.focus, .btn-default:focus { - color: #333; - background-color: #e6e6e6; - border-color: #8c8c8c; +.btn-default:hover { + color: #333; + background-color: #e6e6e6; + border-color: #adadad; } .btn-primary {