aboutsummaryrefslogtreecommitdiff
path: root/doc/docs/.vuepress/theme/styles/custom-blocks.styl
diff options
context:
space:
mode:
Diffstat (limited to 'doc/docs/.vuepress/theme/styles/custom-blocks.styl')
-rw-r--r--doc/docs/.vuepress/theme/styles/custom-blocks.styl44
1 files changed, 44 insertions, 0 deletions
diff --git a/doc/docs/.vuepress/theme/styles/custom-blocks.styl b/doc/docs/.vuepress/theme/styles/custom-blocks.styl
new file mode 100644
index 0000000..5b86816
--- /dev/null
+++ b/doc/docs/.vuepress/theme/styles/custom-blocks.styl
@@ -0,0 +1,44 @@
1.custom-block
2 .custom-block-title
3 font-weight 600
4 margin-bottom -0.4rem
5 &.tip, &.warning, &.danger
6 padding .1rem 1.5rem
7 border-left-width .5rem
8 border-left-style solid
9 margin 1rem 0
10 &.tip
11 background-color #f3f5f7
12 border-color #42b983
13 &.warning
14 background-color rgba(255,229,100,.3)
15 border-color darken(#ffe564, 35%)
16 color darken(#ffe564, 70%)
17 .custom-block-title
18 color darken(#ffe564, 50%)
19 a
20 color $textColor
21 &.danger
22 background-color #ffe6e6
23 border-color darken(red, 20%)
24 color darken(red, 70%)
25 .custom-block-title
26 color darken(red, 40%)
27 a
28 color $textColor
29 &.details
30 display block
31 position relative
32 border-radius 2px
33 margin 1.6em 0
34 padding 1.6em
35 background-color #eee
36 h4
37 margin-top 0
38 figure, p
39 &:last-child
40 margin-bottom 0
41 padding-bottom 0
42 summary
43 outline none
44 cursor pointer