templates/repo: improve README icon and font

This commit is contained in:
Unknwon
2017-03-31 15:11:40 -04:00
parent 9c1620d49c
commit 9edac05e05
3 changed files with 5 additions and 3 deletions

View File

@@ -1450,7 +1450,8 @@ footer .ui.language .menu {
}
.repository.file.list #file-content .plain-text {
font-size: 14px;
padding: 10px 15px;
padding: 15px 15px 10px 15px;
font-family: Consolas;
}
.repository.file.list #file-content .code-view * {
font-size: 12px;

View File

@@ -403,7 +403,8 @@
.plain-text {
font-size: 14px;
padding: 10px 15px;
padding: 15px 15px 10px 15px;
font-family: Consolas;
}
.code-view {
* {

View File

@@ -1,7 +1,7 @@
<div id="file-content" class="{{TabSizeClass .Editorconfig .FileName}}">
<h4 class="ui top attached header" id="{{if .ReadmeExist}}repo-readme{{else}}repo-read-file{{end}}">
{{if .ReadmeExist}}
<i class="book icon ui left"></i>
<i class="octicon octicon-book"></i>
{{if .ReadmeInList}}
<strong>{{.FileName}}</strong>
{{else}}