From 93afb7ee624fe8f225b2436782b0ffffa9940bb6 Mon Sep 17 00:00:00 2001 From: Ashley Date: Mon, 23 Jan 2023 17:20:04 +0000 Subject: [PATCH] center da page owo --- css/music.css | 23 ++++++----------------- 1 file changed, 6 insertions(+), 17 deletions(-) diff --git a/css/music.css b/css/music.css index 8df2f32d..9bce77a3 100644 --- a/css/music.css +++ b/css/music.css @@ -217,23 +217,12 @@ body { padding: 3em; display: flex; flex-direction: column; - margin: 24px; margin-top: 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 { margin-inline: auto; - margin-left: 20em; width: 13em; } @@ -251,16 +240,10 @@ img { background-color: #0f0f0f; } .img { - text-align: center; height: 23em !important; - min-height: 52%; - margin: 0; - display: block; - margin-inline: auto; width: 23em; border-radius: 11px; pointer-events: none; - margin-left: 20em; } .center { text-align: center; @@ -330,4 +313,10 @@ img { } #more-button-container:target { display: block; +} + +.middle { + position: absolute; + transform: translateX(-50%); + left: 50%; } \ No newline at end of file