From c89dd295af03a3c2f94184b11120e88904a67237 Mon Sep 17 00:00:00 2001 From: Barry Pollard Date: Sun, 3 Nov 2024 14:47:30 +0000 Subject: [PATCH] Add Bluesky profile link support (#3824) --- src/config/contributors.json | 1 + src/static/css/ebook.css | 10 ++++++---- src/templates/base.html | 4 ++++ src/templates/base/base_chapter.html | 9 +++++++++ src/templates/base/base_ebook.html | 23 ++++++++++++++++++----- src/templates/base/contributors.html | 22 ++++++++++++++++------ src/templates/base/ebook.ejs.html | 21 ++++++++++++++++----- src/templates/en/base.html | 1 + src/templates/es/base.html | 1 + src/templates/fr/base.html | 1 + src/templates/hi/base.html | 1 + src/templates/it/base.html | 1 + src/templates/ja/base.html | 1 + src/templates/nl/base.html | 1 + src/templates/pt/base.html | 1 + src/templates/ru/base.html | 1 + src/templates/tr/base.html | 1 + src/templates/uk/base.html | 1 + src/templates/zh-CN/base.html | 1 + src/templates/zh-TW/base.html | 1 + 20 files changed, 83 insertions(+), 20 deletions(-) diff --git a/src/config/contributors.json b/src/config/contributors.json index 46772a5eb4a..29a31f33964 100644 --- a/src/config/contributors.json +++ b/src/config/contributors.json @@ -584,6 +584,7 @@ }, "tunetheweb": { "avatar_url": "10931297", + "bluesky": "tunetheweb.com", "github": "tunetheweb", "linkedin": "tunetheweb", "mastodon": "https://webperf.social/@tunetheweb", diff --git a/src/static/css/ebook.css b/src/static/css/ebook.css index b43f44600ec..e8130da4780 100644 --- a/src/static/css/ebook.css +++ b/src/static/css/ebook.css @@ -133,14 +133,16 @@ tbody tr:nth-child(even) { display: flex; } +.contributor-avatars { + min-width: 5rem; + margin-bottom: 1rem; + margin-right: 1rem; +} + .contributor-avatar { border-radius: 50px; background-color: #f7f779; - margin-bottom: 1rem; - margin-right: 1rem; width: 5rem; - max-width: 5rem; - height: auto; transition-duration: 0.3s; flex: 1; } diff --git a/src/templates/base.html b/src/templates/base.html index 93577a19121..7e4e175ceb1 100644 --- a/src/templates/base.html +++ b/src/templates/base.html @@ -69,6 +69,10 @@ + +