diff options
author | amzrk2 | 2020-10-02 09:54:04 +0800 |
---|---|---|
committer | amzrk2 | 2020-10-02 09:54:04 +0800 |
commit | be7e669b18517cf24972b32165fe406467296c5f (patch) | |
tree | f2986d1dcda79e44b09b6eddf9430e6e106b82f1 /assets/scss/_fuji-style/_components.scss | |
parent | 739ce7c416f51f847dff7002faf07d0695dc7f78 (diff) | |
download | hugo-theme-fuji-be7e669b18517cf24972b32165fe406467296c5f.tar.gz hugo-theme-fuji-be7e669b18517cf24972b32165fe406467296c5f.tar.bz2 hugo-theme-fuji-be7e669b18517cf24972b32165fe406467296c5f.zip |
new: add menu button on mobile
Diffstat (limited to 'assets/scss/_fuji-style/_components.scss')
-rw-r--r-- | assets/scss/_fuji-style/_components.scss | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/assets/scss/_fuji-style/_components.scss b/assets/scss/_fuji-style/_components.scss index 8545349..2b90bfe 100644 --- a/assets/scss/_fuji-style/_components.scss +++ b/assets/scss/_fuji-style/_components.scss @@ -3,7 +3,6 @@ right: 1.5rem; bottom: 1.5rem; width: 2.5rem; - height: 5rem; display: flex; justify-content: space-between; flex-direction: column; @@ -17,19 +16,29 @@ align-items: center; justify-content: center; cursor: pointer; + font-size: 1.25rem; &:first-child { border-radius: 0.25rem 0.25rem 0 0; - font-size: 1.25rem; + font-size: 1.125rem; } &:last-child { border-radius: 0 0 0.25rem 0.25rem; - font-size: 1.3125rem; + font-size: 1.325rem; } } } +@media screen and (min-width: $width-md) { + .btn div:first-child { + display: none; + } + .btn div:nth-child(2) { + border-radius: 0.25rem 0.25rem 0 0; + } +} + #post-aplayer { margin: 0 0.125rem 1.25rem 0.125rem; font-family: inherit; |