-
Notifications
You must be signed in to change notification settings - Fork 4.3k
/
Copy pathstyle.scss
61 lines (52 loc) · 1.12 KB
/
style.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
.wp-block-pullquote {
margin: 0 0 1em 0;
padding: 3em 0;
text-align: center; // Default text-alignment where the `textAlign` attribute value isn't specified.
overflow-wrap: break-word; // Break long strings of text without spaces so they don't overflow the block.
box-sizing: border-box;
p,
blockquote,
cite {
color: inherit;
}
&.alignleft,
&.alignright {
max-width: $content-width * 0.5;
}
cite,
footer {
position: relative;
}
.has-text-color a {
color: inherit;
}
}
// Ensure that we are reasonably specific to override theme defaults.
.wp-block-pullquote.has-text-align-left blockquote {
text-align: left;
}
// Ensure that we are reasonably specific to override theme defaults.
.wp-block-pullquote.has-text-align-right blockquote {
text-align: right;
}
// .is-style-solid-color is deprecated.
.wp-block-pullquote.is-style-solid-color {
border: none;
blockquote {
margin-left: auto;
margin-right: auto;
max-width: 60%;
p {
margin-top: 0;
margin-bottom: 0;
font-size: 2em;
}
cite {
text-transform: none;
font-style: normal;
}
}
}
.wp-block-pullquote cite {
color: inherit;
}