From 29b9f94d2ba0fbd0380d3aa52b5c3e8b8272f5ac Mon Sep 17 00:00:00 2001 From: Angelos Chalaris Date: Sat, 7 Apr 2018 12:34:27 +0300 Subject: [PATCH] Add top contributors to landing page --- docs/mini/flavor.scss | 18 ++++++++++++++++++ static-parts/index.html | 40 +++++++++++++++++++++++++++++++++++++--- 2 files changed, 55 insertions(+), 3 deletions(-) diff --git a/docs/mini/flavor.scss b/docs/mini/flavor.scss index 9a74715c7..ad5296d12 100644 --- a/docs/mini/flavor.scss +++ b/docs/mini/flavor.scss @@ -640,3 +640,21 @@ ul#links { } } } + +.card.contributor { + height: calc(100% - 1rem); + justify-content: left; + > .section.media { + height: auto; + } + > .section.button { + font-size: 0.75rem; + font-weight: 700; + text-align: center; + transition: color 0.3s; + &:hover, &:focus { + color: var(--a-l-col); + background: #f8f8f8; + } + } +} diff --git a/static-parts/index.html b/static-parts/index.html index 6f2010aa6..781f74a69 100644 --- a/static-parts/index.html +++ b/static-parts/index.html @@ -100,11 +100,45 @@
-
-

Top contributors

-

TODO using Github API


+
+

Top contributors

+
+ + +
+ + Felix Wu +
+
+ + atomiks +
+ +
+ + Rohit Tanwar +
+ +
+

How to contribute