changeset 44:7fbaf38ecada

make the "not allowed" message look good in 1.6.2 (hack)
author Radomir Dopieralski <devel@sheep.art.pl>
date Sat, 07 Jun 2008 08:47:53 +0200
parents 6dcf076c0551
children 5f969f4491e0
files htdocs/mfact/css/screen.css
diffstat 1 files changed, 23 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/htdocs/mfact/css/screen.css	Sat Jun 07 08:46:16 2008 +0200
+++ b/htdocs/mfact/css/screen.css	Sat Jun 07 08:47:53 2008 +0200
@@ -184,3 +184,26 @@
     font-size: 200%;
     color:#d42029;
 }
+
+/* A hack to make the "You are not allowed to view" message nice in 1.6.2 */
+div#page strong {
+    display: block;
+    padding: 0.5em 224px 1.5em 32px;
+    margin: 0;
+    background: url(../content_background.png) repeat-y;
+    height: 360px;
+    color:#d42029;
+}
+div#page br {
+    display: none;
+}
+div#page div#content strong {
+    display: inline;
+    padding: 0;
+    background: transparent;
+    height: auto;
+    color: inherit;
+}
+div#page div#content br {
+    display: inline;
+}