From e506bf67860c1b923e60cc790ca1e697448d0072 Mon Sep 17 00:00:00 2001 From: steverusso Date: Tue, 28 Apr 2020 11:30:13 -0400 Subject: [PATCH] Fix the About page quote text-align on different screen sizes. --- layouts/section/about.html | 4 ++-- static/simplesystems.css | 7 ++++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/layouts/section/about.html b/layouts/section/about.html index 6d0ad74..53811c0 100644 --- a/layouts/section/about.html +++ b/layouts/section/about.html @@ -15,9 +15,9 @@
-

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

+

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


-

-- Albert Einstein

+

-- Albert Einstein

diff --git a/static/simplesystems.css b/static/simplesystems.css index 461fb3c..d8c6ee2 100644 --- a/static/simplesystems.css +++ b/static/simplesystems.css @@ -77,7 +77,6 @@ hr, hr.light { .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 }