aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Magorsch <arzano@gentoo.org>2020-03-23 21:16:17 +0100
committerMax Magorsch <arzano@gentoo.org>2020-03-23 21:16:17 +0100
commitb67d6d75e170f73487d524289c1ddbfdc99c3b9b (patch)
treebd0b75ace8aebb46b0c3fb62feeff576241efed9
parentUse https for the gravatar placeholder (diff)
downloadplanet-tyrian-b67d6d75e170f73487d524289c1ddbfdc99c3b9b.tar.gz
planet-tyrian-b67d6d75e170f73487d524289c1ddbfdc99c3b9b.tar.bz2
planet-tyrian-b67d6d75e170f73487d524289c1ddbfdc99c3b9b.zip
Fix the size of the contributor's icons
Signed-off-by: Max Magorsch <arzano@gentoo.org>
-rw-r--r--css/planet-tyrian.css6
-rw-r--r--tyrian-contributors.html.erb2
2 files changed, 7 insertions, 1 deletions
diff --git a/css/planet-tyrian.css b/css/planet-tyrian.css
index 07b2367..49d86c3 100644
--- a/css/planet-tyrian.css
+++ b/css/planet-tyrian.css
@@ -145,3 +145,9 @@ kbd {
padding: .1rem .2rem!important;
background-color: #424242!important;
}
+
+.contributor-icon {
+ border-radius: 6px;
+ width:80px;
+ height:80px;
+}
diff --git a/tyrian-contributors.html.erb b/tyrian-contributors.html.erb
index ddd160c..2bb0f5b 100644
--- a/tyrian-contributors.html.erb
+++ b/tyrian-contributors.html.erb
@@ -126,7 +126,7 @@
<div class="card-body">
<div class="row">
<div class="col-sm-4">
- <img src="https://www.gravatar.com/avatar/<%= feed.avatar %>?d=https%3A%2F%2Fwiki.gentoo.org%2Fimages%2Fthumb%2Fc%2Fc3%2FRipples-larry.svg%2F240px-Ripples-larry.svg.png" style="border-radius: 6px;"/>
+ <img class="contributor-icon" src="https://www.gravatar.com/avatar/<%= feed.avatar %>?d=https%3A%2F%2Fwiki.gentoo.org%2Fimages%2Fthumb%2Fc%2Fc3%2FRipples-larry.svg%2F240px-Ripples-larry.svg.png"/>
</div>
<div class="col-sm-8">
<p class="mb-1"><b><%= feed.author %> (<%= feed.title %>)</b></p>