aboutsummaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorTrack3 <pengliabc@live.cn>2019-06-22 18:44:30 +0800
committerTrack3 <pengliabc@live.cn>2019-06-22 18:44:30 +0800
commit00dbd49a94f092b591bf7326c9005a97117836d9 (patch)
tree5a2c939059a304015d4cf055b843bf51623180bc /assets
parentc2e02c5dff0ce5372ec81767c9224054a05a0002 (diff)
downloadhermit-00dbd49a94f092b591bf7326c9005a97117836d9.tar.gz
Add basic support for nested menu
* Related issue: #53
Diffstat (limited to 'assets')
-rw-r--r--assets/scss/style.scss13
1 files changed, 13 insertions, 0 deletions
diff --git a/assets/scss/style.scss b/assets/scss/style.scss
index a58003f..4476504 100644
--- a/assets/scss/style.scss
+++ b/assets/scss/style.scss
@@ -145,6 +145,10 @@ table {
height: 1em;
}
+.sub-menu {
+ font-size: .7em;
+}
+
.desktop-only, .desktop-only-ib {
display: none;
}
@@ -215,6 +219,15 @@ table {
font-size: 1.1em;
opacity: .8;
+ .has-children {
+ padding-right: .5em;
+ border-right: 2px solid $highlight-grey;
+ }
+
+ .sub-menu > a{
+ margin-left: .3em;
+ }
+
a {
margin-left: .8em;
}