From: Joe Wreschnig Date: Sun, 17 May 2015 14:11:24 +0000 (+0200) Subject: Add some rules for displaying store-ish content. X-Git-Url: https://git.yukkurigames.com/?a=commitdiff_plain;h=068dcc7996bcdc887e784d2047e258e0072c27c0;p=yukkurigames.com.git Add some rules for displaying store-ish content. --- diff --git a/css/main.css b/css/main.css index 97a1efd..0906772 100644 --- a/css/main.css +++ b/css/main.css @@ -214,6 +214,7 @@ main > ul > li { hr { margin-top: 0; margin-bottom: 1em; + border: 0; border-bottom: solid rgb(206, 132, 242) 1px; height: 2em; } @@ -408,6 +409,42 @@ ul.download li:last-child { margin-bottom: 0; } +.actionable { + text-align: center; + font-size: 0.8rem; + margin: 0.75em auto; + color: rgba(0, 0, 0, 0.5); + display: block; +} + +.actionable a { + display: inline-block; + font-size: 1.5em; + background-color: rgb(240, 110, 110); + color: white; + text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); + padding: 0.5em; + text-decoration: none; + line-height: 0.8em; + border-radius: 8px; + width: 25%; + margin: 0 1em; +} + +.actionable a:hover { + background-color: rgb(244, 126, 126); +} + +.screenshots { + text-align: center; +} + +.screenshots img { + height: 8rem; + width: auto; + margin: 1rem 0.5rem; +} + .sh:before { content: "$ "; } @@ -477,6 +514,17 @@ footer a:link { text-decoration: none; } +iframe[src*="itch.io"] { + width: 552px; + height: 167px; + margin: auto; + left: 50%; + -webkit-transform: translateX(-50%); + transform: translateX(-50%); + position: relative; + border: 0; +} + @media (max-width: 767px) { html { font-size: 13px; } @@ -491,10 +539,20 @@ footer a:link { pre { font-size: 0.875em; } + + iframe[src*="itch.io"] { + -webkit-transform: translateX(-50%) scale(0.8); + transform: translateX(-50%) scale(0.8); + } } @media (max-width: 479px) { html { font-size: 10px; padding: 0 0.5em; } h4 { font-size: 1em; } + + iframe[src*="itch.io"] { + -webkit-transform: translateX(-50%) scale(0.6); + transform: translateX(-50%) scale(0.6); + } }