From d10c2bc203e9e3e1fae20f58cc30de61740ddab9 Mon Sep 17 00:00:00 2001 From: Rasmus Andersson Date: Thu, 24 Oct 2019 09:27:05 -0700 Subject: website: adds sponsor button --- docs/index.css | 31 +++++++++++++++++++++++++++++++ docs/index.html | 7 +++++++ 2 files changed, 38 insertions(+) diff --git a/docs/index.css b/docs/index.css index 2058c532f..5e4aeb796 100644 --- a/docs/index.css +++ b/docs/index.css @@ -287,3 +287,34 @@ boxes.features grid .sample em { .features box.feat-cvXX { flex-basis: 100%; } + + + +#sponsor-button { + display: inline-block; + min-width: 1%; + max-width: 100%; + height: 2em; + line-height: 2em; + border-radius: 0.25em; + border: 1px solid rgba(0,0,0,0.2); + font-weight: 500; font-weight: 480; + text-decoration: none; + padding: 0 0.55em; + user-select: none; -webkit-user-select: none; +} +#sponsor-button:hover { + border-color: rgba(0,0,0,0.6); + color: inherit; +} +#sponsor-button span { + display: flex; + align-items: center; +} +#sponsor-button span::before { + content: "♥"; + color: var(--red); + margin-right: 0.3em; + font-size: 1.1em; + line-height: 1em; +} diff --git a/docs/index.html b/docs/index.html index 5876fe24c..a85e5d3ea 100644 --- a/docs/index.html +++ b/docs/index.html @@ -134,6 +134,13 @@ html { font-family: 'Inter', sans-serif; } You are free to use this font in almost any way imaginable.
Refer to the SIL Open Font License 1.1 for exact details on what the conditions and restrictions are.

+

+ +

-- cgit v1.2.3