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

Jian Liew
04.32.2020 1d115b5def44ca22ed40b347807fd14105f2af0f
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: $heading-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;
}