From 23c32f44e5ce3e55f8e4517132a72ac0a96e21af Mon Sep 17 00:00:00 2001 From: steverusso Date: Tue, 28 Apr 2020 15:52:49 +0000 Subject: [PATCH] Fix the About page quote text-align on different screen sizes. (#14) Chrome is the new Explorer. Fix the About page quote text-align on different screen sizes. Reviewed-by: jeff --- layouts/section/about.html | 9 ++++----- static/simplesystems.css | 11 ++++++++--- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/layouts/section/about.html b/layouts/section/about.html index 6d0ad74..5027a25 100644 --- a/layouts/section/about.html +++ b/layouts/section/about.html @@ -10,14 +10,13 @@
-
+
-
-

“Any darn fool can make something complex;
It takes a genius to make something simple.”

-
-

-- Albert Einstein

+
+

“Any darn fool can make something complex;
It takes a genius to make something simple.”

+

-- Albert Einstein

diff --git a/static/simplesystems.css b/static/simplesystems.css index 461fb3c..44a9f49 100644 --- a/static/simplesystems.css +++ b/static/simplesystems.css @@ -71,13 +71,12 @@ hr, hr.light { .col.shrink { flex: 0 0 auto !important } @media (min-width: 600px) { .col.sm-content { flex-basis: content !important } - .col.sm-grow { flex-grow: 1 !important; flex-basis: 0 !important; } - .col.sm-shrink { flex: 0 0 auto !important; } + .col.sm-grow { flex: 1 0 0 !important; width: auto !important; } + .col.sm-shrink { flex: 0 0 auto !important; width: auto !important; } .col.sm-6 { width: 50% !important } .col.sm-9 { width: 75% !important } .col.sm-10 { width: 83.3334% !important } - .text-sm-center { text-align: center !important; } .justify-sm-center { justify-content: center !important; } } @media (min-width: 950px) { @@ -105,8 +104,14 @@ hr, hr.light { .align-center { align-items: center !important } .justify-center { justify-content: center !important } .justify-end { justify-content: end !important } + .text-center { text-align: center !important } .text-right { text-align: right !important } +@media (min-width: 600px) { + .text-sm-left { text-align: left !important } + .text-sm-center { text-align: center !important } + .text-sm-right { text-align: right !important } +} .title { font-size: 1.25rem } .headline { font-size: 1.5rem }