Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl authored Mar 15, 2024
1 parent 0850ff1 commit ae10739
Showing 1 changed file with 9 additions and 20 deletions.
29 changes: 9 additions & 20 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
border: none;
transition: all 0.3s;
position: relative;
overflow: hidden; /* Added */
}

.card:hover {
Expand Down Expand Up @@ -45,20 +46,19 @@
text-align: center;
position: relative;
z-index: 1;
padding-bottom: 180px;
}

.preview {
position: absolute;
top: 100%;
top: 0;
left: 0;
width: 100%;
height: auto;
height: 100%;
background-color: rgba(255, 255, 255, 0.9);
opacity: 0;
transition: opacity 0.3s ease-in-out;
pointer-events: none;
z-index: 1;
z-index: 3; /* Changed to be on top of the card */
overflow: hidden;
}

Expand All @@ -69,6 +69,10 @@

.preview-content {
padding: 20px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}

.preview-content img {
Expand Down Expand Up @@ -97,23 +101,8 @@
max-height: 100px;
overflow-y: auto;
}

.slideshow {
position: relative;
max-height: calc(100% - 60px);
overflow-y: auto;
}

.slideshow img {
max-width: 100%;
height: auto;
width: auto\9;
max-height: 150px;
display: block;
margin: 0 auto;
}

</style>


</head>
<body>
Expand Down

0 comments on commit ae10739

Please sign in to comment.