diff options
author | Unknwon <u@gogs.io> | 2015-11-16 11:11:59 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-11-16 11:11:59 -0500 |
commit | 5dc3dd17049a5c097122c6159aa7a915658c263a (patch) | |
tree | 5ab99c59f6b9cf55f4e4de5b0cf5619d95c81355 /public/less | |
parent | 134d8e7681d098b8b37d4ee47cea0e03d643965d (diff) | |
download | gitea-5dc3dd17049a5c097122c6159aa7a915658c263a.tar.gz gitea-5dc3dd17049a5c097122c6159aa7a915658c263a.zip |
fix #1960
Diffstat (limited to 'public/less')
-rw-r--r-- | public/less/_base.less | 3 | ||||
-rw-r--r-- | public/less/_explore.less | 44 | ||||
-rw-r--r-- | public/less/_user.less | 25 |
3 files changed, 51 insertions, 21 deletions
diff --git a/public/less/_base.less b/public/less/_base.less index fca214b396..086c687709 100644 --- a/public/less/_base.less +++ b/public/less/_base.less @@ -139,6 +139,9 @@ pre { &.yellow { color: #FBBD08 !important; } + &.gold { + color: #a1882b !important; + } &.left { text-align: left !important; diff --git a/public/less/_explore.less b/public/less/_explore.less index 5d6be53777..b510c71a10 100644 --- a/public/less/_explore.less +++ b/public/less/_explore.less @@ -1,30 +1,32 @@ .explore { padding-top: 15px; padding-bottom: @footer-margin * 2; +} - &.repositories { - .ui.repository.list { - .item { - border-top: 1px solid #eee; - padding-top: 25px; - padding-bottom: 25px; - .ui.header { - font-size: 1.5rem; - padding-bottom: 10px; - .metas { - color: #888; - font-size: 13px; - font-weight: normal; - span:not(:last-child) { - margin-right: 5px; - } - } - } - .time { - font-size: 12px; - color: #808080; +.ui.repository.list { + .item { + padding-bottom: 25px; + + &:not(:first-child) { + border-top: 1px solid #eee; + padding-top: 25px; + } + + .ui.header { + font-size: 1.5rem; + padding-bottom: 10px; + .metas { + color: #888; + font-size: 13px; + font-weight: normal; + span:not(:last-child) { + margin-right: 5px; } } } + .time { + font-size: 12px; + color: #808080; + } } }
\ No newline at end of file diff --git a/public/less/_user.less b/public/less/_user.less index c403e3580d..bf0de5068a 100644 --- a/public/less/_user.less +++ b/public/less/_user.less @@ -18,4 +18,29 @@ } } } + + &.profile { + .ui.card { + .username { + display: block; + } + .extra.content { + padding: 0; + + ul { + margin: 0; + padding: 0; + + li { + padding: 10px; + list-style: none; + + &:not(:last-child) { + border-bottom: 1px solid #eaeaea; + } + } + } + } + } + } }
\ No newline at end of file |