mirror of https://github.com/luizdepra/hugo-coder.git

Luiz F. A. de Prá
19.19.2021 e0988ee1e2c2eab690cd9dc4c0046ae5d9212b87
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
.notice {
  padding: 1rem;
  line-height: 2rem;
  border-radius: 0.5rem;
  p {
    &:last-child {
      margin-bottom: 1.5rem;
    }
  }
}
 
.notice-title {
  margin: -1rem -1rem 1rem;
  padding: 1rem 1rem;
  border-radius: 0.5rem 0.5rem 0 0;
  font-weight: 700;
  font-family: $font-family;
}
 
.notice.warning {
  .notice-title {
    background: $bg-color-notice-warning-title;
  }
  background: $bg-color-notice-warning;
}
 
.notice.info {
  .notice-title {
    background: $bg-color-notice-info-title;
  }
  background: $bg-color-notice-info;
}
 
.notice.note {
  .notice-title {
    background: $bg-color-notice-note-title;
  }
  background: $bg-color-notice-note;
}
 
.notice.tip {
  .notice-title {
    background: $bg-color-notice-tip-title;
  }
  background: $bg-color-notice-tip;
}
 
.icon-notice {
  display: inline-flex;
  align-self: center;
  margin-right: 8px;
}