From aa2c2f10e8bd22fa91504f035f46b1e58c8b78c8 Mon Sep 17 00:00:00 2001 From: TheNightglow Date: Tue, 24 Aug 2021 00:22:03 +0200 Subject: [PATCH] autosize test nothing happend here --- index.html | 2 +- style1.css => style3.css | 11 ++++++++++- subfiles/about-us.html | 2 +- 3 files changed, 12 insertions(+), 3 deletions(-) rename style1.css => style3.css (84%) diff --git a/index.html b/index.html index ced4d38..3031509 100644 --- a/index.html +++ b/index.html @@ -6,7 +6,7 @@ Apophis Coding - +
diff --git a/style1.css b/style3.css similarity index 84% rename from style1.css rename to style3.css index 7368894..137c8da 100644 --- a/style1.css +++ b/style3.css @@ -2,6 +2,7 @@ .page-head { height: 75px; + height: min(75px, 8vw); } .page-head div @@ -18,6 +19,7 @@ .page-head img { width: 75px; + width: min(75px, 8vw); display: inline; vertical-align: middle; } @@ -29,6 +31,7 @@ top: 50%; left: 50%; transform: translate(-50%, -50%); + font-size: min(200%, 4vw); } .navigation @@ -60,14 +63,19 @@ body .center-panel { + width: 150px; + width: min(800px, 80vw); + margin-left: auto; + margin-right: auto; background-color: rgba(26, 26, 26, 0.596); padding: 10px; - margin: 0px 200px; border: black; border-spacing: 3px; color: rgb(177, 177, 147); border-style: solid; + position: center center; vertical-align: middle; + align-self: middle; } .center-panel p @@ -98,4 +106,5 @@ h1 position: fixed; bottom: 0; left: 10px; + font-size: max(10px, min(20px, 0.8vw)); } \ No newline at end of file diff --git a/subfiles/about-us.html b/subfiles/about-us.html index f990a62..4040828 100644 --- a/subfiles/about-us.html +++ b/subfiles/about-us.html @@ -6,7 +6,7 @@ Apophis Coding - About Us - +