From dd622da0d04fdc257fdd47d3193cd2862298bd69 Mon Sep 17 00:00:00 2001 From: Heikki Hokkanen Date: Tue, 7 Aug 2007 16:11:14 +0300 Subject: [PATCH] Make transparent images, and use CSS to choose the background color. --- statgit | 2 +- statgit.css | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/statgit b/statgit index 232fa18..b7a7936 100755 --- a/statgit +++ b/statgit @@ -7,7 +7,7 @@ import os import re import sys -GNUPLOT_COMMON = 'set terminal png\nset size 0.5,0.5\n' +GNUPLOT_COMMON = 'set terminal png transparent\nset size 0.5,0.5\n' def getoutput(cmd): print '>> %s' % cmd diff --git a/statgit.css b/statgit.css index a1a004d..2c222b5 100644 --- a/statgit.css +++ b/statgit.css @@ -75,3 +75,8 @@ td { border-bottom: 1px solid #cc9; } +img { + border: 1px solid black; + padding: 0.5em; + background-color: white; +}