From f0e096485ed1813b8e88eb10da25e4ce8e624d78 Mon Sep 17 00:00:00 2001 From: Fen Dweller Date: Tue, 3 Dec 2019 15:25:54 -0500 Subject: [PATCH] Change font/font color; add transitions --- static/sexy.css | 24 ++++++++++++++++++------ templates/index.html | 8 ++++---- 2 files changed, 22 insertions(+), 10 deletions(-) diff --git a/static/sexy.css b/static/sexy.css index 632f80e..a77674f 100644 --- a/static/sexy.css +++ b/static/sexy.css @@ -56,6 +56,8 @@ body { background-color: #100d1e; } +@import url("https://fonts.googleapis.com/css?family=Source+Code+Pro:400,200,700"); + .game { font-size: 100px; } @@ -135,6 +137,7 @@ a:hover { user-select: none; position: relative; width: 40vh; + transition: 0.2s; } .game-logo { @@ -142,23 +145,28 @@ a:hover { opacity: 0.5; } +.game-button:hover { + transform: scale(1.25, 1.25); +} + .game-button:hover > .game-logo { opacity: 1; } .game-title { position: absolute; - color: rgb(183, 16, 206); - font-size: 10vh; + color: red; + font-size: 9vh; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 1; - transition: 0.2s; + transition: 0.4s ease-out; + font-family: 'Source Code Pro'; } .game-button:hover > .game-title { - font-size: 12vh; + font-size: 10vh; } .game-description { @@ -167,19 +175,23 @@ a:hover { left: 50%; top: 80%; transform: translate(-50%, 0); + font-size: 48px; + color: gray; + font-family: 'Source Code Pro', monospace; } -.game-button:hover > .game-description { +.game-button:hover + .game-description { display: inline; } .title { font-size: 100px; - color: rgb(183, 16, 206); + color: gray; position: fixed; left: 50%; top: 10%; transform: translate(-50%, 0); + font-family: 'Source Code Pro', monospace; } .switcher { diff --git a/templates/index.html b/templates/index.html index 397abbd..18ab435 100644 --- a/templates/index.html +++ b/templates/index.html @@ -11,24 +11,24 @@
stroll
-
A macro/vore procedural game
+
A macro/vore procedural game
feast
-
A vore-focused RPG
+
A vore-focused RPG
gorge
-
An idle/clicker vore game
+
An idle/clicker vore game
satiate
-
A text adventure engine with an emphasis on sound
+
A text adventure engine with an emphasis on sound