diff options
author | 无闻 <u@gogs.io> | 2015-08-10 22:44:37 +0800 |
---|---|---|
committer | 无闻 <u@gogs.io> | 2015-08-10 22:44:37 +0800 |
commit | 2cef9ef5e2428318ff29d9da6d34e122fe0c9586 (patch) | |
tree | eba8544961e7818a62e43cb218e295a0e2785937 /public/less | |
parent | 2edb82c4205334075420aae53744394757f1751f (diff) | |
parent | 4cc198179c7b8f87e7075c36fbd6e06ca065b784 (diff) |
Merge pull request #1460 from manfer/semantic
new top menu
Diffstat (limited to 'public/less')
-rw-r--r-- | public/less/_base.less | 25 |
1 files changed, 19 insertions, 6 deletions
diff --git a/public/less/_base.less b/public/less/_base.less index 0da54d97..26bc63e4 100644 --- a/public/less/_base.less +++ b/public/less/_base.less @@ -25,10 +25,19 @@ img { .column .menu { margin-top: 0; } - .brand { - float: left; - margin-top: 5px; - margin-right: 5px; + .top.menu a.item.brand { + padding-left: 0; + } + .brand .ui.mini.image { + width: 30px; + } + .top.menu a.item:hover, + .top.menu .dropdown.item:hover, + .top.menu .dropdown.item.active { + background-color: transparent; + } + .top.menu a.item:hover { + color: rgba(0,0,0,.45); } .head.link.item { padding-right: 0!important; @@ -37,8 +46,8 @@ img { margin-right: 5px; } } - .user.avatar { - padding: 0; + .avatar > .ui.image { + margin-right: 0; } .searchbox { background-color: rgb(244, 244, 244)!important; @@ -114,6 +123,10 @@ footer { .generate-img(@n, (@i + 1)); } +.octicon.icon { + font-family: octicons; +} + // Accessibility .sr-only { position: absolute; |