Add photo overlay feature and update biography section

This commit is contained in:
2025-11-27 07:25:12 +03:30
parent 7dfd9d8639
commit 249b34215f
4 changed files with 83 additions and 10 deletions

View File

@@ -136,3 +136,51 @@ ul li h3 {
font-size: 1.8rem;
}
}
/* Photo Overlay */
#photo-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.8);
display: flex;
justify-content: center;
align-items: center;
z-index: 1000;
opacity: 0;
visibility: hidden;
transition: opacity 0.3s ease, visibility 0.3s ease;
}
#photo-overlay.show {
opacity: 1;
visibility: visible;
}
.overlay-photo {
max-width: 80%;
max-height: 80%;
border-radius: 10px;
transform: scale(0.8);
transition: transform 0.3s ease;
}
#photo-overlay.show .overlay-photo {
transform: scale(1);
}
.close-btn {
position: absolute;
top: 20px;
right: 30px;
color: #fff;
font-size: 40px;
cursor: pointer;
}
.profile-pic {
cursor: pointer;
}