From fa9297c71b04ac382980b420dfb6fdbc7d2dc695 Mon Sep 17 00:00:00 2001 From: Rowan Hogan Date: Mon, 21 Sep 2015 13:27:33 -0400 Subject: [PATCH] Small responsive style fixes. --- app/styles/style.scss | 44 +++++++++++++++++++++++++------------------ 1 file changed, 26 insertions(+), 18 deletions(-) diff --git a/app/styles/style.scss b/app/styles/style.scss index c129dc0..2b232a6 100644 --- a/app/styles/style.scss +++ b/app/styles/style.scss @@ -76,24 +76,24 @@ table { img { background-color: white; } + } - @media (max-width: 768px) { - display: block; - float: none !important; - overflow: auto; - width: 100% !important; - font-size: 80%; - margin: 1.5em auto !important; - - caption { - text-align: left; - } - - th, td { - min-width: 3em; - line-height: 1.45em; - width: 500px; - } + @media (max-width: 768px) { + display: block; + float: none !important; + overflow: auto; + width: 100% !important; + font-size: 80%; + margin: 1.5em auto !important; + + caption { + text-align: left; + } + + th, td { + min-width: 3em; + line-height: 1.45em; + width: 500px; } } } @@ -176,10 +176,18 @@ li.toclevel-3:before { text-align: center; } - .thumbinner { + .thumbinner, .thumbinner div { + display: block; + margin: auto; width: auto !important; text-align: center; } + + img { + display: block; + margin-left: auto; + margin-right: auto; + } } // App