]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Polish Error Page CSS
authorAmos Jeffries <squid3@treenet.co.nz>
Mon, 27 Oct 2008 06:53:22 +0000 (19:53 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 27 Oct 2008 06:53:22 +0000 (19:53 +1300)
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.

errors/Makefile.am
errors/errorpage.css

index 46afda9d269037a123d51e38badda9a48ef7f607..00c2f98e1d268981c0fec86ffc10b9c710ae2b64 100644 (file)
@@ -151,8 +151,8 @@ translate:
                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 ..; \
index 1c13ae145626914a0706852a7d7e8adc25e0f686..449a8ca34e5d7e784c5571388282e6b70f54d1d3 100644 (file)
@@ -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 @@ html body {
 
 /* Page displayed body content area */
 #content {
+       padding: 10px;
+       background: #ffffff;
 }
 
 /* General text */
@@ -48,9 +68,11 @@ pre {
 
 /* horizontal lines */
 hr {
+       margin: 0;
 }
 
 /* page displayed footer area */
 #footer {
-       width: 100%;
+       font-size: 9px;
+       padding-left: 10px;
 }