diff options
author | Fabien CASTERS <fabien@vaga.io> | 2020-06-29 20:32:56 +0300 |
---|---|---|
committer | Fabien <vaga@users.noreply.github.com> | 2020-06-29 20:48:02 +0300 |
commit | 96c25fe8921320824a1935963edb17b5b2421c07 (patch) | |
tree | 5a0403404d36bc867f119baa5f1fa27066aa7f13 /assets/css/components/_tags_list.scss | |
parent | 71ab671245b3471f2884381b7fbada192a24695a (diff) |
Improve terms list
Diffstat (limited to 'assets/css/components/_tags_list.scss')
-rw-r--r-- | assets/css/components/_tags_list.scss | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/assets/css/components/_tags_list.scss b/assets/css/components/_tags_list.scss new file mode 100644 index 0000000..0b8b331 --- /dev/null +++ b/assets/css/components/_tags_list.scss @@ -0,0 +1,28 @@ +.tags-list { + padding: 0; +} + +.tags-list-item { + list-style: none; + padding: 0.4em 0; + &:not(:last-child) { + border-bottom: 1px dashed rgba(255, 255, 255, 0.3); + } +} + +@media (min-width: 450px) { + .tags-list { + display: flex; + flex-wrap: wrap; + } + + .tags-list-item { + width: calc(50% - 1em); + &:nth-child(even) { + margin-left: 1em; + } + &:nth-last-child(2) { + border: none; + } + } +} |