From dc509d8fd4f143baed41eb14f674604206a0e7d5 Mon Sep 17 00:00:00 2001 From: Yorhel Date: Thu, 1 Jan 2009 11:45:34 +0100 Subject: Added possibility to hide the main title in skins Simply set the 'maintitle' to '0' --- data/skingen/style.css | 2 +- static/s/angel/conf | 2 +- util/skingen.pl | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/data/skingen/style.css b/data/skingen/style.css index 18fde280..f4c561c9 100644 --- a/data/skingen/style.css +++ b/data/skingen/style.css @@ -49,8 +49,8 @@ img { font-family: "Futura", "Century New Gothic", "Arial", Serif; font-size: 19pt; font-style: italic; - color: $maintitle$; border: none!important; + $_maintitle$ } #footer { diff --git a/static/s/angel/conf b/static/s/angel/conf index 72df41b0..f554cec3 100644 --- a/static/s/angel/conf +++ b/static/s/angel/conf @@ -10,7 +10,7 @@ statnok #c00 // generoc 'not ok' text color (used for above, and as border footer #135 // text color of the footer // titles -maintitle #135 // text color of the site title +maintitle #135 // text color of the site title, set to '0' to hide the main title boxtitle #258 // box titles alttitle #fff // alternative title diff --git a/util/skingen.pl b/util/skingen.pl index 40035a5c..d1ae65fe 100755 --- a/util/skingen.pl +++ b/util/skingen.pl @@ -61,6 +61,8 @@ sub writeskin { # $obj $o->{_bodybg} = "background: $o->{bodybg} url($o->{imglefttop}) no-repeat"; } + # main title + $o->{_maintitle} = $o->{maintitle} ? "color: $o->{maintitle}" : 'display: none'; # create boxbg.png my $img = Image::Magick->new(size => '1x1'); -- cgit v1.2.3