summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorPatrick G <geek1011@users.noreply.github.com>2017-03-15 18:55:12 +0000
committerKim "BKC" Carlbäcker <kim.carlbacker@gmail.com>2017-03-15 19:55:12 +0100
commit03d79983ee40a22039b5fd1a204499977ab87254 (patch)
tree198899d6b813e0dee5a9c3b54862e8ee0017a448 /public
parent780cb692d64edfadea6f79fbbad2ef033cdbe796 (diff)
downloadgitea-03d79983ee40a22039b5fd1a204499977ab87254.tar.gz
gitea-03d79983ee40a22039b5fd1a204499977ab87254.zip
Cleaner UI for explore page (#1253) (#1255)
* Take navbar out of column * Add styles to navbar * Changed navbar classes * Remove unneeded !important from index.css * Remove unneeded !important from _explore.less
Diffstat (limited to 'public')
-rw-r--r--public/css/index.css8
-rw-r--r--public/less/_explore.less9
2 files changed, 16 insertions, 1 deletions
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
+}