From 3e83700fc29191865fe0a405c81ca560e09ea063 Mon Sep 17 00:00:00 2001 From: Thomas Miceli <27960254+thomiceli@users.noreply.github.com> Date: Wed, 6 Sep 2023 23:36:44 +0200 Subject: [PATCH] Miscellaneous front changes (#93) * Fix fork icon * Added alt images descriptions * Add avatars next to gists links * Fix avatar for nil user * Slightly different blue primary color * Reduced main width * "New" button redirects to login when not logged in --- tailwind.config.js | 15 +++++++- templates/base/base_header.html | 8 ++-- templates/pages/all.html | 65 +++++++++++++++++++-------------- templates/pages/forks.html | 2 +- templates/pages/likes.html | 2 +- templates/pages/revisions.html | 2 +- 6 files changed, 58 insertions(+), 36 deletions(-) diff --git a/tailwind.config.js b/tailwind.config.js index c1e2b6b..a387490 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -23,7 +23,20 @@ module.exports = { 900: "#131316" }, rose: colors.rose, - primary: colors.sky, + primary: { + 50: '#d6e1ff', + 100: '#d1dfff', + 200: '#b9d2fe', + 300: '#84b1fb', + 400: '#74a4f6', + 500: '#588fee', + 600: '#3c79e2', + 700: '#356fc0', + 800: '#2d6195', + 900: '#2a5574', + 950: '#173040', + }, + slate: colors.slate }, extend: { diff --git a/templates/base/base_header.html b/templates/base/base_header.html index 738d0a5..938469a 100644 --- a/templates/base/base_header.html +++ b/templates/base/base_header.html @@ -47,7 +47,7 @@