Added image fullscreen modals and style updates
This commit is contained in:
1 parent
659ab2a975
commit
5bbadfef1c
7 files changed
+240
-67
No files matched your search
@@ -74,6 +74,7 @@
|
||||
width: 100%;
|
||||
border-radius: 8px;
|
||||
margin-bottom: 2px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.gallery-item:hover {
|
||||
@@ -117,6 +118,60 @@
|
||||
color: cornflowerblue;
|
||||
}
|
||||
|
||||
.modal-backdrop {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: rgba(0,0,0,0.7);
|
||||
color: white;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
.modal-content {
|
||||
background: transparent;
|
||||
padding: 1rem;
|
||||
border-radius: 8px;
|
||||
max-width: 80vw;
|
||||
max-height: 80vh;
|
||||
text-align: center;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.modal-content img {
|
||||
max-width: 100%;
|
||||
max-height: 80vh;
|
||||
object-fit: contain;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.modal-content button {
|
||||
background-color: #FF5C8D;
|
||||
border: none;
|
||||
padding: 10px 20px;
|
||||
border-radius: 25px;
|
||||
cursor: pointer;
|
||||
color: white;
|
||||
font-size: 1.1rem;
|
||||
font-weight: bold;
|
||||
font-family: Roboto, serif;
|
||||
}
|
||||
|
||||
.modal-content button:hover {
|
||||
background-color: #FF3C75;
|
||||
}
|
||||
|
||||
.modal-content button:active {
|
||||
background-color: #ef85a4;
|
||||
}
|
||||
|
||||
hr.rounded {
|
||||
border: 2px solid white;
|
||||
width: 40px;
|
||||
|
||||
Reference in new issue
Block a user