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: 1dddc531a611c60c5334ac669e26d8110a7b4083 (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
29
30
31
32
33
34
.tags-list {
  padding: 0;
}

.tags-list-item {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0.4em 0;

  > .icon {
    margin-right: .4em;
  }
  &: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;
    }
  }
}