|
1 |
| -.callout { |
| 1 | +html[class~='dark'] .container { |
| 2 | + background-color: hsl(0deg 0% 16%); |
| 3 | + color: hsl(0deg 0% 80%); |
| 4 | +} |
| 5 | + |
| 6 | +html[class~='light'] .container { |
| 7 | + background-color: hsl(0deg 0% 88%); |
| 8 | + color: hsl(0deg 0% 24%); |
| 9 | +} |
| 10 | + |
| 11 | +html[class~='dark'] .container--important { |
| 12 | + background-color: hsl(8deg 8.79% 15.05%); |
| 13 | + border-color: hsl(8.43deg 66.05% 51.01%); |
| 14 | +} |
| 15 | + |
| 16 | +html[class~='light'] .container--important { |
| 17 | + background-color: hsl(8deg 100% 97%); |
| 18 | + border-color: hsl(8.43deg 84.96% 51.98%); |
| 19 | +} |
| 20 | + |
| 21 | +html[class~='dark'] .container--experiment { |
| 22 | + background-color: hsl(212.78deg 15.68% 13.72%); |
| 23 | + border-color: hsl(212.14deg 66.05% 51.01%); |
| 24 | +} |
| 25 | + |
| 26 | +html[class~='light'] .container--experiment { |
| 27 | + background-color: hsl(213.7deg 100% 97.22%); |
| 28 | + border-color: hsl(212.86deg 82.85% 54.36%); |
| 29 | +} |
| 30 | + |
| 31 | +.container { |
2 | 32 | margin: 32px 0 40px 0;
|
3 |
| - border-left: solid 5px #ccc; |
4 |
| - background-color: #f5f5f5; |
5 |
| - color: #242424; |
6 |
| - padding: 20px 20px 20px 20px; |
7 |
| - font-size: 10px; |
8 |
| - border-radius: 2px; |
| 33 | + border-left: solid 6px hsl(0deg 0% 69.02%); |
| 34 | + padding: 20px; |
| 35 | + border-radius: 4px; |
9 | 36 | }
|
10 | 37 |
|
11 | 38 | @media screen and (min-width: 768px) {
|
12 |
| - .callout { |
| 39 | + .container { |
13 | 40 | margin: 40px 0 40px 2px;
|
14 |
| - padding: 20px; |
15 | 41 | }
|
16 | 42 | }
|
17 | 43 |
|
18 |
| -.callout--experiment { |
19 |
| - border-color: #0088cc; |
| 44 | +.container--beta, |
| 45 | +.container--note { |
| 46 | + border-color: hsl(0deg 0% 69.02%); |
20 | 47 | }
|
21 | 48 |
|
22 |
| -.callout--important { |
23 |
| - border-color: #f05137; |
24 |
| -} |
25 |
| - |
26 |
| -.callout :not(:first-child), |
27 |
| -.callout code { |
| 49 | +.container :not(:first-child), |
| 50 | +.container code { |
28 | 51 | margin: 0;
|
29 |
| - font-size: 0.96rem; |
30 | 52 | line-height: 176%;
|
31 | 53 | }
|
32 | 54 |
|
33 |
| -.callout__title { |
34 |
| - text-transform: uppercase; |
35 |
| - font-weight: normal; |
36 |
| - color: #707070; |
37 |
| - font-size: 0.7rem; |
38 |
| - letter-spacing: 2px; |
| 55 | +.container a { |
| 56 | + font-size: inherit !important; |
| 57 | +} |
| 58 | + |
| 59 | +.title { |
| 60 | + font-weight: 700; |
39 | 61 | margin-bottom: 0.8rem;
|
40 | 62 | width: 'fit-content';
|
41 | 63 | }
|
0 commit comments