mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	update user repos style
This commit is contained in:
		@@ -551,6 +551,38 @@ html, body {
 | 
				
			|||||||
    border-top: none;
 | 
					    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 {
 | 
					#wrapper {
 | 
				
			||||||
    min-height: 100%;
 | 
					    min-height: 100%;
 | 
				
			||||||
    height: auto !important;
 | 
					    height: auto !important;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -46,10 +46,18 @@
 | 
				
			|||||||
            {{else}}
 | 
					            {{else}}
 | 
				
			||||||
            {{$owner := .Owner}}
 | 
					            {{$owner := .Owner}}
 | 
				
			||||||
            <div class="tab-pane active">
 | 
					            <div class="tab-pane active">
 | 
				
			||||||
 | 
					                <ul class="list-unstyled repo-list">
 | 
				
			||||||
                {{range .Repos}}
 | 
					                {{range .Repos}}
 | 
				
			||||||
                    <h4><a href="/{{$owner.Name}}/{{.LowerName}}">{{.LowerName}}</a> <small>Star:{{.NumStars}} Fork:{{.NumForks}}</small></h4>
 | 
					                    <li>
 | 
				
			||||||
                    <p>{{.Description}}</p>
 | 
					                        <div class="meta pull-right"><i class="fa fa-star"></i> {{.NumStars}} <i class="fa fa-code-fork"></i> {{.NumForks}}</div>
 | 
				
			||||||
 | 
					                        <h4>
 | 
				
			||||||
 | 
					                            <a href="/{{$owner.Name}}/{{.LowerName}}">{{.LowerName}}</a>
 | 
				
			||||||
 | 
					                        </h4>
 | 
				
			||||||
 | 
					                        <p class="desc">{{.Description}}</p>
 | 
				
			||||||
 | 
					                        <div class="info">Last updated {{.Updated|TimeSince}}</div>
 | 
				
			||||||
 | 
					                    </li>
 | 
				
			||||||
                {{end}}
 | 
					                {{end}}
 | 
				
			||||||
 | 
					                </ul>
 | 
				
			||||||
            </div>
 | 
					            </div>
 | 
				
			||||||
            {{end}}
 | 
					            {{end}}
 | 
				
			||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user