|
| 1 | +/* Generated by Font Squirrel (http://www.fontsquirrel.com) on March 22, 2016 */ |
| 2 | +@font-face { |
| 3 | + font-family: 'cake_dingbatsregular'; |
| 4 | + src: url('/fonts/cakedingbats-webfont.eot'); |
| 5 | + src: url('/fonts/cakedingbats-webfont.eot?#iefix') format('embedded-opentype'), |
| 6 | + url('/fonts/cakedingbats-webfont.woff2') format('woff2'), |
| 7 | + url('/fonts/cakedingbats-webfont.woff') format('woff'), |
| 8 | + url('/fonts/cakedingbats-webfont.ttf') format('truetype'), |
| 9 | + url('/fonts/cakedingbats-webfont.svg#cake_dingbatsregular') format('svg'); |
| 10 | + font-weight: normal; |
| 11 | + font-style: normal; |
| 12 | +} |
| 13 | + |
1 | 14 | /* CakePHP Theme Customization */
|
2 | 15 | :root {
|
3 | 16 | --cake-color-link: #2D7EA4;
|
4 | 17 | --cake-color-progress: #d33c43;
|
5 | 18 |
|
6 | 19 | --vp-font-family-base: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
| 20 | + --vp-font-family-body: 'IBM Plex Sans', Helvetica, Arial, sans-serif; |
7 | 21 |
|
8 | 22 | /* CakePHP Brand Colors - Official Red */
|
9 | 23 | --vp-c-brand-1: #d33c43;
|
|
16 | 30 | --vp-c-red-2: #c8363d;
|
17 | 31 | --vp-c-red-3: #b02e34;
|
18 | 32 |
|
| 33 | + /* custom blocks (warning, info, tip, added, deprecated) */ |
| 34 | + --vp-custom-block-tip-bg: #d9edf7; |
| 35 | + --vp-custom-block-note-bg: #fcf8e3; |
| 36 | + --vp-custom-block-warning-bg: #f2dede; |
| 37 | + --vp-custom-block-info-bg: #dff0d8; |
| 38 | + --vp-custom-block-font-size: 14px; |
19 | 39 | }
|
20 | 40 |
|
21 | 41 | /* Dark theme adjustments */
|
|
40 | 60 | .vp-doc a {
|
41 | 61 | color: var(--cake-color-link);
|
42 | 62 | }
|
| 63 | +.vp-doc strong, |
| 64 | +.vp-doc em, |
| 65 | +.vp-doc i, |
| 66 | +.vp-doc b, |
| 67 | +.vp-doc li, |
| 68 | +.vp-doc p { |
| 69 | + font-family: var(--vp-font-family-body); |
| 70 | +} |
| 71 | + |
| 72 | +/* Warnings, Info, Tip, Added, Deprecated callout blocks */ |
| 73 | +.custom-block-title { |
| 74 | + padding-left: 33px; |
| 75 | + position: relative; |
| 76 | +} |
| 77 | +.custom-block-title:before { |
| 78 | + display: block; |
| 79 | + font-family: 'cake_dingbatsregular'; |
| 80 | + font-size: 24px; |
| 81 | + line-height: 24px; |
| 82 | + position: absolute; |
| 83 | + top: 1px; |
| 84 | + left: 1px; |
| 85 | + user-select: none; |
| 86 | +} |
| 87 | +.custom-block.tip .custom-block-title:before { |
| 88 | + content: 'X'; |
| 89 | + color: #97CAE4; |
| 90 | +} |
| 91 | +.custom-block.note .custom-block-title:before { |
| 92 | + color: #E2C99C; |
| 93 | + content: 'U'; |
| 94 | +} |
| 95 | +.custom-block.warning .custom-block-title:before { |
| 96 | + color: #E0B9B9; |
| 97 | + content: 'W'; |
| 98 | +} |
| 99 | +.custom-block.deprecated .custom-block-title:before { |
| 100 | + color: #E0B9B9; |
| 101 | + content: 'H'; |
| 102 | +} |
| 103 | +.custom-block.info .custom-block-title:before { |
| 104 | + color: #A7D096; |
| 105 | + content: 'V'; |
| 106 | +} |
0 commit comments