diff options
author | olOwOlo <26087907+olOwOlo@users.noreply.github.com> | 2018-11-06 16:07:46 +0800 |
---|---|---|
committer | olOwOlo <26087907+olOwOlo@users.noreply.github.com> | 2018-11-06 16:07:46 +0800 |
commit | 7f314ceecd2df405950419f6cc2ca2dc18d23cd4 (patch) | |
tree | f478e8791db34dcb05b98affd8396fb371f9ea6b /src/css/_partial/_terms.scss | |
parent | 8d390991f895e079e21f5d1c550e0736a29e8cea (diff) |
refactor(terms): remove tags and categories class
Diffstat (limited to 'src/css/_partial/_terms.scss')
-rw-r--r-- | src/css/_partial/_terms.scss | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/src/css/_partial/_terms.scss b/src/css/_partial/_terms.scss new file mode 100644 index 0000000..f498ffe --- /dev/null +++ b/src/css/_partial/_terms.scss @@ -0,0 +1,46 @@ +// ============================== +// General Terms(tags, categories, etc.) +// ============================= + +.terms { + margin: 2em 0 3em; + text-align: center; + font-family: $global-serif-font-family; + + .terms-title { + display: inline-block; + font-size: $terms-title-size; + color: $theme-color; + border-bottom: $terms-title-border-bottom; + } + + .terms-tags { + margin: 10px 0; + + .terms-link { + display: inline-block; + position: relative; + margin: $terms-link-margin; + word-wrap: break-word; + transition-duration: 0.2s; + transition-property: transform; + transition-timing-function: ease-out; + + .terms-count { + display: inline-block; + position: relative; + top: -8px; + right: -2px; + color: $theme-color; + font-size: $terms-count-font-size; + } + + &:active, + &:focus, + &:hover { + color: $theme-color; + transform: scale(1.1); + } + } + } +}
\ No newline at end of file |