hexo-theme-solitude 2.0.4 → 2.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,104 +0,0 @@
1
- $colors = {
2
- info: #428bca,
3
- danger: #d9534f,
4
- primary: #6f42c1,
5
- warning: #f0ad4e,
6
- success: #5cb85c,
7
- default: #777
8
- }
9
-
10
- .note
11
- position relative
12
- margin .5rem 0
13
- padding 15px
14
- border-radius 3px
15
-
16
- &.default:not(.no-icon)::before
17
- content: '\e0a9'
18
-
19
- &.info:not(.no-icon)::before
20
- content: '\e0a7'
21
-
22
- &.danger:not(.no-icon)::before
23
- content: '\e0aa'
24
-
25
- &.primary:not(.no-icon)::before
26
- content: '\e0a8'
27
-
28
- &.warning:not(.no-icon)::before
29
- content: '\e0a5'
30
-
31
- &.success:not(.no-icon)::before
32
- content: '\e0a4'
33
-
34
- &::before
35
- font-family 'solitude'
36
-
37
- &.icon
38
- padding-left 2.25rem
39
-
40
- > .note-icon
41
- position absolute
42
- top calc(50% - .4rem)
43
- left .7rem
44
- font-size larger
45
-
46
- a
47
- color inherit !important
48
- &:hover
49
- color var(--efu-white) !important
50
-
51
- for $color, $value in $colors
52
- &.{$color}:not(.no-icon)::before
53
- color $value
54
- &.{$color}:not(.disabled)
55
- border-left-color $value
56
-
57
- &.modern
58
- color $value
59
-
60
- &:not(.simple)
61
- background lighten($value, 75%)
62
-
63
- > .note-icon
64
- color $value
65
-
66
- &.simple
67
- border-width 1px 1px 1px 5px
68
- border-style solid
69
- border-color #eee
70
- border-image initial
71
-
72
- &.modern
73
- background-color #f5f5f5
74
- color #4c4948
75
- border 1px solid transparent !important
76
-
77
- &.flat
78
- border initial
79
- border-image initial
80
- border-left 5px solid #eee
81
- background-color #f9f9f9
82
- color #4c4948
83
-
84
- h2, h3, h4, h5, h6
85
- margin-top 3px
86
- margin-bottom 0
87
- border-bottom initial
88
- padding-top 0
89
-
90
- blockquote:first-child, img:first-child, ol:first-child, p:first-child, pre:first-child, table:first-child, ul:first-child
91
- margin-top 0 !important
92
-
93
- blockquote:last-child, img:last-child, ol:last-child, p:last-child, pre:last-child, table:last-child, ul:last-child
94
- margin-bottom 0 !important
95
- font-size 14px !important
96
-
97
- &:not(.no-icon)
98
- padding-left 2.25rem
99
-
100
- &::before
101
- position absolute
102
- top calc(50% - 19px)
103
- left .7rem
104
- font-size larger
@@ -1,34 +0,0 @@
1
- #article-container
2
- .p
3
- &.left
4
- text-align left
5
-
6
- &.center
7
- text-align center
8
-
9
- &.right
10
- text-align right
11
-
12
- &.small
13
- font-size .5rem
14
-
15
- &.h1
16
- font-size 2.5rem
17
-
18
- &.h2
19
- font-size 1.625rem
20
-
21
- &.h3
22
- font-size 1.375rem
23
-
24
- &.h4
25
- font-size 1.125rem
26
-
27
- &.large
28
- font-size 1.5rem
29
-
30
- &.huge
31
- font-size 4rem
32
-
33
- &.ultra
34
- font-size 6rem
@@ -1,82 +0,0 @@
1
- div.timenode
2
- position relative
3
-
4
- &:before,
5
- &:after
6
- content ''
7
- z-index 1
8
- position absolute
9
- background var(--efu-theme)
10
- width 2px
11
- left 7px
12
-
13
- &:before
14
- top 0
15
- height 6px
16
-
17
- &:after
18
- top 26px
19
- height 100%
20
-
21
- &:last-child:after
22
- height calc(100% - 26px - 16px)
23
- border-bottom-left-radius 2px
24
- border-bottom-right-radius 2px
25
-
26
- .meta
27
- position relative
28
- line-height 32px
29
- height 32px
30
- left 27px
31
-
32
- &:before,
33
- &:after
34
- content ''
35
- position absolute
36
- top 8px
37
- z-index 2
38
- left -27px
39
-
40
- &:before
41
- background var(--efu-theme)
42
- width 16px
43
- height 16px
44
- border-radius 8px
45
-
46
- &:after
47
- background var(--efu-card-bg)
48
- margin-left 2px
49
- margin-top 2px
50
- width 12px
51
- height 12px
52
- border-radius 6px
53
- transform scale(0.5)
54
- transition all 0.28s ease
55
-
56
- p
57
- font-weight 500
58
- margin 0 0 0 24px
59
-
60
- .body
61
- margin 4px 0 16px 24px
62
- padding 16px
63
- border-radius 8px
64
- background var(--blockquote-bg)
65
-
66
- p
67
- margin 0 !important
68
-
69
- p:first-child
70
- margin-top 0
71
-
72
- p:last-child
73
- margin-bottom 0
74
-
75
- &:hover
76
- .meta
77
- &:before
78
- background var(--efu-theme)
79
-
80
- &:after
81
- background var(--efu-theme-op)
82
- transform scale(1)