From 9edac05e05387e335466957ecf3400a19c6ae808 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Fri, 31 Mar 2017 15:11:40 -0400 Subject: [PATCH] templates/repo: improve README icon and font --- public/css/gogs.css | 3 ++- public/less/_repository.less | 3 ++- templates/repo/view_file.tmpl | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/public/css/gogs.css b/public/css/gogs.css index e5f1d0b58..fc65aa7d1 100644 --- a/public/css/gogs.css +++ b/public/css/gogs.css @@ -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; diff --git a/public/less/_repository.less b/public/less/_repository.less index 7d2c28476..d379c0cdc 100644 --- a/public/less/_repository.less +++ b/public/less/_repository.less @@ -403,7 +403,8 @@ .plain-text { font-size: 14px; - padding: 10px 15px; + padding: 15px 15px 10px 15px; + font-family: Consolas; } .code-view { * { diff --git a/templates/repo/view_file.tmpl b/templates/repo/view_file.tmpl index fe68b7cb6..4096741a9 100644 --- a/templates/repo/view_file.tmpl +++ b/templates/repo/view_file.tmpl @@ -1,7 +1,7 @@

{{if .ReadmeExist}} - + {{if .ReadmeInList}} {{.FileName}} {{else}}