From 224db63c5388b19b69299184b9e775d6afc43af9 Mon Sep 17 00:00:00 2001 From: Adrian Perez Date: Thu, 10 Jun 2010 14:52:23 +0200 Subject: [PATCH] Save some bytes removing things in the template * Removed the 'media="screen"', because it is unlikely that an user would like to print a file listing. * Removed unused "#readme" rule in the CSS part. Support for inlining a file was discontinued long ago. --- template.h | 10 +--------- template.html | 10 +--------- 2 files changed, 2 insertions(+), 18 deletions(-) diff --git a/template.h b/template.h index ae92b5e..8312eb9 100644 --- a/template.h +++ b/template.h @@ -6,8 +6,7 @@ static const u_char t01_head1[] = "" "\n" "" "" -"" "\n" "Index of " diff --git a/template.html b/template.html index 89f1e8c..c86f17c 100644 --- a/template.html +++ b/template.html @@ -5,8 +5,7 @@ <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"/> - <style type="text/css" media="screen"> - + <style type="text/css"> body,html { background:#fff; font-family:"Bitstream Vera Sans","Lucida Grande", @@ -34,13 +33,6 @@ a:hover { color:#e33; } - #readme { - padding:0; - margin:1em 0; - border:none; - width:100%; - } - </style> <title>Index of