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

_tags_list.scss « components « css « assets - github.com/vaga/hugo-theme-m10c.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0b8b33152bddd652d831ff1c4afd343fc966aaa3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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;
    }
  }
}