center da page owo

This commit is contained in:
Ashley 2023-01-23 17:20:04 +00:00
parent 632cec9be3
commit 0e9bb8e46d

View file

@ -217,23 +217,12 @@ body {
padding: 3em; padding: 3em;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
margin: 24px;
margin-top: auto; margin-top: auto;
margin-left: auto; margin-left: auto;
max-height: 768px;
} }
@media only screen and (min-width: 72rem) {
.align {
margin:0 auto;
width:1024px;
margin-left: -1em;
}
}
.video-title.center { .video-title.center {
margin-inline: auto; margin-inline: auto;
margin-left: 20em;
width: 13em; width: 13em;
} }
@ -251,16 +240,10 @@ img {
background-color: #0f0f0f; background-color: #0f0f0f;
} }
.img { .img {
text-align: center;
height: 23em !important; height: 23em !important;
min-height: 52%;
margin: 0;
display: block;
margin-inline: auto;
width: 23em; width: 23em;
border-radius: 11px; border-radius: 11px;
pointer-events: none; pointer-events: none;
margin-left: 20em;
} }
.center { .center {
text-align: center; text-align: center;
@ -331,3 +314,9 @@ img {
#more-button-container:target { #more-button-container:target {
display: block; display: block;
} }
.middle {
position: absolute;
transform: translateX(-50%);
left: 50%;
}