summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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');