tangled
alpha
login
or
join now
bobbby.online
/
blonk
2
fork
atom
blonk is a radar for your web, where you follow vibes for cool blips on the radar
2
fork
atom
overview
issues
pulls
pipelines
wip
Bobby Grayson
9 months ago
6ad6dfdf
b53ac55b
+6
-2
2 changed files
expand all
collapse all
unified
split
lib
elixir_blonk_web
live
gif_scan_live
index.html.heex
priv
static
assets
app.css
+2
-2
lib/elixir_blonk_web/live/gif_scan_live/index.html.heex
···
52
52
53
53
<!-- Text Overlay -->
54
54
<%= if text && String.trim(text) != "" do %>
55
55
-
<div class="absolute inset-x-0 bottom-0 bg-gradient-to-t from-black via-black to-transparent text-white p-3 text-xs opacity-0 group-hover:opacity-100 transition-all duration-300 transform translate-y-2 group-hover:translate-y-0">
56
56
-
<%= text %>
55
55
+
<div class="absolute inset-x-0 bottom-0 bg-gradient-to-t from-black via-black to-transparent text-white p-6 text-3xl font-bold leading-tight opacity-0 group-hover:opacity-100 transition-all duration-300 transform translate-y-4 group-hover:translate-y-0">
56
56
+
<%= String.slice(text, 0, 160) %><%= if String.length(text) > 160, do: "..." %>
57
57
</div>
58
58
<% end %>
59
59
</div>
+4
priv/static/assets/app.css
···
2082
2082
line-height: 1.625;
2083
2083
}
2084
2084
2085
2085
+
.leading-tight {
2086
2086
+
line-height: 1.25;
2087
2087
+
}
2088
2088
+
2085
2089
.tracking-tighter {
2086
2090
letter-spacing: -0.05em;
2087
2091
}