[prev in list] [next in list] [prev in thread] [next in thread] 

List:       squid-cvs
Subject:    /bzr/squid3/trunk/ r9327: Polish Error Page CSS
From:       Amos Jeffries <squid3 () treenet ! co ! nz>
Date:       2008-10-27 6:53:22
Message-ID: 20081027070006.10933.qmail () squid-cache ! org
[Download RAW message or body]

--===============0024190998==
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------
revno: 9327
committer: Amos Jeffries <squid3@treenet.co.nz>
branch nick: trunk
timestamp: Mon 2008-10-27 19:53:22 +1300
message:
  Polish Error Page CSS
  
  Update errorpage.css content to display error pages matched to
  squid-cache.org website color scheme and styles including logo.
  
  Add Creative Commons Licence to the CSS file distributed.
  
  Also fix paths for out-of-tree translation.
modified:
  errors/Makefile.am
  errors/errorpage.css

--===============0024190998==
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; name="r9327.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

=== modified file 'errors/Makefile.am'
--- a/errors/Makefile.am	2008-10-26 01:40:10 +0000
+++ b/errors/Makefile.am	2008-10-27 06:53:22 +0000
@@ -151,8 +151,8 @@
 		mkdir $$lang; \
 		cd $$lang; \
 		echo -n "Translate '$$lang' ..."; \
-		for f in `ls -1 ../templates`; do \
-			$(PO2HTML) --progress=none -i ../$$lang.po -t ../templates/$$f >$$f || exit 1; \
+		for f in `ls -1 ../$(srcdir)/templates`; do \
+			$(PO2HTML) --progress=none -i ../$(srcdir)/$$lang.po -t ../$(srcdir)/templates/$$f >$$f || exit 1; \
 		done; \
 		echo "done."; \
 		cd ..; \

=== modified file 'errors/errorpage.css'
--- a/errors/errorpage.css	2008-10-27 04:21:40 +0000
+++ b/errors/errorpage.css	2008-10-27 06:53:22 +0000
@@ -1,19 +1,37 @@
-/* Stylesheet for Squid Error pages */
+/*
+ Stylesheet for Squid Error pages
+ Adapted from design by Free CSS Templates
+ http://www.freecsstemplates.org
+ Released for free under a Creative Commons Attribution 2.5 License
+*/
 
 /* Page basics */
+* {
+	font-family: verdana, sans-serif;
+}
+
 html body {
-	background-color: #ffffff;
-	font-family: verdana,sans-serif;
+	margin: 0;
+	padding: 0;
+	background: #efefef;
+	font-size: 12px;
+	color: #1e1e1e;
 }
 
 /* Page displayed title area */
 #titles {
+	margin-left: 15px;
+	padding: 10px;
+	padding-left: 100px;
+	background: url('http://www.squid-cache.org/Artwork/SN.png') no-repeat left;
 }
 
 /* initial title */
 #titles h1 {
+	color: #000000;
 }
 #titles h2 {
+	color: #000000;
 }
 
 /* special event: FTP success page titles */
@@ -24,6 +42,8 @@
 
 /* Page displayed body content area */
 #content {
+	padding: 10px;
+	background: #ffffff;
 }
 
 /* General text */
@@ -48,9 +68,11 @@
 
 /* horizontal lines */
 hr {
+	margin: 0;
 }
 
 /* page displayed footer area */
 #footer {
-	width: 100%;
+	font-size: 9px;
+	padding-left: 10px;
 }


--===============0024190998==--
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic