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

_tag.scss « components « sass « assets - github.com/zzossig/hugo-theme-zdoc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e499a74b386f2acb39d7469914d8a6ff2a8cbe43 (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
.tag {
  display: inline-block;
  padding: 0.2rem 0;
  width: 100%;
  text-decoration: none !important;

  @include themify($themes) {
    color: darken(themed('subtitle-color'), 5%);
    @include on-event {
      color: themed('link-hover');
    }
  }

  &__wrapper {
    padding: 0.3rem 0;
    margin: auto 0;
  }

  &__text {
    color: inherit;
  }

  &__num {
    color: inherit;
  }

  &-cloud {
    position: relative;

    &__label {
      font-family: $title-font;
      font-size: 1rem;
      margin: 3.5rem 0 0 0;
      margin-left: 1.25rem;
      padding-left: 2.5rem;

      @include themify($themes) {
        color: themed('toc-label-color');
      }
    }

    &__tags {
      // position: -webkit-sticky;
      // position: sticky;
      top: $grid-nav-height;
      padding: 1rem;
      padding-left: 3rem;
      height: calc(100vh - $grid-nav-height);
      overflow-y: auto;
      z-index: z('menu');
    }
  }
}