From 04e197f9cc63575eae73f9c74d52eb6ffc484c59 Mon Sep 17 00:00:00 2001 From: Andy Miller Date: Thu, 30 Oct 2014 16:36:34 -0600 Subject: [PATCH] Better safari support on error page --- system/src/Grav/Common/Errors/Resources/error.css | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/system/src/Grav/Common/Errors/Resources/error.css b/system/src/Grav/Common/Errors/Resources/error.css index 2e20d47b3..065f7b624 100644 --- a/system/src/Grav/Common/Errors/Resources/error.css +++ b/system/src/Grav/Common/Errors/Resources/error.css @@ -4,22 +4,23 @@ html, body { body { margin:0 3rem; padding:0; - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 1.5rem; line-height: 1.4; - display: -webkit-box; - display: -moz-box; - display: -ms-flexbox; - display: -webkit-flex; + display: -webkit-box; /* OLD - iOS 6-, Safari 3.1-6 */ + display: -moz-box; /* OLD - Firefox 19- (buggy but mostly works) */ + display: -ms-flexbox; /* TWEENER - IE 10 */ + display: -webkit-flex; /* NEW - Chrome */ display: flex; + -webkit-align-items: center; align-items: center; + -webkit-justify-content: center; justify-content: center; } .container { margin: 0rem; max-width: 600px; - padding-bottom:10rem; + padding-bottom:5rem; } header {