feat: enhance modal photo with curly brackets and engaging CTA
- Replace blue border with green curly brackets { } using CSS pseudo-elements
- Add proper spacing and vertical centering with inline-flex
- Add engaging subtext below GitHub button: "Want to know how it's built?"
- Bilingual support for subtext (EN/ES)
This commit is contained in:
+40
-2
@@ -2750,8 +2750,37 @@ html {
|
||||
height: 53px;
|
||||
object-fit: cover;
|
||||
border-radius: 4px;
|
||||
border: 2px solid #27ae60;
|
||||
box-shadow: 0 2px 8px rgba(39, 174, 96, 0.2);
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.photo-bracket-wrapper {
|
||||
position: relative;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
padding: 0 22px;
|
||||
}
|
||||
|
||||
.photo-bracket-wrapper::before {
|
||||
content: '{';
|
||||
position: absolute;
|
||||
left: 2px;
|
||||
font-size: 2rem;
|
||||
font-weight: 700;
|
||||
color: #27ae60;
|
||||
line-height: 1;
|
||||
top: 8px;
|
||||
}
|
||||
|
||||
.photo-bracket-wrapper::after {
|
||||
content: '}';
|
||||
position: absolute;
|
||||
right: 2px;
|
||||
font-size: 2rem;
|
||||
font-weight: 700;
|
||||
color: #27ae60;
|
||||
line-height: 1;
|
||||
top: 8px;
|
||||
}
|
||||
|
||||
.info-modal-body {
|
||||
@@ -2833,6 +2862,15 @@ html {
|
||||
box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
|
||||
}
|
||||
|
||||
.info-modal-github-subtext {
|
||||
text-align: center;
|
||||
font-size: 0.9rem;
|
||||
color: #666;
|
||||
margin-top: 0.5rem;
|
||||
margin-bottom: 0;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/* Mobile responsive */
|
||||
@media (max-width: 768px) {
|
||||
.info-modal-content {
|
||||
|
||||
Reference in New Issue
Block a user