simplify/fix cover position/size
All checks were successful
release-tag / release-image (push) Successful in 5m4s
All checks were successful
release-tag / release-image (push) Successful in 5m4s
This commit is contained in:
@@ -118,24 +118,28 @@ header {
|
||||
|
||||
.cover-container {
|
||||
position: relative;
|
||||
width: 11.67em;
|
||||
width: 11.91em;
|
||||
height: 6.7em;
|
||||
float: left;
|
||||
margin-right: 1em;
|
||||
text-align: center;
|
||||
background-color: white;
|
||||
/*background-color: white;*/
|
||||
display: flex;
|
||||
/*align-items: center;*/
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.cover {
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
/*display: block;*/
|
||||
object-fit: contain;
|
||||
/*max-width: 100%;
|
||||
max-height: 100%;
|
||||
scale: 2;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
top: 75%;
|
||||
left: 75%;
|
||||
-webkit-transform: translate(-50%, -50%);
|
||||
-ms-transform: translate(-50%, -50%);
|
||||
transform: translate(-50%, -50%);
|
||||
transform: translate(-50%, -50%);*/
|
||||
transition: .3s ease;
|
||||
border-radius: 0.3em;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user