From ce33be67c4c8c783713ad51c187e8296ed71f233 Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Tue, 05 Apr 2011 08:24:53 -0400 Subject: [PATCH] Fixed-width 980px and centered. Dropped About. --- resources/gitblit.css | 346 +++++++++++++++++++++++++++++++++++++++++++++++++++++---- 1 files changed, 318 insertions(+), 28 deletions(-) diff --git a/resources/gitblit.css b/resources/gitblit.css index d81c063..032b26e 100644 --- a/resources/gitblit.css +++ b/resources/gitblit.css @@ -1,56 +1,346 @@ /* - JGitWeb css. + Git:Blit css. */ -body, table, tr, th, td { font-size: 13px; } - -table.object_header td, div.page_body, table.diff_tree td { +html, body, table, dl, dt, dd, ol, ul, li, form, a, span, tr, th, td, div, em { + font-family: verdana, sans-serif; font-size: 12px; + line-height: 15px; } -table.diff_tree td div.link { - padding: 2px 5px; - font-family: sans-serif; - font-size: 9px; -} - -div.link { - padding: 2px 5px; - font-family: sans-serif; - font-size: 9px; +body { + width: 980px; + margin: 5px; + background-color: #ffffff; + color: #000000; + margin-right: auto; + margin-left: auto; + margin-top: none; + padding: 0px; } pre.prettyprint, pre.plainprint { + color: black; font-size:12px; border:0px; } -div.page_nav2 { - padding: 0px 8px 8px 8px; -} - -table.project_list tr th a { padding-right: 15px; background-position: right; background-repeat:no-repeat; } -table.project_list tr th.wicket_orderDown a {font-weight: bold; background-image: url(arrow_down.png); } -table.project_list tr th.wicket_orderUp a { font-weight: bold; background-image: url(arrow_up.png); } -table.project_list tr th.wicket_orderNone a { font-weight: normal; background-image: url(arrow_off.png); } - /* age0: age < 60*60*2 */ -table.project_list .age0 { +.age0 { color: #009900; font-style: italic; font-weight: bold; } /* age1: 60*60*2 <= age < 60*60*24*2 */ -table.project_list .age1 { +.age1 { color: #009900; font-style: italic; } /* age2: 60*60*24*2 <= age */ -table.project_list .age2 { +.age2 { font-style: italic; } -table.diff_tree td.size { - width:80px; + +a { + color: #0000cc; +} + +a:hover, a:visited, a:active { + color: #880000; +} + +img.logo { + float: right; + border-width: 0px; +} + +img.activityGraph { + float: right; + border-width: 0px; + padding: 8px; +} + +div.header { + background-color: #D2C3AF; + padding: 3px; + border: 1px solid #808080; +} + +div.header a { + color: black; + text-decoration: none; + font-weight: bold; +} + +div.header a:hover { + text-decoration: underline; +} + +div.pager { + padding: 0px 0px 15px 5px; +} + +div.link { + padding: 2px 5px; + font-family: sans-serif; + font-size: 11px; +} + +div.link span { + font-family: inherit; + font-size: inherit; +} + +div.link a { + font-family: inherit; + font-size: inherit; +} + +div.page_header { + height: 25px; + padding: 5px; + font-family: sans-serif; + font-weight: bold; + font-size: 150%; + color: #bbb; + background-color: #ffffff; +} + +div.page_header span { + font-family: inherit; + font-size: inherit; +} + +div.page_header a { + font-size: inherit; + font-family: inherit; + text-decoration: none; +} + +div.page_header a:visited { + color: #000000; +} + +div.page_header a:hover { + color: E66C2C; + text-decoration: underline; +} + +div.page_footer { + height: 17px; + color: black; + background-color: #ffffff; + padding: 5px; + border-top: 1px solid #bbb; + font-style: italic; +} + +div.page_nav { + color: #ddd; + background-color: #000070; + padding: 5px; +} + +div.page_nav a { + color: yellow; + text-decoration: none; +} + +div.page_nav a:hover { + text-decoration: underline; +} + +div.page_nav2 { + padding: 2px 5px 7px 5px; +} + +.repositories_message { + border: solid #bbb; + border-width: 0px 0px 1px; + padding: 8px; +} + +div.page_path { + padding: 8px; + font-weight: bold; + border: solid #bbb; + border-width: 0px 0px 1px; +} + +div.commit_message { + padding: 8px; + border: solid #bbb; + border-width: 1px 0px 1px; +} + +a.list { + text-decoration: none; + color: #000000; +} + +a.list:hover { + text-decoration: underline; + color: #880000; +} + +table { + border-spacing: 0px; +} + +th { + padding: 2px 5px; + font-size: 100%; + text-align: left; +} + +table.plain { + padding: 8px; +} + +table.pretty, table.repositories { + margin-top:5px; + margin-bottom:5px; + border-spacing: 0px; + border-top: 1px solid #bbb; + border-left: 1px solid #bbb; + border-right: 1px solid #bbb; +} + +table.repositories { + width:100%; +} + +table.repositories th { + background-color:#000070; + padding: 4px; + border-bottom: 1px solid #bbb; +} + +table.repositories td { + padding: 4px; +} + +table.repositories th a { + color:#ddd; + text-decoration: none; + font-weight: normal; +} + +table.repositories th a:hover { + text-decoration: underline; +} + +table.repositories th.wicket_orderDown a, table.repositories th.wicket_orderUp a { + color: yellow; +} + +tr th a { padding-right: 15px; background-position: right; background-repeat:no-repeat; } +tr th.wicket_orderDown a {background-image: url(arrow_down.png); } +tr th.wicket_orderUp a { background-image: url(arrow_up.png); } +tr th.wicket_orderNone a { background-image: url(arrow_off.png); } + +tr.light { + background-color: #ffffff; +} + +tr.light td { + border-bottom: 1px solid #bbb; +} + +tr.dark { + background-color: #faf8dc; + border-bottom: 1px solid #bbb; +} + +tr.dark td { + border-bottom: 1px solid #bbb; +} + +/* currently both use the same, but it can change */ +tr.light:hover, +tr.dark:hover { + /*background-color: #0099b7;*/ + background-color: #000070; + color: white; +} + +tr.light:hover a, +tr.dark:hover a { + color: white; +} + +td { + padding-left: 7px; + padding-right: 7px; +} + +td.author { + font-style: italic; +} + +td.date { + font-style: italic; + width:90px; +} + +td.sha1, td.sha1 span { + font-family: monospace; + font-size: 13px; +} + +td.mode { + font-family: monospace; + width:90px; + padding-right:15px; +} + +td.size { + text-align: right; + width:100px; + padding-right:15px; +} + +td.rightAlign { + text-align: right; +} + +span.refs span { + padding: 0px 4px; + font-family: sans-serif; + font-size: 70%; + font-weight: normal; + border: 1px solid; + background-color: #ffaaff; + border-color: #ffccff #ff00ee #ff00ee #ffccff; + color: black; +} + +span.refs span a { + text-decoration: none; + color: inherit; +} + +span.refs span a:hover { + text-decoration: underline; +} + +span.refs span.indirect { + font-style: italic; +} + +span.refs span.ref { + background-color: #aaaaff; + border-color: #ccccff #0033cc #0033cc #ccccff; +} + +span.refs span.tag { + background-color: #ffffaa; + border-color: #ffffcc #ffee00 #ffee00 #ffffcc; +} + +span.refs span.head { + background-color: #aaffaa; + border-color: #ccffcc #00cc33 #00cc33 #ccffcc; } \ No newline at end of file -- Gitblit v1.9.1