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.
pull/4/head
Adrian Perez 2010-06-10 14:52:23 +02:00
parent 062b851137
commit 224db63c53
2 changed files with 2 additions and 18 deletions

View File

@ -6,8 +6,7 @@ static const u_char t01_head1[] = ""
"\n" "\n"
"<head>" "<head>"
"<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\"/>" "<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\"/>"
"<style type=\"text/css\" media=\"screen\">" "<style type=\"text/css\">"
"\n"
"body,html {" "body,html {"
"background:#fff;" "background:#fff;"
"font-family:\"Bitstream Vera Sans\",\"Lucida Grande\"," "font-family:\"Bitstream Vera Sans\",\"Lucida Grande\","
@ -35,13 +34,6 @@ static const u_char t01_head1[] = ""
"a:hover {" "a:hover {"
"color:#e33;" "color:#e33;"
"}" "}"
"#readme {"
"padding:0;"
"margin:1em 0;"
"border:none;"
"width:100%;"
"}"
"\n"
"</style>" "</style>"
"\n" "\n"
"<title>Index of " "<title>Index of "

View File

@ -5,8 +5,7 @@
<head> <head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/> <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<style type="text/css" media="screen"> <style type="text/css">
body,html { body,html {
background:#fff; background:#fff;
font-family:"Bitstream Vera Sans","Lucida Grande", font-family:"Bitstream Vera Sans","Lucida Grande",
@ -34,13 +33,6 @@
a:hover { a:hover {
color:#e33; color:#e33;
} }
#readme {
padding:0;
margin:1em 0;
border:none;
width:100%;
}
</style> </style>
<title>Index of <title>Index of