From 855f0613ed1c0fe28f62f105c1433d29cec7fa86 Mon Sep 17 00:00:00 2001 From: bnewbold Date: Tue, 20 Feb 2007 17:39:19 -0800 Subject: moved git_browse style to seperate file, added style options TODO: wire style options --- static/style/default.css | 32 +++----------------------------- static/style/git_browse.css | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+), 29 deletions(-) create mode 100644 static/style/git_browse.css (limited to 'static') diff --git a/static/style/default.css b/static/style/default.css index 27915a9..8c0cd7e 100644 --- a/static/style/default.css +++ b/static/style/default.css @@ -185,34 +185,6 @@ pre.large { width: 160px; height: 180px; } -table.gitbrowser { - width: 100%; - border-spacing: 0px; -} -table.gitbrowser tr { - width: 100%; - margin-bottom: 2px; -} -table.gitbrowser td { - margin: 0px; - border: 1px solid black; - margin: 0px; -} -td.head { - font-weight: bold; - width: 130px; - overflow: hidden; -} - -td.hash { - width: 100px; - overflow: hidden; - text-align: right; -} -span.hash { - font-family: courier; -} - #top_bar { height: 22px; background-color: #993333; @@ -223,7 +195,9 @@ span.hash { background-color: #993333; height: 20px; font-family: courier; - font-size: smaller; + font: courier; + font-weight: normal; + font-size: 14px; color: #EEEEEE; float: center; width: 684px; diff --git a/static/style/git_browse.css b/static/style/git_browse.css new file mode 100644 index 0000000..a88147d --- /dev/null +++ b/static/style/git_browse.css @@ -0,0 +1,35 @@ +pre.large { + font-family: courier; + margin: 10px; + padding: 6px; + border: 1px solid black; + background-color: #F2D1D1; + overflow: auto; } + +table.gitbrowser { + width: 100%; + border-spacing: 2px; +} +table.gitbrowser tr { + width: 100%; + background-color: #EEEEEE; +} +table.gitbrowser td { + margin: 0px; + margin-bottom: 2px; +} +td.head { + font-weight: bold; + width: 130px; + overflow: hidden; +} + +td.hash { + width: 100px; + overflow: hidden; + text-align: right; +} +span.hash { + font-family: courier; +} + -- cgit v1.2.3