Added premium sponsors to Insiders page

This commit is contained in:
squidfunk
2021-09-04 13:06:35 +02:00
parent f1058ec34c
commit a633f12e09
8 changed files with 41 additions and 6 deletions

View File

@@ -98,6 +98,26 @@ You can cancel your sponsorship anytime.[^4]
[:octicons-heart-fill-24:{ .mdx-heart } &nbsp; Join our <span class="mdx-sponsorship-count" data-mdx-component="sponsorship-count"></span> awesome sponsors][5]{ .md-button .md-button--primary .mdx-sponsorship-button } [:octicons-heart-fill-24:{ .mdx-heart } &nbsp; Join our <span class="mdx-sponsorship-count" data-mdx-component="sponsorship-count"></span> awesome sponsors][5]{ .md-button .md-button--primary .mdx-sponsorship-button }
<hr />
<div class="mdx-premium" markdown="1">
**Special thanks** to our **premium sponsors**:
[![Hummingbot]](https://hummingbot.io/){ target=_blank }
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
[![Basler]](https://docs.baslerweb.com/){ target=_blank }
&nbsp;&nbsp;
[![Cirrus CI]](https://cirrus-ci.org/){ target=_blank }
</div>
[Hummingbot]: https://raw.githubusercontent.com/squidfunk/mkdocs-material/master/.github/assets/sponsors/hummingbot.png
[Basler]: https://raw.githubusercontent.com/squidfunk/mkdocs-material/master/.github/assets/sponsors/basler.png
[Cirrus CI]: https://raw.githubusercontent.com/squidfunk/mkdocs-material/master/.github/assets/sponsors/cirrus-ci.svg
<hr />
<div class="mdx-sponsorship" data-mdx-component="sponsorship" hidden> <div class="mdx-sponsorship" data-mdx-component="sponsorship" hidden>
<div class="mdx-sponsorship__list"></div> <div class="mdx-sponsorship__list"></div>
<small> <small>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -3,7 +3,7 @@
-#} -#}
{% extends "base.html" %} {% extends "base.html" %}
{% block extrahead %} {% block extrahead %}
<link rel="stylesheet" href="{{ 'overrides/assets/stylesheets/main.14225c90.min.css' | url }}"> <link rel="stylesheet" href="{{ 'overrides/assets/stylesheets/main.a9869c0c.min.css' | url }}">
{% endblock %} {% endblock %}
{% block announce %} {% block announce %}
<a href="https://twitter.com/squidfunk"> <a href="https://twitter.com/squidfunk">

View File

@@ -20,7 +20,7 @@
"search.result.one": "找到 1 个符合條件的結果", "search.result.one": "找到 1 个符合條件的結果",
"search.result.other": "# 個符合條件的結果", "search.result.other": "# 個符合條件的結果",
"skip.link.title": "跳轉至", "skip.link.title": "跳轉至",
"source.link.title": "前往 GitHub 倉庫", "source.link.title": "前往倉庫",
"source.revision.date": "最後更新", "source.revision.date": "最後更新",
"source.file.date.updated": "最後更新", "source.file.date.updated": "最後更新",
"source.file.date.created": "建立日期", "source.file.date.created": "建立日期",

View File

@@ -20,7 +20,7 @@
"search.result.one": "找到 1 个符合条件的结果", "search.result.one": "找到 1 个符合条件的结果",
"search.result.other": "# 个符合条件的结果", "search.result.other": "# 个符合条件的结果",
"skip.link.title": "跳转至", "skip.link.title": "跳转至",
"source.link.title": "前往 GitHub 仓库", "source.link.title": "前往仓库",
"source.revision.date": "最后更新", "source.revision.date": "最后更新",
"source.file.date.updated": "最后更新", "source.file.date.updated": "最后更新",
"source.file.date.created": "创建日期", "source.file.date.created": "创建日期",

View File

@@ -27,6 +27,21 @@
// Scoped in typesetted content to match specificity of regular content // Scoped in typesetted content to match specificity of regular content
.md-typeset { .md-typeset {
// Premium sponsors
.mdx-premium {
// Paragraphs
p {
margin: 2em 0;
text-align: center;
}
// Images
img {
height: px2rem(40px);
}
}
// Sponsorship // Sponsorship
.mdx-sponsorship { .mdx-sponsorship {