From 3db2b114352ffc066999ece45a8a22fff66e5b8f Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt Date: Mon, 8 Sep 2014 17:55:53 +0200 Subject: fix styling and wording of no-JavaScript message --- core/css/styles.css | 26 +++++++++++++------------- core/templates/layout.user.php | 2 +- 2 files changed, 14 insertions(+), 14 deletions(-) (limited to 'core') diff --git a/core/css/styles.css b/core/css/styles.css index 2f8f9612f78..a7f63e8492e 100644 --- a/core/css/styles.css +++ b/core/css/styles.css @@ -42,28 +42,28 @@ body { position: absolute; top: 0; bottom: 0; - z-index: 999; + z-index: 9000; width: 100%; text-align: center; - background-color: rgba(50,0,0,0.5); - color: white; - text-shadow: 0px 0px 5px black; + background-color: rgba(0,0,0,0.5); + color: #fff; line-height: 125%; - font-size: x-large; + font-size: 24px; } #nojavascript div { + display: block; + position: relative; width: 50%; - top: 40%; - position: absolute; - left: 50%; - margin-left: -25%; + top: 30%; + margin: 0px auto; } #nojavascript a { - color: #ccc; - text-decoration: underline; + color: #fff; + border-bottom: 2px dotted #fff; } -#nojavascript a:hover { - color: #aaa; +#nojavascript a:hover, +#nojavascript a:focus { + color: #ddd; } diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php index 69a181735ca..0038d7fbd82 100644 --- a/core/templates/layout.user.php +++ b/core/templates/layout.user.php @@ -40,7 +40,7 @@ - +
-- cgit v1.2.3 From bd56619e7aa798fe899a04d2f47e450344720215 Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt Date: Mon, 8 Sep 2014 18:07:20 +0200 Subject: also add no-JavaScript notice to log in and sharing pages because they do not work without JS either --- core/css/styles.css | 4 ++-- core/templates/layout.base.php | 1 + core/templates/layout.guest.php | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) (limited to 'core') diff --git a/core/css/styles.css b/core/css/styles.css index a7f63e8492e..ff8cdba55b6 100644 --- a/core/css/styles.css +++ b/core/css/styles.css @@ -39,7 +39,7 @@ body { #nojavascript { - position: absolute; + position: fixed; top: 0; bottom: 0; z-index: 9000; @@ -54,7 +54,7 @@ body { display: block; position: relative; width: 50%; - top: 30%; + top: 35%; margin: 0px auto; } #nojavascript a { diff --git a/core/templates/layout.base.php b/core/templates/layout.base.php index 127e99be84d..009cfe21c3f 100644 --- a/core/templates/layout.base.php +++ b/core/templates/layout.base.php @@ -31,6 +31,7 @@ + diff --git a/core/templates/layout.guest.php b/core/templates/layout.guest.php index 00950802fec..64546dcc01c 100644 --- a/core/templates/layout.guest.php +++ b/core/templates/layout.guest.php @@ -33,6 +33,7 @@ +