From 79633ab1fbb823ca2f6267e99bb8912ce227d293 Mon Sep 17 00:00:00 2001 From: FuXiaoHei Date: Tue, 25 Mar 2014 00:09:58 +0800 Subject: [PATCH] file size and file raw style update --- public/css/gogs.css | 6 ++++++ templates/repo/single_file.tmpl | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/public/css/gogs.css b/public/css/gogs.css index 434af035..8b031d6e 100755 --- a/public/css/gogs.css +++ b/public/css/gogs.css @@ -676,6 +676,12 @@ html, body { margin: 0 .5em 0 0; } +.file-content .file-head .file-size{ + font-size: 13px; + color: #888; + margin-left: 1em; +} + .file-content .file-body { padding: 30px 30px 50px; border: none; diff --git a/templates/repo/single_file.tmpl b/templates/repo/single_file.tmpl index d00bffa9..45586012 100644 --- a/templates/repo/single_file.tmpl +++ b/templates/repo/single_file.tmpl @@ -5,7 +5,7 @@ {{.FileName}} {{else}} - {{.FileName}} {{FileSize .FileSize}} + {{.FileName}} {{FileSize .FileSize}}
Raw @@ -17,7 +17,7 @@
{{if not .FileIsText}} {{else}} {{if .ReadmeExist}}