Skip to content

Commit d123463

Browse files
committed
Done
Time: 5:30 AM Date: 7-04-2025 Signed-off-by: Someshdiwan <[email protected]>
1 parent 562e3fd commit d123463

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

site/assets/style.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,13 @@ body {
138138
width: 48%;
139139
}
140140
}
141+
141142
.responsive-img {
142-
max-width: 100%;
143+
width: 100%;
144+
max-width: 600px; /* Or 500px or whatever looks good */
143145
height: auto;
146+
margin: 0 auto;
147+
display: block;
144148
border-radius: 10px;
145149
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
146150
transition: transform 0.3s ease;
@@ -150,6 +154,7 @@ body {
150154
transform: scale(1.02);
151155
}
152156

157+
153158
/* Optional: Add a dark-mode outline for visibility */
154159
.dark-mode .responsive-img {
155160
box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);

0 commit comments

Comments
 (0)