From 907183fab136e0b7fe738b0b621f94dc42679f1f Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Sat, 25 May 2024 15:36:05 +0200 Subject: [PATCH] Revert "converted all vh used in x-axis to vw" This reverts commit 8b540ad0b1bd932596bf685ae57eac5a1e7e78ff. --- res/autori/style.css | 4 ++-- res/forum/style.css | 18 +++++++++--------- res/global.css | 4 ++-- res/index/style.css | 18 +++++++++--------- res/panorama/style.css | 2 +- 5 files changed, 23 insertions(+), 23 deletions(-) diff --git a/res/autori/style.css b/res/autori/style.css index 46d9e89..8905b5a 100644 --- a/res/autori/style.css +++ b/res/autori/style.css @@ -28,11 +28,11 @@ #dino { margin-left: auto; - margin-right: 1.125vw; + margin-right: 2vh; } #vasek { margin-right: auto; - margin-left: 1.125vw; + margin-left: 2vh; } \ No newline at end of file diff --git a/res/forum/style.css b/res/forum/style.css index 03ddff8..ce28e75 100644 --- a/res/forum/style.css +++ b/res/forum/style.css @@ -12,7 +12,7 @@ body #main_panel { position: absolute; - width: 73.125vw; + width: 130vh; height: 95vh; background: #6F7270; @@ -26,7 +26,7 @@ body ::-webkit-scrollbar { - width: 0.422vw; + width: 0.75vh; } ::-webkit-scrollbar-track @@ -73,7 +73,7 @@ body #upper_panel img + img { - margin-left: 0.141vw; + margin-left: 0.25vh; } #upper_panel img:hover, #close_btn:hover @@ -114,7 +114,7 @@ body { position: absolute; bottom: 0.3vh; - right: 0.169vw; + right: 0.3vh; display: none; } @@ -123,8 +123,8 @@ body width: fit-content; padding: 0.3vh; - padding-left: 0.506vw; - padding-right: 0.506vw; + padding-left: 0.9vh; + padding-right: 0.9vh; background-color: #9E6812; border: 1px solid #3E392F; @@ -244,7 +244,7 @@ body .post_info { - padding-left: 2.813vw; + padding-left: 5vh; display: flex; flex-direction: column; @@ -260,13 +260,13 @@ body { padding-top: 0.25vh; padding-bottom: 0.25vh; - width: 11.25vw; + width: 20vh; } .post img { max-height: 20vh; - max-width: 11.25vw; + max-width: 20vh; display: block; margin-left: auto; } diff --git a/res/global.css b/res/global.css index c096f70..692df7c 100644 --- a/res/global.css +++ b/res/global.css @@ -14,14 +14,14 @@ body /* margin-top: 1vh; margin-left: 1vh; */ top: 1vh; - left: 0.563vw; + left: 1vh; font-size: xx-large; padding: 1vh; border-radius: 0.5vh; background-color: #B97C15; color: #C1BFBE; border-color: #4D2B09; - width: 4.5vw; + width: 8vh; height: 8vh; } diff --git a/res/index/style.css b/res/index/style.css index b8a68ab..07a0416 100644 --- a/res/index/style.css +++ b/res/index/style.css @@ -11,7 +11,7 @@ body #textPole { - width: 31.219vw; + width: 55.5vh; height: 25.5vh; resize: none; border-radius: 0.5vh; @@ -26,7 +26,7 @@ body ::-webkit-scrollbar { - width: 0.422vw; + width: 0.75vh; } ::-webkit-scrollbar-track @@ -56,7 +56,7 @@ body position: absolute; margin-top: 50vh; padding:auto; - margin-left: 8.438vw; + margin-left: 15vh; } .tlacitko @@ -66,15 +66,15 @@ body border-color: #4D2B09; margin-bottom: 1vh; border-radius: 0.84vh; - border-width: 0.18vw; - width: 19.688vw; + border-width: 0.32vh; + width: 35vh; height: 7vh; font-size: larger; } #slideshow { - width: 22.5vw; + width: 40vh; height: 30vh; position: fixed; bottom: 0vh; @@ -125,8 +125,8 @@ body #sub_btn { - padding-right: 1.125vw; - padding-left: 1.125vw; + padding-right: 2vh; + padding-left: 2vh; } #login_buttons, #logout_button @@ -136,7 +136,7 @@ body #login_buttons * { - width: 9.563vw; + width: 17vh; } #logout_button diff --git a/res/panorama/style.css b/res/panorama/style.css index 9914491..80a41a5 100644 --- a/res/panorama/style.css +++ b/res/panorama/style.css @@ -18,7 +18,7 @@ #sipky > button { - width: 15.625vw; + width: 10vh; height: 10vh; font-size: xx-large; border-radius: 0.5vh;