From 606ad6dcd03185c5755708af500072b2098dca3c Mon Sep 17 00:00:00 2001 From: slene Date: Sun, 16 Mar 2014 00:41:12 +0800 Subject: [PATCH] update user repos style --- public/css/gogs.css | 32 ++++++++++++++++++++++++++++++++ templates/user/profile.tmpl | 12 ++++++++++-- 2 files changed, 42 insertions(+), 2 deletions(-) diff --git a/public/css/gogs.css b/public/css/gogs.css index 1c0b2d7be3..6b510364b7 100755 --- a/public/css/gogs.css +++ b/public/css/gogs.css @@ -551,6 +551,38 @@ html, body { border-top: none; } +.repo-list li { + padding: 15px 0; + border-top: 1px solid #ddd; +} + +.repo-list li:first-child { + border-top: none; +} + +.repo-list h4 { + font-weight: bold; + font-size: 24px; +} + +.repo-list .meta { + margin: 15px 0 0; + font-size: 14px; +} + +.repo-list .desc { + font-size: 15px; +} + +.repo-list .meta .fa { + margin: 0 0 0 20px; +} + +.repo-list .meta, +.repo-list .info { + color: #999; +} + #wrapper { min-height: 100%; height: auto !important; diff --git a/templates/user/profile.tmpl b/templates/user/profile.tmpl index aa15cb88bb..84d3b13c92 100644 --- a/templates/user/profile.tmpl +++ b/templates/user/profile.tmpl @@ -46,10 +46,18 @@ {{else}} {{$owner := .Owner}}
+
{{end}}