repo description ui update

This commit is contained in:
FuXiaoHei 2014-03-19 21:00:20 +08:00
parent 78097a2c5a
commit 06af48503c
2 changed files with 11 additions and 1 deletions

View File

@ -414,6 +414,15 @@ html, body {
height: auto; height: auto;
} }
.gogs-repo-nav .name{
margin-top: 15px;
}
.gogs-repo-nav .desc{
color: #888;
margin-bottom: 0;
}
.gogs-repo-nav h3 .fa { .gogs-repo-nav h3 .fa {
color: #BBB; color: #BBB;
margin-left: 0; margin-left: 0;

View File

@ -2,7 +2,8 @@
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="col-md-6"> <div class="col-md-6">
<h3><i class="fa fa-book fa-lg"></i><a href="{{.Owner.HomeLink}}">{{.Owner.Name}}</a> / {{.Repository.Name}}</h3> <h3 class="name"><i class="fa fa-book fa-lg"></i><a href="{{.Owner.HomeLink}}">{{.Owner.Name}}</a> / {{.Repository.Name}}</h3>
<p class="desc">a sentence to describe the repository.<a href="#">official-site</a></p>
</div> </div>
{{if not .IsBareRepo}} {{if not .IsBareRepo}}
<div class="col-md-6 actions text-right"> <div class="col-md-6 actions text-right">