diff options
| author | 2023-10-07 09:04:12 +0800 | |
|---|---|---|
| committer | 2023-10-07 09:04:12 +0800 | |
| commit | fa51a45c06fab4f3a7af6b6190a5ae03e01e51dd (patch) | |
| tree | 49bc0e23042fb0108a710c16500f971de2d8e2b9 /docs | |
| parent | 40a4918f53855e1d35b0a07ed833dffb5c7f5d29 (diff) | |
| download | infini-fa51a45c06fab4f3a7af6b6190a5ae03e01e51dd.tar.gz infini-fa51a45c06fab4f3a7af6b6190a5ae03e01e51dd.zip | |
feat(docs): add skills and custom css
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/stylesheets/extra.css | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/docs/stylesheets/extra.css b/docs/stylesheets/extra.css index 2ddd1bc4..0d329d97 100644 --- a/docs/stylesheets/extra.css +++ b/docs/stylesheets/extra.css @@ -13,6 +13,18 @@ } } +.md-header { + background-color: #30323a; + box-shadow: 0 0 0.2rem #0000, 0 0.2rem 0.4rem #0000; + color: var(--md-primary-bg-color); + display: block; + left: 0; + position: sticky; + right: 0; + top: 0; + z-index: 4; +} + .md-typeset .twitter { color: #00acee } @@ -304,6 +316,11 @@ max-height: none } +.md-banner--warning { + background-color: #fa7575; + color: var(--md-warning-fg-color); +} + .mdx-container { background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1123 258'><path d='M1124,2c0,0 0,256 0,256l-1125,0l0,-48c0,0 16,5 55,5c116,0 197,-92 325,-92c121,0 114,46 254,46c140,0 214,-167 572,-166Z' style='fill: hsla(0, 0%, 100%, 1)' /></svg>") no-repeat bottom, linear-gradient(to bottom, var(--md-primary-fg-color), #a63fd9 99%, var(--md-default-bg-color) 99%); padding-top: 1rem |
