summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2009-01-01 11:45:34 +0100
committerYorhel <git@yorhel.nl>2009-01-02 17:02:07 +0100
commitdc509d8fd4f143baed41eb14f674604206a0e7d5 (patch)
tree8a22ee383a2b366b5815243a0c97a7fcb55e49a1
parent614f3a03fc1a9a1d61d294fbb8664db93f96ebdc (diff)
Added possibility to hide the main title in skins
Simply set the 'maintitle' to '0'
-rw-r--r--data/skingen/style.css2
-rw-r--r--static/s/angel/conf2
-rwxr-xr-xutil/skingen.pl2
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');