diff options
Diffstat (limited to 'assets/sass/modules')
-rw-r--r-- | assets/sass/modules/_archive.scss | 39 | ||||
-rw-r--r-- | assets/sass/modules/_component.scss | 28 | ||||
-rw-r--r-- | assets/sass/modules/_content.scss | 95 | ||||
-rw-r--r-- | assets/sass/modules/_footer.scss | 8 | ||||
-rw-r--r-- | assets/sass/modules/_header.scss | 18 | ||||
-rw-r--r-- | assets/sass/modules/_pagination.scss | 28 | ||||
-rw-r--r-- | assets/sass/modules/_sidebar.scss | 42 |
7 files changed, 0 insertions, 258 deletions
diff --git a/assets/sass/modules/_archive.scss b/assets/sass/modules/_archive.scss deleted file mode 100644 index 8a9a92b..0000000 --- a/assets/sass/modules/_archive.scss +++ /dev/null @@ -1,39 +0,0 @@ -.post-archive { - &:not(:last-child) { - padding: 0.5rem 0; - } - - &:last-child { - padding: 0.5rem 0 1rem 0; - } -} - -.post-archive+.post-archive { - border-top: $spliter; -} - -.post-title-archive { - font-size: $font-size-l2; -} - -.post-meta-archive { - color: $color-mute; - padding: 0 0.1rem; - white-space: nowrap; - overflow-x: scroll; - - time { - padding-right: 1rem; - } - - span:not(:last-child) { - display: none; - } - - &::-webkit-scrollbar { - display: none; // WebKit - } - - scrollbar-width: none; // Firefox - -ms-overflow-style: none; // Microsoft -}
\ No newline at end of file diff --git a/assets/sass/modules/_component.scss b/assets/sass/modules/_component.scss deleted file mode 100644 index 9e64add..0000000 --- a/assets/sass/modules/_component.scss +++ /dev/null @@ -1,28 +0,0 @@ -#aplayer { - font-family: inherit; -} - -#scroll-top { - cursor: pointer; - position: fixed; - width: 2.5rem; - height: 2.5rem; - right: 1rem; - bottom: 1rem; - color: $color-primary; - background-color: $color-spliter; - border-radius: 100%; - line-height: 2.5rem; - text-align: center; - vertical-align: middle; - display: inline-block; - - &:hover { - color: $color-secondary; - } - - i { - font-size: 1.5rem; - line-height: inherit; - } -}
\ No newline at end of file diff --git a/assets/sass/modules/_content.scss b/assets/sass/modules/_content.scss deleted file mode 100644 index 63cdc47..0000000 --- a/assets/sass/modules/_content.scss +++ /dev/null @@ -1,95 +0,0 @@ -#content { - padding: 0 1rem; - - // different padding when screen size below width-md(768px) - @media screen and (max-width: $width-md) { - padding: 0 1.5rem; - } -} - -article { - padding-top: 1.25rem; - padding-bottom: 1.5rem; -} - -.post { - padding: 1.25rem 0 1.5rem 0; -} - -.post+.post { - border-top: $spliter; -} - -.post-title { - font-size: $font-size-l1; -} - -.post-meta { - color: $color-mute; - padding: 0.5rem 0.1rem 1.25rem 0.1rem; - white-space: nowrap; - overflow-x: scroll; - - time, - span:not(:last-child) { - padding-right: 1rem; - } - - &::-webkit-scrollbar { - display: none; // WebKit - } - - scrollbar-width: none; // Firefox - -ms-overflow-style: none; // Microsoft -} - -.post-summary { - - h1, - h2, - h3, - h4, - h5, - h6 { - display: none; - } -} - -#post-aplayer { - font-family: inherit; - margin: 0 0.1rem 1.5rem 0.1rem; -} - -.license { - margin-bottom: 1.5rem; -} - -.post-loading { - border-top: $spliter; - margin: 0 0 1.5rem 0; - padding-top: 1.5rem; - text-align: center; - - i { - font-size: 1.5rem; - color: $color-primary; - } - - p { - margin: 0.5rem 0 0 0; - } -} - -.post-comment .utterances-frame { - border-top: $spliter; -} - -.post-comment #disqus_thread { - border-top: $spliter; -} - -.page-info { - padding: 1rem 0; - font-size: $font-size-l3; - border-bottom: $spliter; -}
\ No newline at end of file diff --git a/assets/sass/modules/_footer.scss b/assets/sass/modules/_footer.scss deleted file mode 100644 index 1d106dd..0000000 --- a/assets/sass/modules/_footer.scss +++ /dev/null @@ -1,8 +0,0 @@ -footer { - border-top: $spliter; - margin-top: auto; - - p { - margin: 2rem 0; - } -}
\ No newline at end of file diff --git a/assets/sass/modules/_header.scss b/assets/sass/modules/_header.scss deleted file mode 100644 index b204921..0000000 --- a/assets/sass/modules/_header.scss +++ /dev/null @@ -1,18 +0,0 @@ -header { - &>div { - padding: 2rem 1rem; - - // different padding when screen size below width-md(768px) - @media screen and (max-width: $width-md) { - padding: 2rem 1.5rem; - } - } - - .sub-title { - font-size: $font-size-l3; - display: block; - color: $color-mute; - } - - border-bottom: $spliter; -}
\ No newline at end of file diff --git a/assets/sass/modules/_pagination.scss b/assets/sass/modules/_pagination.scss deleted file mode 100644 index e2e9fbf..0000000 --- a/assets/sass/modules/_pagination.scss +++ /dev/null @@ -1,28 +0,0 @@ -.pagination { - text-align: center; - // spliter between pagination and last post block - border-top: $spliter; - padding: 1rem 0; - - li { - display: inline; - - &.pag-item { - padding: 0 0.25rem; - - a { - vertical-align: middle; - } - } - - // darker number when active - &.pag-current a { - color: $color-secondary; - } - } - - i { - padding: 0 0.25rem; - vertical-align: middle; - } -}
\ No newline at end of file diff --git a/assets/sass/modules/_sidebar.scss b/assets/sass/modules/_sidebar.scss deleted file mode 100644 index 14d2dff..0000000 --- a/assets/sass/modules/_sidebar.scss +++ /dev/null @@ -1,42 +0,0 @@ -#sidebar { - padding: 1.5rem 1rem; - - // different padding when screen size below width-md(768px) - @media screen and (max-width: $width-md) { - border-top: $spliter; - 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, - &~nav { - margin: 0 0.1rem 1rem 0.1rem; - } - - &~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%; - } - } - } -}
\ No newline at end of file |