diff options
author | amzrk2 | 2020-05-08 14:41:19 +0800 |
---|---|---|
committer | amzrk2 | 2020-05-08 14:41:19 +0800 |
commit | 3fc90f234a343f0dc7311505129e41dc0083420b (patch) | |
tree | 7e9ec2c5d429d52c289016a05f5cf333a874a666 /assets | |
parent | 2c181e91c7fdc91f09de00708061f78999f58426 (diff) | |
download | hugo-theme-fuji-3fc90f234a343f0dc7311505129e41dc0083420b.tar.gz hugo-theme-fuji-3fc90f234a343f0dc7311505129e41dc0083420b.tar.bz2 hugo-theme-fuji-3fc90f234a343f0dc7311505129e41dc0083420b.zip |
Update sidebar CSS
Diffstat (limited to 'assets')
-rw-r--r-- | assets/sass/modules/_sidebar.scss | 44 |
1 files changed, 25 insertions, 19 deletions
diff --git a/assets/sass/modules/_sidebar.scss b/assets/sass/modules/_sidebar.scss index 822e481..2a64011 100644 --- a/assets/sass/modules/_sidebar.scss +++ b/assets/sass/modules/_sidebar.scss @@ -1,14 +1,4 @@ #sidebar { - ul { - list-style-type: none; - margin: 0.5rem 0; - - ul { - margin: 0rem 0.5rem; - font-size: 0.875rem; - } - } - padding: 1.5rem 1rem; // different padding when screen size below width-md(768px) @@ -17,19 +7,35 @@ padding: 1.5rem; } + ul { + list-style-type: none; + + ul { + margin: 0 0.5rem; + font-size: 0.875rem; + } + } + h5 { font-size: $font-size-l3; - } + margin-bottom: 0.25rem; + + &~div, + &~ul { + margin: 0 0.1rem 1rem 0.1rem; + } - .widget-bgm img { - color: $color-secondary; - margin: 0.5rem 0; - width: 100%; - border-radius: 2px; - filter: grayscale(50%); + &~img { + margin: 0 0.25rem; + padding: 0.25rem 0; + color: $color-secondary; + width: 100%; + border-radius: 2px; + filter: grayscale(50%); - @media screen and (max-width: $width-md) { - width: 50%; + @media screen and (max-width: $width-md) { + width: 50%; + } } } }
\ No newline at end of file |