add previous and next styles

This commit is contained in:
DepFA 2022-09-17 17:56:53 +01:00 committed by GitHub
parent f96d8a601c
commit fb668c58ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -230,3 +230,29 @@ input[type="range"]{
width: auto;
}
.modalPrev,
.modalNext {
cursor: pointer;
position: absolute;
top: 50%;
width: auto;
padding: 16px;
margin-top: -50px;
color: white;
font-weight: bold;
font-size: 20px;
transition: 0.6s ease;
border-radius: 0 3px 3px 0;
user-select: none;
-webkit-user-select: none;
}
.modalNext {
right: 0;
border-radius: 3px 0 0 3px;
}
.modalPrev:hover,
.modalNext:hover {
background-color: rgba(0, 0, 0, 0.8);
}