From 2ce167507139437ac4bc3f6e88931496529e05ca Mon Sep 17 00:00:00 2001 From: Sojon Date: Tue, 6 Jul 2021 13:23:21 +0600 Subject: newsletter form style fix, favicon added, small css fix added --- LICENSE | 2 +- exampleSite/config.toml | 4 ++-- exampleSite/static/images/favicon.png | Bin 0 -> 3299 bytes layouts/partials/subscription.html | 8 +++++--- static/css/main.css | 24 ++++++++++++++++++++++-- 5 files changed, 30 insertions(+), 8 deletions(-) create mode 100644 exampleSite/static/images/favicon.png diff --git a/LICENSE b/LICENSE index 6c459db..ba3e579 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2020 Themefisher +Copyright (c) 2021 Themefisher Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 6c7b2fe..aee6b47 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -1,5 +1,5 @@ ######################## default configuration #################### -baseURL = "http://example.org/" +baseURL = "https://demo.gethugothemes.com/restaurant/" languageCode = "en-us" title = "Restaurant Hugo" theme = "restaurant-hugo" @@ -82,7 +82,7 @@ google_analitycs_id = "Your ID" # mainSections main_sections = ["post"] # copyright -copyright = "Copyright © 2020 Designed by [Themefisher](https://themefisher.com) & Developed by [Gethugothemes](https://gethugothemes.com)" +copyright = "Copyright © 2021 Designed by [Themefisher](https://themefisher.com) & Developed by [Gethugothemes](https://gethugothemes.com)" # Preloader [params.preloader] diff --git a/exampleSite/static/images/favicon.png b/exampleSite/static/images/favicon.png new file mode 100644 index 0000000..fdc6b25 Binary files /dev/null and b/exampleSite/static/images/favicon.png differ diff --git a/layouts/partials/subscription.html b/layouts/partials/subscription.html index bb7c1fc..3d492c0 100644 --- a/layouts/partials/subscription.html +++ b/layouts/partials/subscription.html @@ -26,10 +26,12 @@
-
+
- - +
+ + +
diff --git a/static/css/main.css b/static/css/main.css index 4096a2d..1dda054 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -529,6 +529,10 @@ nav .block .navbar-default .navbar-nav>.active>a:hover:before { color: #fff; } +.mc-field-group .d-flex { + display: flex; +} + #mc_embed_signup .mc-field-group input.email { background: #fff; opacity: 0.9; @@ -537,13 +541,12 @@ nav .block .navbar-default .navbar-nav>.active>a:hover:before { border-radius: 0; width: 75%; display: inline-block; - float: left; outline: none; + padding: 0 15px; } #mc_embed_signup .mc-field-group input.button { height: 65px; - float: left; display: inline-block; width: 25%; margin: 0; @@ -560,6 +563,23 @@ nav .block .navbar-default .navbar-nav>.active>a:hover:before { -o-transition: .3s all; transition: .3s all; } +@media only screen and (max-width: 991px) { + #mc_embed_signup .mc-field-group input.email { + width: 70%; + } + #mc_embed_signup .mc-field-group input.button { + width: 30%; + } +} +@media only screen and (max-width: 768px) { + .mc-field-group .d-flex { + display: block; + } + #mc_embed_signup .mc-field-group input.email, + #mc_embed_signup .mc-field-group input.button { + width: 100%; + } +} .subscription-form #mc_embed_signup #mce-success-response { color: #fff; -- cgit v1.2.3