From b057cffd85746363a5279e9178721f8418294d65 Mon Sep 17 00:00:00 2001 From: FuXiaoHei Date: Sat, 12 Apr 2014 12:47:35 +0800 Subject: [PATCH] fix logo ui, add following ui in user-profile page --- public/css/gogs.css | 17 +++++++++++++++++ templates/user/profile.tmpl | 12 ++++++++++++ 2 files changed, 29 insertions(+) diff --git a/public/css/gogs.css b/public/css/gogs.css index 634548b8..8be2bc4e 100755 --- a/public/css/gogs.css +++ b/public/css/gogs.css @@ -74,6 +74,7 @@ html, body { padding-left: 0; padding-right: 0; margin-right: 10px; + margin-top: 0; } .nav-item:hover, @@ -310,6 +311,22 @@ html, body { padding-right: 18px; } +#user-profile .profile-rel .col-md-6 { + text-align: center; + padding-bottom: 12px; +} + +#user-profile .profile-rel strong { + font-size: 24px; + color: #444; + display: block; +} + +#user-profile .profile-rel p { + margin-right: 0; + color: #888; +} + #user-activity .tab-pane { padding: 20px; } diff --git a/templates/user/profile.tmpl b/templates/user/profile.tmpl index 88ee318f..0cbd3489 100644 --- a/templates/user/profile.tmpl +++ b/templates/user/profile.tmpl @@ -10,6 +10,18 @@