From c1ea3981cf2404e05a5afc6c8e13f66a65902664 Mon Sep 17 00:00:00 2001 From: Anh Pham Date: Mar 24 2019 20:42:28 +0000 Subject: Solved the sidebar scrolling by making text size smaller and editing footer and other pages accordingly, fixed more mobile view problem --- diff --git a/assets/css/custom.css b/assets/css/custom.css index 9bea875..d0a9cb1 100644 --- a/assets/css/custom.css +++ b/assets/css/custom.css @@ -18,7 +18,7 @@ html{ body { font-family: 'Open Sans'; line-height: 1.8em; - font-size: 16px; + font-size: 9px; height: 100%; position: relative; margin: 0; @@ -62,6 +62,7 @@ aside .sidebar a { aside .sidebar .total-packets { cursor: default; + padding: 0; } aside .sidebar .total-packets:hover{ text-decoration: none; @@ -99,6 +100,10 @@ fieldset { margin-top: 1em; } +fieldset .form-group{ + font-size: 1.7em; +} + fieldset legend { font-family: 'Montserrat'; font-style: italic; @@ -107,13 +112,14 @@ fieldset legend { blockquote { border-left: 0px; - font-size: 16px; + font-size: 2rem; color: rgba(0, 0, 0, 0.7); background: url(/static/images/loveletter.png) no-repeat; background-size: 20%; background-position: 0 20px; padding-left: calc(20% + 20px); min-height: 120px; + line-height: 1.8em; } .centered { @@ -260,7 +266,7 @@ blockquote { display: inline-block; vertical-align: top; font: normal normal normal 11px/18px 'Helvetica Neue',Arial,sans-serif; - font-size: 0.6em; + font-size: 1.8em; line-height: 26px; border-radius: 4px; } @@ -281,10 +287,14 @@ blockquote { @media (max-width: 360px) { .btn-responsive { - font-size: 15px; + font-size: 12.5px; + margin: 2em 0; } -} + main .container{ + margin-bottom: 19em; + } +} .twitter { background-color: #00aced; } @@ -303,7 +313,9 @@ blockquote { font-size:2.3rem; } .footer-msg { - padding-top: 0.5rem; + padding-bottom: 1rem; + font-size: 16px; + line-height: 1.8em; } .footer-msg p { font-size: 2rem; @@ -313,12 +325,13 @@ blockquote { } .row p { font-size: 2rem; + line-height: 1.8em; } .footer-share p{ font-size: 2rem; } .socio-buttons { - padding: 1rem; + padding-bottom: 0.5em; font-size: 2rem; } .socio-buttons a { diff --git a/templates/base.html b/templates/base.html index 3fb1125..5f12471 100644 --- a/templates/base.html +++ b/templates/base.html @@ -92,8 +92,8 @@
{% block footer %} - {% include "follow.html" %} -
diff --git a/templates/messaging/inspiration.html b/templates/messaging/inspiration.html index 23251da..2387ccc 100644 --- a/templates/messaging/inspiration.html +++ b/templates/messaging/inspiration.html @@ -6,7 +6,7 @@

Get inspired!

- + Want to send some happiness but having a writer's block? Check out some of these sample messages for inspiration. These are not actual messages that were sent with the system, just some ideas that you can use. Our Happiness Archive contains more messages from diff --git a/templates/messaging/message_sender_confirmation_sent.html b/templates/messaging/message_sender_confirmation_sent.html index 9fa8415..3fa1f7d 100644 --- a/templates/messaging/message_sender_confirmation_sent.html +++ b/templates/messaging/message_sender_confirmation_sent.html @@ -17,7 +17,3 @@ {% endblock content %} - -{% block footer %} - {% include "follow.html" %} -{% endblock %} \ No newline at end of file diff --git a/templates/search/search.html b/templates/search/search.html index 7f14816..3e7a18d 100644 --- a/templates/search/search.html +++ b/templates/search/search.html @@ -4,7 +4,7 @@

Search

{% for field in form %} -
+
{{ field.errors }} {{ field.label_tag }} {{ field }}