From 18d46bd04d17866846edc7ef4951c39e48e624cb Mon Sep 17 00:00:00 2001 From: Seth Cottle Date: Mon, 4 Mar 2024 10:41:31 -0500 Subject: [PATCH] Stack Overflow + Tweaks Added Stack Overflow, renamed Steam Dark to Steam Alt to match the defined pattern we're already using for alternate buttons. Added stroke for accessibility. --- css/brands.css | 24 ++++++++++++++++++------ images/icons/stack-overflow.svg | 11 +++++++++++ index.html | 7 +++++-- 3 files changed, 34 insertions(+), 8 deletions(-) create mode 100644 images/icons/stack-overflow.svg diff --git a/css/brands.css b/css/brands.css index 3e2eeea..3bc142c 100644 --- a/css/brands.css +++ b/css/brands.css @@ -884,13 +884,14 @@ button:hover, filter: brightness(90%); } -/* Steam Dark */ -.button.button-steam-dark { - color: #ffffff; - background-image: linear-gradient(90deg, #09172a, #072a57, #0c5085); +/* Stack Overflow */ +.button.button-stack-overflow { + color: #000000; + background-color: #FFFFFF; + border: 1px solid #000000; } -.button.button-steam-dark:hover, -.button.button-steam-dark:focus { +.button.button-stack-overflow:hover, +.button.button-stack-overflow:focus { filter: brightness(90%); } @@ -904,6 +905,17 @@ button:hover, filter: brightness(90%); } +/* Steam Alt */ +.button.button-steam-alt { + color: #ffffff; + background-image: linear-gradient(90deg, #09172a, #072a57, #0c5085); + border: 1px solid #FFFFFF; +} +.button.button-steam-alt:hover, +.button.button-steam-alt:focus { + filter: brightness(90%); +} + /* Strava */ .button.button-strava { color: #ffffff; diff --git a/images/icons/stack-overflow.svg b/images/icons/stack-overflow.svg new file mode 100644 index 0000000..e548a79 --- /dev/null +++ b/images/icons/stack-overflow.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/index.html b/index.html index 0394e47..35c2bc8 100644 --- a/index.html +++ b/index.html @@ -325,12 +325,15 @@ Buy with Square
- - Steam
+ + Stack Overflow
Steam
+ + Steam
+ Strava