summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2008-12-23 09:44:09 +0100
committerYorhel <git@yorhel.nl>2008-12-23 09:44:09 +0100
commit99c38fd5886778178cd752a91ca41d9686de0ce6 (patch)
tree4c2bd36fa1dff7034a5da53136db256779b7ccd9 /lib
parent6b7cddf56b0a7a487f087b0cc4fef5306c1b4bba (diff)
A DRY appreach to skins: there's only one main CSS file now
So, instead of using separate smaller CSS files to overwrite directives in the main (/static/f/style.css) file, I decided to generate one CSS file for each skin, which includes everything needed to render the page. The template for this skin is now /data/skingen/style.css. I just don't feel like maintaining two separate files when changing something to the CSS. Also converted the old layout into a skin directory (angel), since the default skin isn't in the CSS template anymore.
Diffstat (limited to 'lib')
-rw-r--r--lib/VNDB/Util/LayoutHTML.pm1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/VNDB/Util/LayoutHTML.pm b/lib/VNDB/Util/LayoutHTML.pm
index 0c125b35..eb71b819 100644
--- a/lib/VNDB/Util/LayoutHTML.pm
+++ b/lib/VNDB/Util/LayoutHTML.pm
@@ -18,7 +18,6 @@ sub htmlHeader { # %options->{ title, js, noindex, search }
head;
title $o{title};
Link rel => 'shortcut icon', href => '/favicon.ico', type => 'image/x-icon';
- Link rel => 'stylesheet', href => $self->{url_static}.'/f/style.css', type => 'text/css', media => 'all';
Link rel => 'stylesheet', href => $self->{url_static}.'/s/test/style.css', type => 'text/css', media => 'all';
if($o{js}) {
script type => 'text/javascript', src => $self->{url_static}.'/f/forms.js'; end;