From 5db39170b6c979655a0238dcd627e206febed88b Mon Sep 17 00:00:00 2001 From: Lars Hjemli Date: Tue, 22 May 2007 23:08:46 +0200 Subject: Add cgit_print_age() function This function can be used to print relative dates, just as in gitweb. Next step will be to actually use the new function. Signed-off-by: Lars Hjemli --- cgit.css | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'cgit.css') diff --git a/cgit.css b/cgit.css index 95c3e40..327eaba 100644 --- a/cgit.css +++ b/cgit.css @@ -388,3 +388,28 @@ td.toplevel-repo { table.list td.sublevel-repo { padding-left: 1.5em; } + +span.age-mins { + font-weight: bold; + color: #080; +} + +span.age-hours { + color: #080; +} + +span.age-days { + color: #040; +} + +span.age-weeks { + color: #444; +} + +span.age-months { + color: #888; +} + +span.age-years { + color: #bbb; +} -- cgit v1.2.3-24-g4f1b