From 40c4881b1fb93116e138755ee6b6efe4e298b83e Mon Sep 17 00:00:00 2001 From: Crementif Date: Thu, 1 Nov 2018 22:06:48 +0100 Subject: [PATCH] Added warning, contributors and more elegant buttons The name is there if you hover over it, just... not as visible as previously. --- docs/css/index.css | 41 +++++++++++++++++++++++++++++++++++++++++ docs/index.html | 40 +++++++++++++++++++++++++++++++++++----- 2 files changed, 76 insertions(+), 5 deletions(-) diff --git a/docs/css/index.css b/docs/css/index.css index d037856f..0d4d1982 100644 --- a/docs/css/index.css +++ b/docs/css/index.css @@ -42,4 +42,45 @@ body { #download-gfx-panel { background-color: #dfe7e8; +} + +#contributor-list { + left: -1000px; +} + +#contributor-list table tbody tr { + border: transparent 0px !important; + background-color: transparent !important; +} + +#contributor-list table tbody tr td { + padding: 2px !important; + border: transparent 0px !important; +} + +.contributor-tooltip { + position: relative; + display: inline-block; +} + +.contributor-tooltip .contributor-tooltip-text { + opacity: 0.0; + width: 120px; + top: 100%; + left: 50%; + margin-left: -60px; + background-color: black; + color: beige; + text-align: center; + padding: 5px 0; + border-radius: 2px; + position: absolute; + z-index: 1; + border-radius: 4px; + transition: opacity 500ms; + pointer-events: none; +} + +.contributor-tooltip:hover .contributor-tooltip-text { + opacity: 1.0; } \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index 688a6763..35e134ad 100644 --- a/docs/index.html +++ b/docs/index.html @@ -20,19 +20,33 @@ meta-description: "Largest graphic pack source for Cemu that modify or scale gam

+ + + + {% comment %} Get the latest release zip {% endcomment %} {% capture newReleaseVersion %} {{ site.github.latest_release.assets[0].browser_download_url | slice: 71, 3}} {% endcapture %} {% assign newReleaseVersion = newReleaseVersion | plus:1 %} -

Downloads

Choose the right download for the Cemu version that you'll use.

-

+

Remove your previous graphic packs before installing/updating each time you install your graphic packs or you might run into issues!

+
@@ -58,4 +72,20 @@ Possible todo's: Only show Cemu 1.14.0 graphic packs... + + + +{% comment %} Show github contributors {% endcomment %} +
+ + + {% tablerow contributor in site.github.contributors cols:9 %} + + {{contributor.login}}
{{contributor.contributions}} Commits
+ {{contributor.login}}'s avatar +
+ {% endtablerow %} +
\ No newline at end of file