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: 811f89b536472110947928a56c0b1d87f6cb3984 (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
.breadcrumb {
  margin: 1.5rem 1rem 0 1rem;
  padding-bottom: 1.5rem;

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

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

  li {
    display: inline;
    font-size: 0.9rem;
    
    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');
    }
  }
}