1 | @import "mixins/components.typography";
|
2 |
|
3 | .c-text {
|
4 | color: $text-color;
|
5 | font-family: $text-font-family;
|
6 | font-weight: $text-font-weight;
|
7 | line-height: $text-line-height;
|
8 | }
|
9 |
|
10 | .c-text--mono {
|
11 | font-family: $text-font-family-mono;
|
12 | }
|
13 |
|
14 | .c-text--highlight {
|
15 | @include text--highlight;
|
16 | }
|
17 |
|
18 | .c-text--quiet {
|
19 | color: $color-quiet;
|
20 | }
|
21 |
|
22 | .c-text--loud {
|
23 | font-weight: $text-font-weight-heavy;
|
24 | }
|
25 |
|
26 | .c-text--help[title] {
|
27 | border-bottom: $help-border-bottom;
|
28 | cursor: help;
|
29 | }
|
30 |
|
31 | .c-pre {
|
32 | margin: 0;
|
33 | }
|
34 |
|
35 | .c-code {
|
36 | @include code;
|
37 | }
|
38 |
|
39 | .c-code--multiline {
|
40 | display: block;
|
41 | padding: $spacing-small $spacing-medium;
|
42 | border-radius: $border-radius;
|
43 | white-space: pre;
|
44 | overflow-x: auto;
|
45 | }
|
46 |
|
47 | .c-kbd {
|
48 | @include code($keyboard-color, $keyboard-background-color);
|
49 | border-bottom: $keyboard-border;
|
50 | border-radius: $keyboard-border-radius;
|
51 | }
|
52 |
|
53 | .c-blockquote {
|
54 | @include quotation--color;
|
55 | display: block;
|
56 | margin: $quotation-margin;
|
57 | padding: $quotation-padding;
|
58 | font-family: $quotation-font-family;
|
59 | }
|
60 |
|
61 | .c-blockquote--brand {
|
62 | @include quotation--color($quotation-brand-border-color);
|
63 | }
|
64 |
|
65 | .c-blockquote--info {
|
66 | @include quotation--color($quotation-info-border-color);
|
67 | }
|
68 |
|
69 | .c-blockquote--warning {
|
70 | @include quotation--color($quotation-warning-border-color);
|
71 | }
|
72 |
|
73 | .c-blockquote--success {
|
74 | @include quotation--color($quotation-success-border-color);
|
75 | }
|
76 |
|
77 | .c-blockquote--error {
|
78 | @include quotation--color($quotation-error-border-color);
|
79 | }
|
80 |
|
81 | .c-blockquote__body {
|
82 | @include paragraph;
|
83 | font-size: $quotation-font-size;
|
84 | }
|
85 |
|
86 | .c-blockquote__footer {
|
87 | @include paragraph;
|
88 | color: $quotation-footer-color;
|
89 | font-style: $quotation-footer-font-style;
|
90 | }
|
91 |
|
92 | .c-paragraph {
|
93 | @include paragraph;
|
94 | }
|