From 9a3fe5caa5c9623f581b4149d13615cb048b5392 Mon Sep 17 00:00:00 2001 From: Nate Weaver Date: Fri, 13 Mar 2020 21:36:16 -0500 Subject: [PATCH 1/2] Add a max-width to body --- iOS/Resources/styleSheet.css | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/iOS/Resources/styleSheet.css b/iOS/Resources/styleSheet.css index b5bd49dee..4a304f933 100644 --- a/iOS/Resources/styleSheet.css +++ b/iOS/Resources/styleSheet.css @@ -6,13 +6,17 @@ body { margin-top: 3px; margin-bottom: 20px; - margin-left: 20px; - margin-right: 20px; + margin-left: auto; + margin-right: auto; + padding-left: 20px; + padding-right: 20px; word-wrap: break-word; word-break: break-word; -webkit-hyphens: auto; -webkit-text-size-adjust: none; + + max-width: 44em; } a { From e6af6ece4209d3dcea2cb1a73a04cd77dfe3fc4f Mon Sep 17 00:00:00 2001 From: Nate Weaver Date: Fri, 13 Mar 2020 22:01:07 -0500 Subject: [PATCH 2/2] Add top and bottom margins to figure elements --- iOS/Resources/styleSheet.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/iOS/Resources/styleSheet.css b/iOS/Resources/styleSheet.css index 4a304f933..0190e1e69 100644 --- a/iOS/Resources/styleSheet.css +++ b/iOS/Resources/styleSheet.css @@ -15,7 +15,7 @@ body { word-break: break-word; -webkit-hyphens: auto; -webkit-text-size-adjust: none; - + max-width: 44em; } @@ -193,6 +193,11 @@ img, figure, iframe, div { margin: 0 auto; } +figure { + margin-bottom: 1em; + margin-top: 1em; +} + video { width: 100% !important; height: auto !important;