From 27b1240b3e68c775507699b14de6c76408806376 Mon Sep 17 00:00:00 2001 From: John Hess Date: Mon, 10 Oct 2022 15:29:13 -0500 Subject: [PATCH] pixel pushing --- _data/deployment.yml | 5 ++++- _data/deployments/butterbox/deployment.yml | 5 ++++- _i18n/en.yml | 2 +- _scss/helpers/utilities.scss | 10 ++++++---- _scss/pages/home.scss | 7 +++++-- index.html | 6 +++--- 6 files changed, 23 insertions(+), 12 deletions(-) diff --git a/_data/deployment.yml b/_data/deployment.yml index 328e313..bc07ea9 100644 --- a/_data/deployment.yml +++ b/_data/deployment.yml @@ -1,3 +1,6 @@ # Deployment-specific variables to specify what features to surface. has_internet: false -show_chat: true \ No newline at end of file +show_chat: true +# The standard dnsmasq config includes butterbox.lan even when a non-EN language +# is selected so this should work even when the user-visible domain is different. +chat_server: "butterbox.lan" \ No newline at end of file diff --git a/_data/deployments/butterbox/deployment.yml b/_data/deployments/butterbox/deployment.yml index 328e313..bc07ea9 100644 --- a/_data/deployments/butterbox/deployment.yml +++ b/_data/deployments/butterbox/deployment.yml @@ -1,3 +1,6 @@ # Deployment-specific variables to specify what features to surface. has_internet: false -show_chat: true \ No newline at end of file +show_chat: true +# The standard dnsmasq config includes butterbox.lan even when a non-EN language +# is selected so this should work even when the user-visible domain is different. +chat_server: "butterbox.lan" \ No newline at end of file diff --git a/_i18n/en.yml b/_i18n/en.yml index e29a86f..e1036cc 100644 --- a/_i18n/en.yml +++ b/_i18n/en.yml @@ -2,7 +2,7 @@ site_name: 'Butter' page_logo_alt: 'Butter App Feature Logo' title: 'Welcome to the Butter Box' -apps_subtitle: 'Get Android apps' +apps_subtitle: 'Get Android apps.' apps_text: 'Download the Butter app to view a collection of apps that use less internet and battery.' fdroid_apps_caption: 'Just a few of the apps available via Butter' fdroid_button_text: 'Download Butter' diff --git a/_scss/helpers/utilities.scss b/_scss/helpers/utilities.scss index d974b36..2678565 100644 --- a/_scss/helpers/utilities.scss +++ b/_scss/helpers/utilities.scss @@ -95,14 +95,16 @@ body { } +.btn-main.btn-slim { + padding: .5em 2.5em; +} + + // Text utility classes .content-text { font-family: $text-font-family; - font-size: 22px; + font-size: 16px; line-height: 1.5; - @media (max-width: 768px) { - font-size: 18px; - } } .caption { diff --git a/_scss/pages/home.scss b/_scss/pages/home.scss index bad0346..3e4ee78 100644 --- a/_scss/pages/home.scss +++ b/_scss/pages/home.scss @@ -177,15 +177,18 @@ a:active { .toggle:checked + .lbl-toggle::after { transform: rotate(360deg) translate(0, -2px); } + .toggle:checked + .content-expander { + border-bottom: none; + } .content-expanded { max-height: 0px; display: none; overflow: hidden; transition: max-height .5s ease-in-out; width: 100%; - padding-bottom: 20px; + padding: 0 10px 20px 10px; margin-bottom: 40px; - margin-top: 20px; + margin-top: 5px; text-align: left; font-size: 13px; border-bottom-color: $lighter-gray; diff --git a/index.html b/index.html index 3b7d49c..0ed6dd9 100644 --- a/index.html +++ b/index.html @@ -13,7 +13,7 @@ layout: default

{% t apps_subtitle %}

{% t apps_text %}

- +