Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/vaga/hugo-theme-m10c.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'assets/css/components/_tags_list.scss')
-rw-r--r--assets/css/components/_tags_list.scss28
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;
+ }
+ }
+}