diff --git a/public/css/index.css b/public/css/index.css index e840659a21..e0b22687a0 100644 --- a/public/css/index.css +++ b/public/css/index.css @@ -2944,6 +2944,14 @@ footer .ui.language .menu { padding-top: 15px; padding-bottom: 80px; } +.explore .navbar { + justify-content: center; + padding-top: 15px !important; + margin-top: -15px !important; + margin-bottom: 15px !important; + background-color: #FAFAFA !important; + border-width: 1px !important; +} .explore .navbar .octicon { width: 16px; text-align: center; diff --git a/public/less/_explore.less b/public/less/_explore.less index 41426e45bd..d44d6377f9 100644 --- a/public/less/_explore.less +++ b/public/less/_explore.less @@ -3,6 +3,13 @@ padding-bottom: @footer-margin * 2; .navbar { + justify-content: center; + padding-top: 15px !important; + margin-top: -15px !important; + margin-bottom: 15px !important; + background-color: #FAFAFA !important; + border-width: 1px !important; + .octicon { width: 16px; text-align: center; @@ -72,4 +79,4 @@ } } } -} \ No newline at end of file +} diff --git a/templates/explore/navbar.tmpl b/templates/explore/navbar.tmpl index 2e20da0fa5..5977e950d0 100644 --- a/templates/explore/navbar.tmpl +++ b/templates/explore/navbar.tmpl @@ -1,14 +1,11 @@ -
- + diff --git a/templates/explore/organizations.tmpl b/templates/explore/organizations.tmpl index 7044894a06..4b1ab18349 100644 --- a/templates/explore/organizations.tmpl +++ b/templates/explore/organizations.tmpl @@ -1,37 +1,33 @@ {{template "base/head" .}}
+ {{template "explore/navbar" .}}
-
- {{template "explore/navbar" .}} -
- {{template "explore/search" .}} + {{template "explore/search" .}} -
- {{range .Users}} -
- -
- {{.Name}} {{.FullName}} -
- {{if .Location}} - {{.Location}} - {{end}} - {{if and .Website}} - - {{.Website}} - {{end}} - {{$.i18n.Tr "user.join_on"}} {{DateFmtShort .Created}} -
-
-
- {{else}} -
{{$.i18n.Tr "explore.org_no_results"}}
- {{end}} +
+ {{range .Users}} +
+ +
+ {{.Name}} {{.FullName}} +
+ {{if .Location}} + {{.Location}} + {{end}} + {{if and .Website}} + + {{.Website}} + {{end}} + {{$.i18n.Tr "user.join_on"}} {{DateFmtShort .Created}} +
+
- - {{template "base/paginate" .}} -
+ {{else}} +
{{$.i18n.Tr "explore.org_no_results"}}
+ {{end}}
+ + {{template "base/paginate" .}}
{{template "base/footer" .}} diff --git a/templates/explore/repos.tmpl b/templates/explore/repos.tmpl index eac3f1d26c..9ca9879103 100644 --- a/templates/explore/repos.tmpl +++ b/templates/explore/repos.tmpl @@ -1,14 +1,10 @@ {{template "base/head" .}}
+ {{template "explore/navbar" .}}
-
- {{template "explore/navbar" .}} -
- {{template "explore/search" .}} - {{template "explore/repo_list" .}} - {{template "base/paginate" .}} -
-
+ {{template "explore/search" .}} + {{template "explore/repo_list" .}} + {{template "base/paginate" .}}
{{template "base/footer" .}} diff --git a/templates/explore/users.tmpl b/templates/explore/users.tmpl index 1fbe8653b3..0bbbec2ed6 100644 --- a/templates/explore/users.tmpl +++ b/templates/explore/users.tmpl @@ -1,37 +1,33 @@ {{template "base/head" .}}
+ {{template "explore/navbar" .}}
-
- {{template "explore/navbar" .}} -
- {{template "explore/search" .}} + {{template "explore/search" .}} -
- {{range .Users}} -
- -
- {{.Name}} {{.FullName}} -
- {{if .Location}} - {{.Location}} - {{end}} - {{if and $.ShowUserEmail .Email $.IsSigned (not .KeepEmailPrivate)}} - - {{.Email}} - {{end}} - {{$.i18n.Tr "user.join_on"}} {{DateFmtShort .Created}} -
-
-
- {{else}} -
{{$.i18n.Tr "explore.user_no_results"}}
- {{end}} +
+ {{range .Users}} +
+ +
+ {{.Name}} {{.FullName}} +
+ {{if .Location}} + {{.Location}} + {{end}} + {{if and $.ShowUserEmail .Email $.IsSigned (not .KeepEmailPrivate)}} + + {{.Email}} + {{end}} + {{$.i18n.Tr "user.join_on"}} {{DateFmtShort .Created}} +
+
- - {{template "base/paginate" .}} -
+ {{else}} +
{{$.i18n.Tr "explore.user_no_results"}}
+ {{end}}
+ + {{template "base/paginate" .}}
{{template "base/footer" .}}