summaryrefslogtreecommitdiffstats
path: root/web_src/less/_explore.less
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2020-12-20 19:00:03 +0100
committerGitHub <noreply@github.com>2020-12-20 13:00:03 -0500
commitb4f8da533e1771eb1e0d222d8d586b4220447e4c (patch)
treec5db36e00ba4cb2383f9773e1e2e5e8950e9fb92 /web_src/less/_explore.less
parente0a84d78809f4b19247ec7538e76f73b1f4c499f (diff)
downloadgitea-b4f8da533e1771eb1e0d222d8d586b4220447e4c.tar.gz
gitea-b4f8da533e1771eb1e0d222d8d586b4220447e4c.zip
Search and Diff CSS enhancements (#14050)
* Search and Diff CSS enhancements - Use flexbox for language stats - Improve labels and code boxes on repo and code search - Use flexbox on diff header and improve suppressed diff text - Add dedicated color for diff expander * more diff tweaks, less vertical padding on header * more minor tweaks * always show fold icon, image diff improvments * remove margin Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'web_src/less/_explore.less')
-rw-r--r--web_src/less/_explore.less15
1 files changed, 4 insertions, 11 deletions
diff --git a/web_src/less/_explore.less b/web_src/less/_explore.less
index 6d6462df6c..89fd2af629 100644
--- a/web_src/less/_explore.less
+++ b/web_src/less/_explore.less
@@ -15,39 +15,32 @@
.ui.repository.list {
.item {
- padding-bottom: 25px;
+ padding-bottom: 1.5rem;
&:not(:first-child) {
border-top: 1px solid var(--color-secondary);
- padding-top: 25px;
+ padding-top: 1.5rem;
}
.ui.header {
font-size: 1.5rem;
- padding-bottom: 10px;
+ margin-bottom: .5rem;
.name {
word-break: break-all;
}
.metas {
- color: #888888;
font-size: 14px;
- font-weight: normal;
-
- span:not(:last-child) {
- margin-right: 5px;
- }
}
}
.time {
font-size: 12px;
- color: #808080;
}
.ui.tags {
- margin-bottom: 1em;
+ margin-bottom: .5rem;
}
}
}