-
Notifications
You must be signed in to change notification settings - Fork 4.2k
/
editor.scss
46 lines (39 loc) · 1006 Bytes
/
editor.scss
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
.editor-block-list__block[data-type="core/pullquote"] {
&[data-align="left"],
&[data-align="right"] {
& .block-library-pullquote__content .editor-rich-text__tinymce[data-is-empty="true"]::before,
& .editor-rich-text p {
font-size: 20px;
}
}
}
.wp-block-pullquote {
cite .editor-rich-text__tinymce[data-is-empty="true"]::before {
font-size: 14px;
font-family: $default-font;
}
.editor-rich-text__tinymce[data-is-empty="true"]::before {
width: 100%;
left: 50%;
transform: translateX(-50%);
}
& blockquote > .block-library-pullquote__content .editor-rich-text__tinymce[data-is-empty="true"]::before,
& blockquote > .editor-rich-text p {
font-size: 28px;
line-height: 1.6;
}
}
.wp-block-pullquote.is-style-solid-color {
margin-left: 0;
margin-right: 0;
& blockquote > .editor-rich-text p {
font-size: 32px;
}
.wp-block-pullquote__citation {
text-transform: none;
font-style: normal;
}
}
.wp-block-pullquote .wp-block-pullquote__citation {
color: inherit;
}