mirror of https://gitea.com/gitea/theme.git
Optimize sidebar appearance (#91)
optimize sidebar appearance Merge branch 'master' into sidebar-css Co-authored-by: pat-s <patrick.schratz@gmail.com> Reviewed-on: https://gitea.com/gitea/theme/pulls/91 Reviewed-by: techknowlogick <techknowlogick@gitea.io> Reviewed-by: John Olheiser <john.olheiser@gmail.com> Co-Authored-By: pat-s <pat-s@noreply.gitea.io> Co-Committed-By: pat-s <pat-s@noreply.gitea.io>
This commit is contained in:
parent
1c46f91bdf
commit
2949c6b8cd
|
@ -123,3 +123,54 @@
|
|||
.toc {
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
.menu {
|
||||
font-size: 1rem;
|
||||
}
|
||||
.menu.is-small {
|
||||
font-size: 0.85em;
|
||||
}
|
||||
.menu.is-medium {
|
||||
font-size: 1.25rem;
|
||||
}
|
||||
.menu.is-large {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
.menu-list {
|
||||
line-height: 1;
|
||||
font-size: 0.9em;
|
||||
}
|
||||
.menu-list a {
|
||||
border-radius: 3px;
|
||||
color: #34495e;
|
||||
display: block;
|
||||
padding: 0.5em 0.75em;
|
||||
}
|
||||
.menu-list a:hover {
|
||||
background-color: #ecf0f1;
|
||||
color: #2b3c4e;
|
||||
}
|
||||
.menu-list a.is-active {
|
||||
background-color: #1abc9c;
|
||||
color: #fff;
|
||||
}
|
||||
.menu-list li ul {
|
||||
border-left: 1px solid #dee2e5;
|
||||
margin: 0.75em;
|
||||
padding-left: 0.75em;
|
||||
}
|
||||
|
||||
.menu-label {
|
||||
color: #1abc9c;
|
||||
font-size: 0.8em;
|
||||
letter-spacing: 0.1em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
.menu-label:not(:first-child) {
|
||||
margin-top: 1em;
|
||||
}
|
||||
.menu-label:not(:last-child) {
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue