diff options
-rwxr-xr-x | public/css/gogs.css | 13 | ||||
-rw-r--r-- | templates/repo/collaboration.tmpl | 2 | ||||
-rw-r--r-- | templates/repo/setting.tmpl | 2 | ||||
-rw-r--r-- | templates/user/profile.tmpl | 2 |
4 files changed, 13 insertions, 6 deletions
diff --git a/public/css/gogs.css b/public/css/gogs.css index ce9f27e410..b4855d7805 100755 --- a/public/css/gogs.css +++ b/public/css/gogs.css @@ -311,11 +311,18 @@ html, body { border-radius: 2px; } -#user-name { - margin-top: 20px; +#user-name,#user-full-name { font-size: 1.6em; font-weight: bold; +} + +#user-name{ margin-bottom: 20px; + margin-top: 10px; +} + +#user-full-name{ + margin-top: 20px; } #user-profile .profile-info .list-group-item { @@ -387,7 +394,7 @@ html, body { /* gogits user setting */ -#user-setting-nav { +#user-setting-nav.repo-setting-nav { background-color: #FFF; border: 1px solid #CCC; padding: 0; diff --git a/templates/repo/collaboration.tmpl b/templates/repo/collaboration.tmpl index aea0aa4147..ec0b832a42 100644 --- a/templates/repo/collaboration.tmpl +++ b/templates/repo/collaboration.tmpl @@ -3,7 +3,7 @@ {{template "repo/nav" .}} {{template "repo/toolbar" .}} <div id="body" class="container"> - <div id="user-setting-nav" class="col-md-2"> + <div id="user-setting-nav" class="col-md-2 repo-setting-nav"> <ul class="list-group"> <li class="list-group-item"><a href="/{{.Owner.Name}}/{{.Repository.Name}}/settings">Options</a></li> <li class="list-group-item active"><a href="/{{.Owner.Name}}/{{.Repository.Name}}/collaboration">Collaborators</a></li> diff --git a/templates/repo/setting.tmpl b/templates/repo/setting.tmpl index 9066b587d8..6672e90b59 100644 --- a/templates/repo/setting.tmpl +++ b/templates/repo/setting.tmpl @@ -3,7 +3,7 @@ {{template "repo/nav" .}} {{template "repo/toolbar" .}} <div id="body" class="container"> - <div id="user-setting-nav" class="col-md-2"> + <div id="user-setting-nav" class="col-md-2 repo-setting-nav"> <ul class="list-group"> <li class="list-group-item active"><a href="/{{.Owner.Name}}/{{.Repository.Name}}/settings">Options</a></li> <li class="list-group-item"><a href="/{{.Owner.Name}}/{{.Repository.Name}}/collaboration">Collaborators</a></li> diff --git a/templates/user/profile.tmpl b/templates/user/profile.tmpl index 43ecabfa16..4c42be2483 100644 --- a/templates/user/profile.tmpl +++ b/templates/user/profile.tmpl @@ -6,7 +6,7 @@ <a href="http://gravatar.com/emails/" class="center-block" data-toggle="tooltip" data-placement="bottom" title="Change your avatar at gravatar.com"> <img id="user-avatar" src="{{.Owner.AvatarLink}}?s=200" alt="user-avatar" title="{{.Owner.Name}}"/> </a> - {{if .Owner.FullName}}<span id="user-name" class="center-block">{{.Owner.FullName}}</span>{{end}} + {{if .Owner.FullName}}<span id="user-full-name" class="center-block">{{.Owner.FullName}}</span>{{end}} <span id="user-name" class="center-block">{{.Owner.Name}}</span> </div> <div class="profile-info"> |