diff options
author | amzrk2 | 2020-05-06 22:58:45 +0800 |
---|---|---|
committer | amzrk2 | 2020-05-06 22:58:45 +0800 |
commit | 30772e0dd8436062e325eda0f54e90f7e8696705 (patch) | |
tree | 2ed1000408743f555ec9a409d986af55b87237c6 /assets/sass/_content.scss | |
parent | 41ef0bdcde0534402d430185052f4c553144487c (diff) | |
download | hugo-theme-fuji-30772e0dd8436062e325eda0f54e90f7e8696705.tar.gz hugo-theme-fuji-30772e0dd8436062e325eda0f54e90f7e8696705.tar.bz2 hugo-theme-fuji-30772e0dd8436062e325eda0f54e90f7e8696705.zip |
Sass structure full rebuild
Diffstat (limited to 'assets/sass/_content.scss')
-rw-r--r-- | assets/sass/_content.scss | 137 |
1 files changed, 0 insertions, 137 deletions
diff --git a/assets/sass/_content.scss b/assets/sass/_content.scss deleted file mode 100644 index 00fc162..0000000 --- a/assets/sass/_content.scss +++ /dev/null @@ -1,137 +0,0 @@ -#content { - padding: 0 1em 0 1em; - - // different padding when screen size below width-md(768px) - @media screen and (max-width: $width-md) { - padding: 0 1.5em 0 1.5em; - } -} - -#post { - padding: 1.5em 0 1.5em 0; -} - -// different padding of first & last child in archives page -#post-archive { - &:not(:first-child):not(:last-child) { - padding: 0.5em 0 0.5em 0; - } - - &:first-child { - padding: 1.5em 0 0.5em 0; - } - - &:last-child { - padding: 0.5em 0 1.5em 0; - } -} - -// spliter between two posts -#post+#post, -#post-archive+#post-archive { - border-top: $spliter; -} - -// post title font & color -#post-title { - font-size: $font-size-l1; - - @include link-primary(); -} - -#post-title-archive { - font-size: $font-size-l2; - - @include link-primary(); -} - -// post meta data style -#post-meta { - color: $color-mute; - padding: 0.5em 0 1em 0; - white-space: nowrap; - overflow-x: scroll; - - &::-webkit-scrollbar { - display: none; // WebKit - } - - scrollbar-width: none; // Firefox - -ms-overflow-style: none; // Microsoft - - @include link-secondary(); -} - -#post-meta-archive { - color: $color-mute; - padding: 0; - white-space: nowrap; - overflow-x: scroll; - - &::-webkit-scrollbar { - display: none; // WebKit - } - - scrollbar-width: none; // Firefox - -ms-overflow-style: none; // Microsoft - - @include link-secondary(); -} - -#post-aplayer { - font-family: inherit; - margin: 0 2px 1.5em 2px; -} - -// read more link style -#post-exlink { - margin: 0.5em 0 0 0; - - @include link-secondary(); -} - -// current tag indicator style in tags page -#page-info { - padding: 1.5em 0 1.5em 0; - font-size: $font-size-l3; - border-bottom: $spliter; -} - -// markdown article style -article { - padding-top: 1.5em; - padding-bottom: 1.5em; -} - -// in-post license style -#license { - @include link-secondary(); - - margin-bottom: 1.5em; -} - -// comment loading indicator style -#post-loading { - border-top: $spliter; - margin: 0 0 1.5em 0; - padding-top: 1.5em; - text-align: center; - - i { - font-size: 1.5em; - color: $color-primary; - } - - p { - margin: 0.5em 0 0 0; - } -} - -// spliter between comment & post will not show while iframe not loaded -#post-comment .utterances-frame { - border-top: $spliter; -} - -#post-comment #disqus_thread { - border-top: $spliter; -}
\ No newline at end of file |