X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/829781346b75bdd66e4c964e8bce3b84cf8ed3fc..bac74b5934f22cc3d0e971d26fe0275f7f5db7b3:/common.inc.plp diff --git a/common.inc.plp b/common.inc.plp index cabdc90..cfd961e 100644 --- a/common.inc.plp +++ b/common.inc.plp @@ -1,6 +1,6 @@ <: +use 5.014; use utf8; -use strict; use warnings; no warnings 'qw'; # you know what you doing no warnings 'uninitialized'; # save some useless checks for more legible code @@ -41,7 +41,7 @@ sub stylesheet { return join "\n", map { sprintf( '', - $_ eq $style ? 'stylesheet' : 'alternate stylesheet', "/$_.css?1.7", $_ + $_ eq $style ? 'stylesheet' : 'alternate stylesheet', "/$_.css?1.9", $_ ) } @_; } @@ -109,6 +109,7 @@ sub Html { $meta->{title} + EOT print $_, "\n" for $meta->{stylesheet} || (); @@ -122,6 +123,8 @@ EOT 'opacity: .5', 'border: 1ex solid red', 'border-width: 1ex 0', + 'z-index: 1', + 'background: inherit', ) if $ENV{HTTP_HOST} =~ /\bdev\./; # prepare trailing output @@ -130,7 +133,7 @@ EOT