mirror of
https://github.com/wahyd4/links.git
synced 2026-08-09 05:06:16 +10:00
UI Update
This commit is contained in:
@@ -30,8 +30,8 @@
|
||||
}
|
||||
|
||||
.random-image-container {
|
||||
aspect-ratio: 4/3;
|
||||
max-height: 200px;
|
||||
aspect-ratio: 3/4;
|
||||
max-height: 400px;
|
||||
}
|
||||
|
||||
.section-title {
|
||||
@@ -188,7 +188,7 @@
|
||||
<!-- Random Image Box 1 -->
|
||||
<div class="random-image-container bg-gray-100 rounded-lg shadow-md overflow-hidden hover:shadow-lg transition-shadow duration-200">
|
||||
<img
|
||||
src="/api/images/random/400/300/?fit=crop&v={{ timestamp }}"
|
||||
src="/api/images/random/300/450/?fit=crop&v={{ timestamp }}"
|
||||
alt="{% trans 'Random Image' %}"
|
||||
class="w-full h-full object-cover cursor-pointer hover:scale-105 transition-transform duration-200 random-image"
|
||||
data-box="1"
|
||||
@@ -200,7 +200,7 @@
|
||||
<!-- Random Image Box 2 -->
|
||||
<div class="random-image-container bg-gray-100 rounded-lg shadow-md overflow-hidden hover:shadow-lg transition-shadow duration-200">
|
||||
<img
|
||||
src="/api/images/random/400/300/?fit=crop&v={{ timestamp }}&offset=1"
|
||||
src="/api/images/random/300/450/?fit=crop&v={{ timestamp }}&offset=1"
|
||||
alt="{% trans 'Random Image' %}"
|
||||
class="w-full h-full object-cover cursor-pointer hover:scale-105 transition-transform duration-200 random-image"
|
||||
data-box="2"
|
||||
|
||||
Reference in New Issue
Block a user