From: tenkyuu Date: Thu, 31 Oct 2024 09:18:15 +0000 (+0800) Subject: done with index.html and contact.html but still need responsiveness with bigger screens X-Git-Url: https://git.bochard.net/?a=commitdiff_plain;h=bf066c8edc76e51d72fc15f9ad4b7f127a634ab4;p=mysite.git done with index.html and contact.html but still need responsiveness with bigger screens --- diff --git a/contact.html b/contact.html index b9b6c84..db72600 100644 --- a/contact.html +++ b/contact.html @@ -120,7 +120,53 @@
-

hello

+
+

Contact Form

+
+ + + + + + + + + + + By clicking the submit button, you agree to the Privacy Policy + +
+
diff --git a/css/styles.css b/css/styles.css index d244035..65b1afe 100644 --- a/css/styles.css +++ b/css/styles.css @@ -5,14 +5,15 @@ --linkcolor: #fff; --linkhover1: #fff; --linkhover2: #acacac; - --linkhover3: #13a013; + --linkhover3: #0060df; + --linkhover4: #4680cc; --barcolor: #fff; --textcolor1: #fff; --textcolor2: #c2c2c2; --textcolor3: #727272; - --textcolor4: #13a013; + --textcolor4: #0060df; --textcolor5: #000; - --currentpageindicator: #13a013; + --currentpageindicator: #0060df; } *, ::before, @@ -30,7 +31,6 @@ body { display: flex; flex-direction: column; color: var(--textcolor1); - height: 1000rem; background-color: #0e0e0d; } header { @@ -44,6 +44,7 @@ header { justify-content: space-between; align-items: center; padding: 0 2rem; + border-bottom: 1px solid gray; z-index: 1; } .logo { @@ -76,7 +77,7 @@ header { } .nav-menu.active { pointer-events: unset; - opacity: 0.97; + opacity: 1; } .nav-title { font-size: 2.4rem; @@ -183,14 +184,14 @@ section { height: 100vh; } .bg-1 { - background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1)), url(/assets/images/static/background-cover-1.jpg); + background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.7)), url(/assets/images/static/background-cover-1.jpg); } .background-cover { background-position: center; background-size: cover; height: 100%; width: 100%; - filter: blur(1px) brightness(50%) contrast(90%); + filter: blur(0.5px) brightness(70%) contrast(90%); pointer-events: none; user-select: none; } @@ -212,6 +213,9 @@ section { /* LINK CARDS */ +.cards { + height: auto; +} .crd-link { display: flex; justify-content: center; @@ -250,7 +254,7 @@ section { font-size: 1.7rem; width: 100%; } -.fa-arrow-right { +.crd-arrow { font-size: 5rem; position: absolute; bottom: 0; @@ -263,19 +267,138 @@ section { filter: drop-shadow( 1px 1px 2px #000); } .crd-1 { - background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.9)), url(/assets/images/static/crd-cover-1.jpg); + background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7)), url(/assets/images/static/crd-cover-1.jpg); } .crd-2 { - background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.9)), url(/assets/images/static/crd-cover-2.jpeg); + background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7)), url(/assets/images/static/crd-cover-2.jpeg); +} + + + +/* QUESTIONS? */ +.questions { + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + margin: 20rem auto; + height: auto; +} +.got-q { + font-family: 'Amatic SC', serif; + font-size: 4rem; + transition: transform 0.2s ease-in-out; + cursor: help; +} +.got-q:hover { + transform: rotate(7deg); +} +.q-link { + text-decoration: none; +} +.q-link:hover { + text-decoration: none; + word-spacing: 1rem; +} +.got-ans { + font-size: 3rem; + transition: 0.2s ease-in-out; + color: var(--linkcolor); +} +.q-arrow { + margin-bottom: -0.3rem; + transition: 0.2s ease-in-out; + color: var(--linkhover3); } + +/* FOOTER */ footer { - margin-top: auto; - background-color: var(--mainbg2); - height: 1rem; + margin-top: 7rem; + border-top: 1px solid gray; + font-size: 1.4rem; + background-color: var(--mainbg1); + height: 5rem; + width: 100%; + display: flex; + justify-content: center; + align-items: center; +} +.logo-sml { + font-family: 'Amatic SC', serif; + font-weight: 700; + font-size: 2rem; +} + + + +/* CONTACT.HTML */ +.form-container { + margin-top: 7rem; + padding: 2rem; +} +.contact-form { + font-family: 'Amatic SC', serif; + font-size: 4rem; + padding-left: 1.7rem; + margin-bottom: 1rem; +} +.form { + display: flex; + flex-direction: column; + align-items: center; + padding: 1.7rem; + border: 0.1rem solid white; + border-radius: 1rem; + max-width: 60rem; +} +label, +input, +textarea { + display: inline-block; + width: 100%; +} +input, +textarea { + font-family: 'Pangolin', serif; + font-size: 1.7rem; + padding: 0.4rem; +} +label { + font-size: 2rem; + margin-top: 1rem; +} +textarea { + resize: none; + height: 17rem; +} +.contact-submit-btn { + font-size: 1.7rem; + padding: 0.4rem; + margin-top: 1.4rem; width: 100%; + transition: 0.1s ease-in-out; + border: none; + border-radius: 0.4rem; + background-color: var(--linkhover3); + color: var(--textcolor1); } +.contact-submit-btn:hover { + background-color: var(--linkhover4); +} +.form-privacy-notice { + margin-top: 1rem; + font-size: 1.2rem; +} +.privacy-notice-link { + color: var(--linkcolor); +} +.privacy-notice-link:hover { + color: var(--linkhover4); +} + + @media (prefers-reduced-motion: no-preference) { * { diff --git a/index.html b/index.html index 67a9807..07a92bd 100644 --- a/index.html +++ b/index.html @@ -139,26 +139,35 @@
-

Photos.

+

Photos.

Glimpses and memories through my lens, captured specks of our world.

- +
-

Projects.

-

Websites I've made from codes written using pen and paper.

- +

Projects.

+

Websites I've made from codes written out of pen and paper.

+
+ +
+

GOT SOME QUESTIONS?

+ +

I have answers. + +

+
+