UNPKG

823 BSCSSView Raw
1.is-small-text {
2 font-size: 14px;
3}
4
5.is-regular-text {
6 font-size: 16px;
7}
8
9.is-large-text {
10 font-size: 36px;
11}
12
13.is-larger-text {
14 font-size: 48px;
15}
16
17// Don't show the drop cap when editing the paragraph's content. It causes a
18// number of bugs in combination with `contenteditable` fields. The caret
19// cannot be set around it, caret position calculation fails in Chrome, and
20// typing at the end of the paragraph doesn't work.
21.has-drop-cap:not(:focus)::first-letter {
22 float: left;
23 font-size: 8.4em;
24 line-height: 0.68;
25 font-weight: 100;
26 margin: 0.05em 0.1em 0 0;
27 text-transform: uppercase;
28 font-style: normal;
29}
30
31.has-drop-cap:not(:focus)::after {
32 content: "";
33 display: table;
34 clear: both;
35 padding-top: $block-padding;
36}
37
38p.has-background {
39 padding: 20px 30px;
40}
41
42p.has-text-color a {
43 color: inherit;
44}