-
Notifications
You must be signed in to change notification settings - Fork 14
/
editor-style.css
90 lines (81 loc) · 1.93 KB
/
editor-style.css
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
/* List Block
--------------------------------------------- */
ul li a,
ol li a {
text-decoration: inherit;
color: inherit;
}
.is-style-default,
.is-style-square {
padding-left: 22px;
}
.is-style-square {
list-style-type: square;
}
.is-style-checklist,
.is-style-checklist-circle,
.is-style-none {
list-style: none;
padding-left: 0;
}
.is-style-checklist li {
display: flex;
align-items: flex-start;
}
.is-style-checklist li::before {
content: "";
mask: url(assets/images/checklist.svg);
-webkit-mask: url(assets/images/checklist.svg);
height: 1.5em;
width: 1.5em;
min-height: 1.5em;
min-width: 1.5em;
background: currentcolor;
align-self: center;
}
.is-style-checklist-circle li {
display: flex;
align-items: flex-start;
column-gap: 8px;
}
.is-style-checklist-circle li::before {
content: "";
mask: url(assets/images/checklist-circle.svg);
-webkit-mask: url(assets/images/checklist-circle.svg);
height: 1em;
width: 1em;
min-height: 1em;
min-width: 1em;
background: currentcolor;
align-self: center;
}
/* Button Block
--------------------------------------------- */
.wp-block-button[style*=text-decoration] .wp-block-button__link {
text-underline-offset: 5px;
}
/* Separator Block
--------------------------------------------- */
hr.wp-block-separator.has-background {
height: 2px !important;
}
hr.wp-block-separator.is-style-dots {
height: auto !important;
}
hr.wp-block-separator.is-style-dotted {
width: 100% !important;
border-bottom: none !important;
height: 1px !important;
background: repeating-linear-gradient(90deg, currentcolor, currentcolor 2px, transparent 2px, transparent 6px) !important;
}
hr.wp-block-separator.is-style-wide-thin-line {
height: 1px !important;
border-width: 1px !important;
width: 100% !important;
}
hr.wp-block-separator.is-style-left-aligned {
margin-left: 0 !important;
}
hr.wp-block-separator.is-style-right-aligned {
margin-right: 0 !important;
}