diff options
| author | Track3 <pengliabc@live.cn> | 2019-06-22 18:44:30 +0800 |
|---|---|---|
| committer | Track3 <pengliabc@live.cn> | 2019-06-22 18:44:30 +0800 |
| commit | 00dbd49a94f092b591bf7326c9005a97117836d9 (patch) | |
| tree | 5a2c939059a304015d4cf055b843bf51623180bc /assets | |
| parent | c2e02c5dff0ce5372ec81767c9224054a05a0002 (diff) | |
| download | hermit-00dbd49a94f092b591bf7326c9005a97117836d9.tar.gz | |
Add basic support for nested menu
* Related issue: #53
Diffstat (limited to 'assets')
| -rw-r--r-- | assets/scss/style.scss | 13 |
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; } |
