diff options
| author | 2023-10-07 06:48:07 +0800 | |
|---|---|---|
| committer | 2023-10-07 06:48:07 +0800 | |
| commit | 991fd7a6d67ee017c57beaaa21fc31c4bee7944d (patch) | |
| tree | e895202203fcaa50b0052f60ef6fc7d6d2928cf9 /docs | |
| parent | d62900046bb6f754a8e6e7e670a66a90134055d9 (diff) | |
| download | infini-991fd7a6d67ee017c57beaaa21fc31c4bee7944d.tar.gz infini-991fd7a6d67ee017c57beaaa21fc31c4bee7944d.zip | |
feat(version): versions
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/CLI/index.md | 1 | ||||
| -rw-r--r-- | docs/RulePackage/Structure/attribute.md | 0 | ||||
| -rw-r--r-- | docs/RulePackage/Structure/class.md | 0 | ||||
| -rw-r--r-- | docs/RulePackage/Structure/method.md | 0 | ||||
| -rw-r--r-- | docs/RulePackage/getStart/attribute.md | 12 | ||||
| -rw-r--r-- | docs/RulePackage/getStart/class.md | 6 | ||||
| -rw-r--r-- | docs/RulePackage/getStart/getDeeper/Module.md | 14 | ||||
| -rw-r--r-- | docs/RulePackage/getStart/getDeeper/Package.md | 12 | ||||
| -rw-r--r-- | docs/RulePackage/getStart/getDeeper/object.md | 8 | ||||
| -rw-r--r-- | docs/RulePackage/getStart/method.md | 10 | ||||
| -rw-r--r-- | docs/RulePackage/intro.md | 6 | ||||
| -rw-r--r-- | docs/Standard/Term/check/ability.md | 7 | ||||
| -rw-r--r-- | docs/blog/.authors.yml | 5 | ||||
| -rw-r--r-- | docs/blog/.meta.yml | 1 | ||||
| -rw-r--r-- | docs/blog/posts/rules-class-just-landed.md | 228 | ||||
| -rw-r--r-- | docs/index.md | 10 | ||||
| -rw-r--r-- | docs/stylesheets/extra.css | 591 |
17 files changed, 882 insertions, 29 deletions
diff --git a/docs/CLI/index.md b/docs/CLI/index.md new file mode 100644 index 00000000..c31a0bc9 --- /dev/null +++ b/docs/CLI/index.md @@ -0,0 +1 @@ +# CLI Reference diff --git a/docs/RulePackage/Structure/attribute.md b/docs/RulePackage/Structure/attribute.md deleted file mode 100644 index e69de29b..00000000 --- a/docs/RulePackage/Structure/attribute.md +++ /dev/null diff --git a/docs/RulePackage/Structure/class.md b/docs/RulePackage/Structure/class.md deleted file mode 100644 index e69de29b..00000000 --- a/docs/RulePackage/Structure/class.md +++ /dev/null diff --git a/docs/RulePackage/Structure/method.md b/docs/RulePackage/Structure/method.md deleted file mode 100644 index e69de29b..00000000 --- a/docs/RulePackage/Structure/method.md +++ /dev/null diff --git a/docs/RulePackage/getStart/attribute.md b/docs/RulePackage/getStart/attribute.md new file mode 100644 index 00000000..70deeb06 --- /dev/null +++ b/docs/RulePackage/getStart/attribute.md @@ -0,0 +1,12 @@ +--- +title: attribute 属性 +--- + +!!! info + 关联到一个对象的值,通常使用点号表达式按名称来引用。 举例来说,如果对象 o 具有属性 a 则可以用 o.a 来引用它。 + + 如果对象允许,将未被定义为 [标识符和关键字] 的非标识名称用作一个对象的属性也是可以的,例如使用 [setattr()]。 这样的属性将无法使用点号表达式来访问,而是必须通过 [getattr()] 来获取。 + + [标识符和关键字]: https://docs.python.org/zh-cn/3/reference/lexical_analysis.html#identifiers + [setattr()]: https://docs.python.org/zh-cn/3/library/functions.html#setattr + [getattr()]:https://docs.python.org/zh-cn/3/library/functions.html#getattr
\ No newline at end of file diff --git a/docs/RulePackage/getStart/class.md b/docs/RulePackage/getStart/class.md new file mode 100644 index 00000000..a6628452 --- /dev/null +++ b/docs/RulePackage/getStart/class.md @@ -0,0 +1,6 @@ +--- +title: class 类 +--- + +!!! info + 用来创建用户定义对象的模板。类定义通常包含对该类的实例进行操作的方法定义。
\ No newline at end of file diff --git a/docs/RulePackage/getStart/getDeeper/Module.md b/docs/RulePackage/getStart/getDeeper/Module.md new file mode 100644 index 00000000..91438ee5 --- /dev/null +++ b/docs/RulePackage/getStart/getDeeper/Module.md @@ -0,0 +1,14 @@ +--- +title: Module 模块 +--- +!!! info + 此对象是 Python 代码的一种组织单位。各模块具有独立的命名空间,可包含任意 Python 对象。模块可通过 [importing] 操作被加载到 Python 中。 + + 另见 [package]。 + + [importing]: https://docs.python.org/zh-cn/3/glossary.html#term-importing + [package]: ../Package + + + +:material-information-outline:{ title="Important information" } diff --git a/docs/RulePackage/getStart/getDeeper/Package.md b/docs/RulePackage/getStart/getDeeper/Package.md new file mode 100644 index 00000000..c683d5d6 --- /dev/null +++ b/docs/RulePackage/getStart/getDeeper/Package.md @@ -0,0 +1,12 @@ +--- +title: Package 包 +--- + +!!! info + 一种可包含子模块或递归地包含子包的 Python [module]。 从技术上说,包是具有 __path__ 属性的 Python 模块。 + + 另参见 [regular package] 和 [namespace package]。 + + [module]: ../Module + [regular package]: https://docs.python.org/zh-cn/3/glossary.html#term-regular-package + [namespace package]: https://docs.python.org/zh-cn/3/glossary.html#term-namespace-package
\ No newline at end of file diff --git a/docs/RulePackage/getStart/getDeeper/object.md b/docs/RulePackage/getStart/getDeeper/object.md new file mode 100644 index 00000000..f9a801a6 --- /dev/null +++ b/docs/RulePackage/getStart/getDeeper/object.md @@ -0,0 +1,8 @@ +--- +title: object 对象 +--- + +!!! info + 任何具有状态(属性或值)以及预定义行为(方法)的数据。object 也是任何 [new-style class] 的最顶层基类名。 + + [new-style class]: https://docs.python.org/zh-cn/3/glossary.html#term-new-style-class
\ No newline at end of file diff --git a/docs/RulePackage/getStart/method.md b/docs/RulePackage/getStart/method.md new file mode 100644 index 00000000..00e58149 --- /dev/null +++ b/docs/RulePackage/getStart/method.md @@ -0,0 +1,10 @@ +--- +title: method 方法 +--- + +!!! info + 在类内部定义的函数。如果作为该类的实例的一个属性来调用,方法将会获取实例对象作为其第一个 [argument] (通常命名为 self)。参见 [function] 和 [nested scope]。 + + [argument]: https://docs.python.org/zh-cn/3/glossary.html#term-argument + [function]: https://docs.python.org/zh-cn/3/glossary.html#term-function + [nested scope]:https://docs.python.org/zh-cn/3/glossary.html#term-nested-scope
\ No newline at end of file diff --git a/docs/RulePackage/intro.md b/docs/RulePackage/intro.md new file mode 100644 index 00000000..ab82c17d --- /dev/null +++ b/docs/RulePackage/intro.md @@ -0,0 +1,6 @@ +--- +title: 规则包简介 +--- + +!!! warning + 此章节涉及到真正的 Python 规范问题,因此请认真阅读并多加练习,方能写出漂亮的代码。
\ No newline at end of file diff --git a/docs/Standard/Term/check/ability.md b/docs/Standard/Term/check/ability.md index 7bef7a88..aaa4088e 100644 --- a/docs/Standard/Term/check/ability.md +++ b/docs/Standard/Term/check/ability.md @@ -2,7 +2,10 @@ title: ability 检定 status: attention --- -!!! warning +!!! info 关于这部分内容请[移步正式术语][redirect]: [`check 检定`](/Standard/Term/check/) - [redirect]: https://HydroRollCore.retrofor.space "我为什么会看到此项内容?"
\ No newline at end of file + [redirect]: https://HydroRollCore.retrofor.space "我为什么会看到此项内容?" + + +这部分其实已经移除。
\ No newline at end of file diff --git a/docs/blog/.authors.yml b/docs/blog/.authors.yml new file mode 100644 index 00000000..33b2b0a5 --- /dev/null +++ b/docs/blog/.authors.yml @@ -0,0 +1,5 @@ +authors: + HsiangNianian: + name: 简律纯 + description: Leader + avatar: https://github.com/HsiangNianian.png
\ No newline at end of file diff --git a/docs/blog/.meta.yml b/docs/blog/.meta.yml new file mode 100644 index 00000000..c0b7d47b --- /dev/null +++ b/docs/blog/.meta.yml @@ -0,0 +1 @@ +comments: true
\ No newline at end of file diff --git a/docs/blog/posts/rules-class-just-landed.md b/docs/blog/posts/rules-class-just-landed.md new file mode 100644 index 00000000..705c23b9 --- /dev/null +++ b/docs/blog/posts/rules-class-just-landed.md @@ -0,0 +1,228 @@ +--- +date: 2023-10-07 +authors: [HsiangNianian] +description: > + Our new blog is built with the brand new built-in blog plugin. You can build + a blog alongside your documentation or standalone +categories: + - Rules +links: + - setup/setting-up-a-blog.md + - plugins/blog.md +--- + +# Blog support just landed + +__Hey there! You're looking at our new blog, built with the brand new +[built-in blog plugin]. With this plugin, you can easily build a blog alongside +your documentation or standalone.__ + +Proper support for blogging, as requested by many users over the past few years, +was something that was desperately missing from Material for MkDocs' feature set. +While everybody agreed that blogging support was a blind spot, it was not +obvious whether MkDocs could be extended in a way to allow for blogging as we +know it from [Jekyll] and friends. The [built-in blog plugin] proves that it is, +after all, possible to build a blogging engine on top of MkDocs, in order to +create a technical blog alongside your documentation, or as the main thing. + +<!-- more --> + +_This article explains how to build a standalone blog with Material for MkDocs. +If you want to build a blog alongside your documentation, please refer to +[the plugin's documentation][built-in blog plugin]._ + + [built-in blog plugin]: ../../plugins/blog.md + [Jekyll]: https://jekyllrb.com/ + +## Quick start + +### Creating a standalone blog + +You can bootstrap a new project using the `mkdocs` executable: + +``` +mkdocs new . +``` + +This will create the following structure: + +``` { .sh .no-copy } +. +├─ docs/ +│ └─ index.md +└─ mkdocs.yml +``` + +#### Configuration + +In this article, we're going to build a standalone blog, which means that the +blog lives at the root of your project. For this reason, open `mkdocs.yml`, +and replace its contents with: + +``` yaml +site_name: My Blog +theme: + name: material + features: + - navigation.sections +plugins: + - blog: + blog_dir: . # (1)! + - search + - tags +nav: + - index.md +``` + +1. This is the important part – we're hosting the blog at the root of the + project, and not in a subdirectory. For more information, see the + [`blog_dir`][blog_dir] configuration option. + + [blog_dir]: ../../setup/setting-up-a-blog.md#+blog.blog_dir + +#### Blog setup + +The blog index page lives in `docs/index.md`. This page was pre-filled by +MkDocs with some content, so we're going to replace it with what we need to +bootstrap the blog: + +``` markdown +# Blog +``` + +That's it. + +### Writing your first post + +Now that we have set up the [built-in blog plugin], we can start writing our +first post. All blog posts are written with the [exact same Markdown flavor] as +already included with Material for MkDocs. First, create a folder called `posts` +with a file called `hello-world.md`: + +``` { .sh .no-copy } +. +├─ docs/ +│ ├─ posts/ +│ │ └─ hello-world.md # (1)! +│ └─ index.md +└─ mkdocs.yml +``` + +1. If you'd like to arrange posts differently, you're free to do so. The URLs + are built from the format specified in [`post_url_format`][post slugs] and + the titles and dates of posts, no matter how they are organized + inside the `posts` directory. + +Then, open up `hello-world.md`, and add the following lines: + +``` yaml +--- +draft: true # (1)! +date: 2022-01-31 +categories: + - Hello + - World +--- + +# Hello world! + +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque nec +maximus ex. Sed consequat, nulla quis malesuada dapibus, elit metus vehicula +erat, ut egestas tellus eros at risus. In hac habitasse platea dictumst. +Phasellus id lacus pulvinar erat consequat pretium. Morbi malesuada arcu mauris +Nam vel justo sem. Nam placerat purus non varius luctus. Integer pretium leo in +sem rhoncus, quis gravida orci mollis. Proin id aliquam est. Vivamus in nunc ac +metus tristique pellentesque. Suspendisse viverra urna in accumsan aliquet. + +<!-- more --> + +Donec volutpat, elit ac volutpat laoreet, turpis dolor semper nibh, et dictum +massa ex pulvinar elit. Curabitur commodo sit amet dolor sed mattis. Etiam +tempor odio eu nisi gravida cursus. Maecenas ante enim, fermentum sit amet +molestie nec, mollis ac libero. Vivamus sagittis suscipit eros ut luctus. + +Nunc vehicula sagittis condimentum. Cras facilisis bibendum lorem et feugiat. +In auctor accumsan ligula, at consectetur erat commodo quis. Morbi ac nunc +pharetra, pellentesque risus in, consectetur urna. Nulla id enim facilisis +arcu tincidunt pulvinar. Vestibulum laoreet risus scelerisque porta congue. +In velit purus, dictum quis neque nec, molestie viverra risus. Nam pellentesque +tellus id elit ultricies, vel finibus erat cursus. +``` + +1. If you mark a post as a [draft], a red marker appears next to the post date + on index pages. When the site is built, drafts are not included in the + output. [This behavior can be changed], e.g. for rendering drafts when + building deploy previews. + +When you spin up the [live preview server], you should be greeted by your first +post! You'll also realize, that [archive] and [category] indexes have been +automatically generated for you: + + ![Blog] + +However, this is just the start. The [built-in blog plugin] packs a lot of +functionality needed in day-to-day blogging. Visit the documentation of the +plugin to learn about the following topics: + +<div class="mdx-columns" markdown> + +- [Adding an excerpt] +- [Adding authors] +- [Adding categories] +- [Adding tags] +- [Adding related links] +- [Linking from and to posts] +- [Setting the reading time] +- [Setting defaults] + +</div> + +Additionally, the [built-in blog plugin] has dozens of [configuration options] +which allow for fine-tuning the output. You can configure post slugs, general +behavior and much more. + + [exact same Markdown flavor]: ../../reference/index.md + [post slugs]: ../../setup/setting-up-a-blog.md#+blog.post_url_format + [draft]: ../../setup/setting-up-a-blog.md#drafts + [This behavior can be changed]: ../../setup/setting-up-a-blog.md#+blog.draft + [live preview server]: ../../creating-your-site.md#previewing-as-you-write + [archive]: ../../setup/setting-up-a-blog.md#archive + [category]: ../../setup/setting-up-a-blog.md#categories + [Blog]: blog-support-just-landed/blog.png + [Blog post]: blog-support-just-landed/blog-post.png + [Adding an excerpt]: ../../setup/setting-up-a-blog.md#adding-an-excerpt + [Adding authors]: ../../setup/setting-up-a-blog.md#adding-authors + [Adding categories]: ../../setup/setting-up-a-blog.md#adding-categories + [Adding tags]: ../../setup/setting-up-a-blog.md#adding-tags + [Adding related links]: ../../setup/setting-up-a-blog.md#adding-related-links + [Linking from and to posts]: ../../setup/setting-up-a-blog.md#linking-from-and-to-posts + [Setting the reading time]: ../../setup/setting-up-a-blog.md#setting-the-reading-time + [Setting defaults]: ../../setup/setting-up-a-blog.md#setting-defaults + [configuration options]: ../../setup/setting-up-a-blog.md#configuration + +## What's next? + +Getting basic blogging support out the door was quite a challenge – the +[built-in blog plugin] is probably the biggest release this year and already +packs a lot of functionality. However, Material for MkDocs is used in many +different contexts, which is why we'd expect to iterate, as always. + +Some ideas already proposed by users: + +- __Blog series__: Authors should be able to create so called blog series and + assign posts to a blog series using simple identifiers. For each post that is + part of a series, a list with links to all other posts should be included in + the post's content. + +- __Author indexes__: Besides [archive] and [category] indexes, authors should + be able to create per-author indexes, which list all posts linked to an + author. Additionally, a profile should be created for each author and linked + from posts. + +- __Social share buttons__: It should be easy to share blog posts via social + media or other ways. For this reason, it should be possible to automatically + include social sharing buttons with each post. + +What's still missing from the brand new [built-in blog plugin]? Feel free to +share your ideas in the comments. Together, we can build one of the best modern +engines for technical blogging! diff --git a/docs/index.md b/docs/index.md index 85a5be8c..926aee3d 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1 +1,9 @@ -你好,世界主! +--- +template: home.html +title: 水系核心 +social: + cards_layout_options: + title: 你好!世界主。 +--- + +你好!世界主。
\ No newline at end of file diff --git a/docs/stylesheets/extra.css b/docs/stylesheets/extra.css index c555dccc..2ddd1bc4 100644 --- a/docs/stylesheets/extra.css +++ b/docs/stylesheets/extra.css @@ -1,27 +1,566 @@ -.metadata{ - list-style:none; - padding:0; - margin:0; - margin-bottom: 15px; - color: #999; - font-size:0.85em; -} -.metadata.page-metadata .contributors-text{ - margin-right:5px -} -body[dir=rtl] .metadata.page-metadata .contributors-text{ - margin-right:0; - margin-left:5px -} -.page-metadata .contributors{ - display:inline-block; - list-style:none; - margin:0!important; - padding:0!important -} -.page-metadata .contributors li{ - display:inline-block; - vertical-align:top; - margin:0; - padding:0 +@keyframes heart { + + 0%, + 40%, + 80%, + to { + transform: scale(1) + } + + 20%, + 60% { + transform: scale(1.15) + } +} + +.md-typeset .twitter { + color: #00acee +} + +.md-typeset .mastodon { + color: #897ff8 +} + +.md-typeset .mdx-video { + width: auto +} + +.md-typeset .mdx-video__inner { + height: 0; + padding-bottom: 56.138%; + position: relative; + width: 100% +} + +.md-typeset .mdx-video iframe { + border: none; + height: 100%; + left: 0; + overflow: hidden; + position: absolute; + top: 0; + width: 100% +} + +.md-typeset .mdx-heart { + animation: heart 1s infinite +} + +.md-typeset .mdx-insiders { + color: #e91e63 +} + +.md-typeset .mdx-badge { + font-size: .85em +} + +.md-typeset .mdx-badge--heart { + --md-typeset-a-color: #e92063; + --md-accent-fg-color: #ff4281; + --md-accent-fg-color--transparent: #e920631a +} + +.md-typeset .mdx-badge--heart .twemoji { + animation: heart 1s infinite +} + +.md-typeset .mdx-badge--right { + float: right; + margin-left: .35em +} + +[dir=ltr] .md-typeset .mdx-badge__icon { + border-top-left-radius: .1rem +} + +[dir=rtl] .md-typeset .mdx-badge__icon { + border-top-right-radius: .1rem +} + +[dir=ltr] .md-typeset .mdx-badge__icon { + border-bottom-left-radius: .1rem +} + +[dir=rtl] .md-typeset .mdx-badge__icon { + border-bottom-right-radius: .1rem +} + +.md-typeset .mdx-badge__icon { + background: var(--md-accent-fg-color--transparent); + padding: .2rem +} + +.md-typeset .mdx-badge__icon:last-child { + border-radius: .1rem +} + +[dir=ltr] .md-typeset .mdx-badge__text { + border-top-right-radius: .1rem +} + +[dir=rtl] .md-typeset .mdx-badge__text { + border-top-left-radius: .1rem +} + +[dir=ltr] .md-typeset .mdx-badge__text { + border-bottom-right-radius: .1rem +} + +[dir=rtl] .md-typeset .mdx-badge__text { + border-bottom-left-radius: .1rem +} + +.md-typeset .mdx-badge__text { + box-shadow: 0 0 0 1px inset var(--md-accent-fg-color--transparent); + padding: .2rem .3rem +} + +.md-typeset .mdx-switch button { + cursor: pointer; + transition: opacity .25s +} + +.md-typeset .mdx-switch button:focus, +.md-typeset .mdx-switch button:hover { + opacity: .75 +} + +.md-typeset .mdx-switch button>code { + background-color: var(--md-primary-fg-color); + color: var(--md-primary-bg-color); + display: block +} + +.md-typeset .mdx-columns ol, +.md-typeset .mdx-columns ul { + -moz-columns: 2; + column-count: 2 +} + +@media screen and (max-width:29.984375em) { + + .md-typeset .mdx-columns ol, + .md-typeset .mdx-columns ul { + -moz-columns: initial; + columns: initial + } +} + +.md-typeset .mdx-columns li { + -moz-column-break-inside: avoid; + break-inside: avoid +} + +.md-typeset .mdx-flags { + margin: 2em auto +} + +.md-typeset .mdx-flags ol { + list-style: none +} + +.md-typeset .mdx-flags ol li { + margin-bottom: 1em +} + +.md-typeset .mdx-flags__item { + display: flex; + gap: .6rem +} + +.md-typeset .mdx-flags__content { + display: flex; + flex: 1; + flex-direction: column +} + +.md-typeset .mdx-flags__content span { + align-items: baseline; + display: inline-flex; + justify-content: space-between +} + +.md-typeset .mdx-flags__content>span:nth-child(2) { + font-size: 80% +} + +.md-typeset .mdx-flags__content code { + float: right +} + +.md-typeset .mdx-social { + height: min(27rem, 80vw); + position: relative +} + +.md-typeset .mdx-social:hover .mdx-social__image { + background-color: #e4e4e40d +} + +.md-typeset .mdx-social__layer { + margin-top: 4rem; + position: absolute; + transform-style: preserve-3d; + transition: .25s cubic-bezier(.7, 0, .3, 1) +} + +.md-typeset .mdx-social__layer:hover .mdx-social__label { + opacity: 1 +} + +.md-typeset .mdx-social__layer:hover .mdx-social__image { + background-color: #7f7f7ffc +} + +.md-typeset .mdx-social__layer:hover~.mdx-social__layer { + opacity: 0 +} + +.md-typeset .mdx-social__image { + box-shadow: -.25rem .25rem .5rem #0000000d; + transform: rotate(-40deg) skew(15deg, 15deg) scale(.7); + transition: all .25s +} + +.md-typeset .mdx-social__image img { + display: block +} + +.md-typeset .mdx-social__label { + background-color: var(--md-default-fg-color--light); + color: var(--md-default-bg-color); + display: block; + opacity: 0; + padding: .2rem .4rem; + position: absolute; + transition: all .25s +} + +.md-typeset .mdx-social:hover .mdx-social__layer:nth-child(6) { + transform: translateY(-30px) +} + +.md-typeset .mdx-social:hover .mdx-social__layer:nth-child(5) { + transform: translateY(-20px) +} + +.md-typeset .mdx-social:hover .mdx-social__layer:nth-child(4) { + transform: translateY(-10px) +} + +.md-typeset .mdx-social:hover .mdx-social__layer:nth-child(3) { + transform: translateY(0) +} + +.md-typeset .mdx-social:hover .mdx-social__layer:nth-child(2) { + transform: translateY(10px) +} + +.md-typeset .mdx-social:hover .mdx-social__layer:first-child { + transform: translateY(20px) +} + +.md-typeset .mdx-social:hover .mdx-social__layer:nth-child(0) { + transform: translateY(30px) +} + +.md-banner { + color: var(--md-footer-fg-color--lighter) +} + +.md-banner strong { + white-space: nowrap +} + +.md-banner a, +.md-banner strong { + color: var(--md-footer-fg-color) +} + +.md-banner a:focus, +.md-banner a:hover { + color: currentcolor +} + +.md-banner a:focus .twemoji, +.md-banner a:hover .twemoji { + background-color: var(--md-footer-fg-color); + box-shadow: none +} + +.md-banner .twemoji { + border-radius: 100%; + box-shadow: inset 0 0 0 .05rem currentcolor; + display: inline-block; + height: 1.2rem; + padding: .25rem; + transition: all .25s; + vertical-align: bottom; + width: 1.2rem +} + +.md-banner .twemoji svg { + display: block; + max-height: none +} + +.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 +} + +[data-md-color-scheme=slate] .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(230, 15%, 14%, 1)' /></svg>") no-repeat bottom, linear-gradient(to bottom, var(--md-primary-fg-color), #363949 99%, var(--md-default-bg-color) 99%) +} + +.mdx-hero { + color: var(--md-primary-bg-color); + margin: 0 .8rem +} + +.mdx-hero h1 { + color: currentcolor; + font-weight: 700; + margin-bottom: 1rem +} + +@media screen and (max-width:29.984375em) { + .mdx-hero h1 { + font-size: 1.4rem + } +} + +.mdx-hero__content { + padding-bottom: 6rem +} + +@media screen and (min-width:60em) { + .mdx-hero { + align-items: stretch; + display: flex + } + + .mdx-hero__content { + margin-top: 3.5rem; + max-width: 19rem; + padding-bottom: 14vw + } + + .mdx-hero__image { + order: 1; + transform: translateX(4rem); + width: 38rem + } +} + +@media screen and (min-width:76.25em) { + .mdx-hero__image { + transform: translateX(8rem) + } +} + +.mdx-hero .md-button { + color: var(--md-primary-bg-color); + margin-right: .5rem; + margin-top: .5rem +} + +.mdx-hero .md-button:focus, +.mdx-hero .md-button:hover { + background-color: var(--md-accent-fg-color); + border-color: var(--md-accent-fg-color); + color: var(--md-accent-bg-color) +} + +.mdx-hero .md-button--primary { + background-color: var(--md-primary-bg-color); + border-color: var(--md-primary-bg-color); + color: #894da8 +} + +.md-typeset .mdx-iconsearch { + background-color: var(--md-default-bg-color); + border-radius: .1rem; + box-shadow: var(--md-shadow-z1); + position: relative; + transition: box-shadow 125ms +} + +.md-typeset .mdx-iconsearch:focus-within, +.md-typeset .mdx-iconsearch:hover { + box-shadow: var(--md-shadow-z2) +} + +.md-typeset .mdx-iconsearch .md-input { + background: var(--md-default-bg-color); + box-shadow: none +} + +[data-md-color-scheme=slate] .md-typeset .mdx-iconsearch .md-input { + background: var(--md-code-bg-color) +} + +.md-typeset .mdx-iconsearch-result { + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + max-height: 50vh; + overflow-y: auto; + scrollbar-color: var(--md-default-fg-color--lighter) #0000; + scrollbar-width: thin; + touch-action: pan-y +} + +.md-tooltip .md-typeset .mdx-iconsearch-result { + max-height: 10.25rem +} + +.md-typeset .mdx-iconsearch-result::-webkit-scrollbar { + height: .2rem; + width: .2rem +} + +.md-typeset .mdx-iconsearch-result::-webkit-scrollbar-thumb { + background-color: var(--md-default-fg-color--lighter) +} + +.md-typeset .mdx-iconsearch-result::-webkit-scrollbar-thumb:hover { + background-color: var(--md-accent-fg-color) +} + +.md-typeset .mdx-iconsearch-result__meta { + color: var(--md-default-fg-color--lighter); + font-size: .64rem; + position: absolute; + right: .6rem; + top: .4rem +} + +[dir=ltr] .md-typeset .mdx-iconsearch-result__list { + margin-left: 0 +} + +[dir=rtl] .md-typeset .mdx-iconsearch-result__list { + margin-right: 0 +} + +.md-typeset .mdx-iconsearch-result__list { + list-style: none; + margin: 0; + padding: 0 +} + +[dir=ltr] .md-typeset .mdx-iconsearch-result__item { + margin-left: 0 +} + +[dir=rtl] .md-typeset .mdx-iconsearch-result__item { + margin-right: 0 +} + +.md-typeset .mdx-iconsearch-result__item { + border-bottom: .05rem solid var(--md-default-fg-color--lightest); + margin: 0; + padding: .2rem .6rem +} + +.md-typeset .mdx-iconsearch-result__item:last-child { + border-bottom: none +} + +.md-typeset .mdx-iconsearch-result__item>* { + margin-right: .6rem +} + +.md-typeset .mdx-iconsearch-result__item img { + height: .9rem; + width: .9rem +} + +[data-md-color-scheme=slate] .md-typeset .mdx-iconsearch-result__item img[src*=squidfunk] { + filter: invert(1) +} + +.md-typeset .mdx-premium p { + margin: 2em 0; + text-align: center +} + +.md-typeset .mdx-premium img { + height: 3.25rem +} + +.md-typeset .mdx-premium p:last-child { + display: flex; + flex-wrap: wrap; + justify-content: center +} + +.md-typeset .mdx-premium p:last-child>a { + display: block; + flex-shrink: 0 +} + +.md-typeset .mdx-sponsorship__list { + margin: 2em 0 +} + +.md-typeset .mdx-sponsorship__list:after { + clear: both; + content: ""; + display: block +} + +[dir=ltr] .md-typeset .mdx-sponsorship__item { + float: left +} + +[dir=rtl] .md-typeset .mdx-sponsorship__item { + float: right +} + +.md-typeset .mdx-sponsorship__item { + border-radius: 100%; + display: block; + height: 1.6rem; + margin: .2rem; + overflow: hidden; + transform: scale(1); + transition: color 125ms, transform 125ms; + width: 1.6rem +} + +.md-typeset .mdx-sponsorship__item:focus, +.md-typeset .mdx-sponsorship__item:hover { + transform: scale(1.1) +} + +.md-typeset .mdx-sponsorship__item:focus img, +.md-typeset .mdx-sponsorship__item:hover img { + filter: grayscale(0) +} + +.md-typeset .mdx-sponsorship__item--private { + background: var(--md-default-fg-color--lightest); + color: var(--md-default-fg-color--lighter); + font-size: .6rem; + font-weight: 700; + line-height: 1.6rem; + text-align: center +} + +.md-typeset .mdx-sponsorship__item img { + display: block; + filter: grayscale(100%) opacity(75%); + height: auto; + transition: filter 125ms; + width: 100% +} + +.md-typeset .mdx-sponsorship-button { + font-weight: 400 +} + +.md-typeset .mdx-sponsorship-count, +.md-typeset .mdx-sponsorship-total { + font-weight: 700 }
\ No newline at end of file |
