Skillfarm / website · skillfarm.ai / commits / 443f4fb7
Apply black and white styling to Skillfarm pages new
Pushed by atom-backup to main 24 min ago · written by protomota · 443f4fb7f176dfa237ca639945f31e22fbe94e8c · parent a4acba8f
2 files changed
public/css/site-monochrome.css added
| 1 | + /* Keep the existing layout, focus indicators and original media files. */ | |
| 2 | + html:root { | |
| 3 | + filter: grayscale(1); | |
| 4 | + scrollbar-color: #aaa #222; | |
| 5 | + } | |
| 6 | + | |
| 7 | + html:root::-webkit-scrollbar-thumb { | |
| 8 | + background-color: #aaa; | |
| 9 | + } | |
| 10 | + | |
| 11 | + html:root::-webkit-scrollbar-track { | |
| 12 | + background-color: #222; | |
| 13 | + } | |
| 14 | + /* Keep the canvas, including the area behind fixed elements, neutral. */ | |
| 15 | + html:root { background-color: #eeeeee; } |
src/views/layout.tsx changed
| 115 | 115 | <link rel="preload" href="/fonts/fraunces-latin-soft-normal.woff2" as="font" type="font/woff2" crossorigin="" /> |
| 116 | 116 | <link rel="preload" href="/fonts/figtree-latin-wght-normal.woff2" as="font" type="font/woff2" crossorigin="" /> |
| 117 | 117 | <link rel="stylesheet" href={`/css/site.css?v=${VERSION}`} /> |
| 118 | + <link rel="stylesheet" href="/css/site-monochrome.css" /> | |
| 118 | 119 | <script src={`/js/site.js?v=${VERSION}`} defer></script> |
| 119 | 120 | <script type="module" src={`/js/biolock-page.js?v=${VERSION}`}></script> |
| 120 | 121 | <link rel="stylesheet" href="/assets/visitor-odometer.v1.css" /> |