diff --git a/404.html b/404.html new file mode 100644 index 0000000..96deb2d --- /dev/null +++ b/404.html @@ -0,0 +1,35 @@ + + + + + + 404 - Page Not Found + + + +

404

+

Oops! Page not found 😢

+

The page you're looking for doesn't exist or has been moved.

+ Go Back Home + + diff --git a/login.html b/login.html index 2b4fcdb..2d44d3c 100644 --- a/login.html +++ b/login.html @@ -4,42 +4,62 @@ - Apni-Dukaan - - - - + Login | Apni Dukaan + + + + + + + + + +
Apni Dukaan
-
+
- - -
-
- - -
+ + +
+
- Forgot Password? -
- + + +
+ +
+ Forgot Password? +
+ + - + +
+ + Apni Dukaan Logo + +
+
-

Welcome back!

-

Log in and use the opportunities offered by our portal.

-

You don't have an account?

-
- +

Welcome Back!

+

Log in and explore amazing deals at your Apni Dukaan.

+

Don’t have an account?

+ + - - - + + - \ No newline at end of file + diff --git a/static/login.css b/static/login.css index 1cb7e5a..4e6d2df 100644 --- a/static/login.css +++ b/static/login.css @@ -1,9 +1,5 @@ @import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap"); -* { - margin: 0; - box-sizing: border-box; - font-family: "Roboto", sans-serif; -} + :root { --colour-one: #5398c6; --colour-two: #ffffff; @@ -16,6 +12,12 @@ --colour-nine: #ffffff; } +* { + margin: 0; + box-sizing: border-box; + font-family: "Roboto", sans-serif; +} + body { height: 100vh; display: flex; @@ -23,6 +25,7 @@ body { align-items: center; background: var(--colour-one); } + .login_form { position: relative; border-bottom: 3px solid var(--colour-four); @@ -33,12 +36,14 @@ body { box-shadow: 10px 10px 6px 2px #315b76; overflow: hidden; } + .details { position: relative; background: var(--colour-two); - height: 400px; + height: 100%; width: 350px; } + .welcome { position: absolute; color: var(--colour-six); @@ -46,6 +51,7 @@ body { top: 30%; font-weight: 700; } + .wrap:nth-child(1) { position: absolute; top: 35%; @@ -66,6 +72,7 @@ body { font-size: 15px; margin: 12px; } + .input { border: 1px solid var(--colour-three); padding: 5px 20px; @@ -73,10 +80,12 @@ body { border-radius: 5px; background: none; } + label { color: var(--colour-eight); display: block; } + .button { background: var(--colour-six); position: absolute; @@ -88,17 +97,20 @@ label { border-radius: 10px; border: none; } + .button .sign { color: #fff; font-size: 15px; cursor: pointer; } + .fox { position: absolute; top: 25%; left: 55%; height: 18%; } + .back { position: absolute; top: 44%; @@ -106,6 +118,7 @@ label { font-size: 20px; color: var(--colour-nine); } + .log { position: absolute; top: 52%; @@ -113,6 +126,7 @@ label { font-size: 14px; color: var(--colour-nine); } + .acc { position: absolute; top: 66%; @@ -120,6 +134,7 @@ label { font-size: 15px; color: var(--colour-nine); } + .signup { position: absolute; top: 72%; @@ -130,8 +145,45 @@ label { border: none; cursor: pointer; } + h3 { font-size: 14px; color: var(--colour-five); padding: 5px; } + +/* Optional Responsive Enhancements */ +@media (max-width: 768px) { + .login_form { + flex-direction: column; + width: 90%; + height: auto; + } + + .details { + width: 100%; + height: auto; + padding: 2rem; + } + + .wrap, + .button, + .fox, + .back, + .log, + .acc, + .signup { + position: static; + margin: 1rem auto; + text-align: center; + } + + .button, + .signup { + width: 60%; + } + + .fox { + height: 80px; + } +}