diff --git a/public/ng/css/gogs.css b/public/ng/css/gogs.css index dbaa3db1c..7116afc0c 100644 --- a/public/ng/css/gogs.css +++ b/public/ng/css/gogs.css @@ -709,6 +709,7 @@ ol.linenums { #dashboard-header { border-bottom: 1px solid #d6d6d6; height: 69px; + background-color: #FFF; } #dashboard-header > .menu-line > li { padding: 12px 6px; @@ -824,6 +825,11 @@ ol.linenums { #dashboard-my-repo .repo-contrib-header { border-top: 1px solid #d6d6d6; } +#dashboard-my-mirror .panel-header, +#dashboard-my-org .panel-header, +#dashboard-my-repo .panel-header { + font-size: 14px; +} #dashboard-my-repo .panel-header .octicon { margin-right: 6px; font-size: 12px; @@ -1244,7 +1250,8 @@ The register and sign-in page style font-weight: normal; color: #888; } -#repo-readme { +#repo-readme, +#repo-read-file { margin-bottom: 80px; } #repo-bare-start { diff --git a/public/ng/less/gogs/dashboard.less b/public/ng/less/gogs/dashboard.less index 24c433a31..cf1b87cc6 100644 --- a/public/ng/less/gogs/dashboard.less +++ b/public/ng/less/gogs/dashboard.less @@ -12,6 +12,7 @@ #dashboard-header { border-bottom: 1px solid @dashboardHeaderBorderColor; height: 69px; + background-color: #FFF; > .menu-line { > li { padding: 12px 6px; @@ -125,6 +126,9 @@ .repo-contrib-header { border-top: 1px solid #d6d6d6; } + .panel-header{ + font-size: 14px; + } } #dashboard-my-repo { .panel-header { diff --git a/public/ng/less/gogs/repository.less b/public/ng/less/gogs/repository.less index 7d6cdd0a5..236271d47 100644 --- a/public/ng/less/gogs/repository.less +++ b/public/ng/less/gogs/repository.less @@ -301,7 +301,8 @@ } } } -#repo-readme { +#repo-readme, +#repo-read-file{ margin-bottom: 80px; } #repo-bare-start { diff --git a/templates/repo/home.tmpl b/templates/repo/home.tmpl index 32fbf5822..a9d7f3040 100644 --- a/templates/repo/home.tmpl +++ b/templates/repo/home.tmpl @@ -3,7 +3,7 @@
{{template "repo/header" .}}
-
+

{{.Repository.DescriptionHtml}} {{.Repository.Website}} diff --git a/templates/repo/sidebar.tmpl b/templates/repo/sidebar.tmpl index a4fa17b75..d43e36063 100644 --- a/templates/repo/sidebar.tmpl +++ b/templates/repo/sidebar.tmpl @@ -1,4 +1,4 @@ -

+