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

_breadcrumb.scss « components « sass « assets - github.com/zzossig/hugo-theme-zdoc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 29054738272f026b18ae314acc32a792672589ab (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
.breadcrumb {
  &[data-is-blog="true"] {
    margin: 1.5rem 1rem 0 1rem;
    padding-bottom: 1.5rem;

    @include themify($themes) {
      border-bottom: 1px solid themed('hr-color');
      background-color: themed('breadcrumb-background-color');
    }
  }

  &[data-is-blog="false"] {
    margin: auto 1rem;
    padding: 0.5rem 0;
  }

  ol {
    @include flexbox();
    @include align-items(center);
    @include flex-wrap(wrap);
  }

  li {
    display: inline;
    font-size: 0.9rem;

    @include truncate(300px);
    
    a {
      @include themify($themes) {
        color: themed('breadcrumb-item-color');
        @include on-event {
          color: themed('link-hover');
        }
      }      
    }    

    &:last-child {
      @include themify($themes) {
        color: themed('breadcrumb-item-active-color');
      }
    }       
  }

  li+li:before {
    padding: 0.5rem;    
    content: "»";
    @include themify($themes) {
      color: themed('breadcrumb-item-color');
    }
  }
}