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