Add the following lines so lighttpd reads a HEADER.txt file.
dir-listing.auto-layout = "disable"
dir-listing.show-header = "enable"
dir-listing.hide-header-file = "enable"
dir-listing.encode-header = "disable"
Then create a HEADER.txt file under /opt/piratebox/www/Shared/ and enter a style sheet.
<style type="text/css">
.body {}
</style>
I used a style sheet from http://redmine.lighttpd.net/boards/3/topics/5418 as a proof of concept. You will have to copy the HEADER.txt to subdirectories too so that they match.
Restart lighttpd.
/etc/init.d/piratebox stop
/etc/init.d/piratebox start
/etc/init.d/piratebox stop
/etc/init.d/piratebox start
sources:
http://sylvain.naud.in/post/2013/06/16/Personnaliser-le-r%C3%A9pertoire-Lighttpd-de-votre-PirateBox#attachments [french]
http://forum.daviddarts.com/read.php?2,7469
http://sylvain.naud.in/post/2013/06/16/Personnaliser-le-r%C3%A9pertoire-Lighttpd-de-votre-PirateBox#attachments [french]
http://forum.daviddarts.com/read.php?2,7469