diff options
Diffstat (limited to 'themes/m10c/assets/css/components/_tag.scss')
-rw-r--r-- | themes/m10c/assets/css/components/_tag.scss | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/themes/m10c/assets/css/components/_tag.scss b/themes/m10c/assets/css/components/_tag.scss new file mode 100644 index 0000000..8bf628a --- /dev/null +++ b/themes/m10c/assets/css/components/_tag.scss @@ -0,0 +1,15 @@ +.tag { + display: inline-block; + margin-right: 0.2em; + padding: 0 0.6em; + font-size: 0.9em; + border-radius: 0.2em; + white-space: nowrap; + background: rgba(255, 255, 255, 0.1); + transition: color 0.35s, background 0.35s; + + &:hover { + transition: color 0.25s, background 0.05s; + background: rgba(255, 255, 255, 0.3); + } +} |