-
CP GRIND
-- -
Welcome to CP-GRIND
--
Sign Up
--
diff --git a/public/css/login.css b/public/css/login.css index 15e0d94..c193fd9 100644 --- a/public/css/login.css +++ b/public/css/login.css @@ -1,123 +1,270 @@ -.dark_mode { - color: #fff; -} -.main_container { - text-align: center; - align-items: center; - justify-content: center; - height: 100vh; -} -#sign_up, -#sign_in { - background-color: rgba(15, 15, 15, 0.7); - position: fixed; - border-radius: 3rem; - left: 250px; - width: 900px; - height: 500px; - text-align: center; - align-items: center; - justify-content: center; - display: flex; - filter: drop-shadow(5px 5px 5px 5px rgba(0, 0, 0, 0.3)); - box-shadow: 5px 5px 5px 3px rgba(0, 0, 0, 0.3); -} -#sign_up { - display: flex; -} -#sign_in { - display: none; -} -.inputg { - width: 300px; - margin-left: 30px; - margin-bottom: 20px; -} -input[type="text"]::placeholder, -input[type="email"]::placeholder, -input[type="password"]::placeholder { - color: #7b7b7b; -} -input:not(:placeholder-shown) { - background-color: #7b7b7b; - color: #fff; -} -input[type="text"]:focus, -input[type="email"]:focus, -input[type="password"]:focus { - color: #fff; -} -input[type="text"]:required:valid, -input[type="email"]:required:valid, -input[type="password"]:required:valid { - color: #fff; -} -.left_part, -.right_part { - width: 450px; /* Half of the parent */ - height: inherit; - overflow: hidden; -} -#sign_in > .left_part { - border-top-left-radius: inherit; - border-bottom-left-radius: inherit; -} -#sign_up > .left_part { - padding-left: 40px; -} -#sign_in > .right_part { - padding-right: 40px; -} -#sign_up > .right_part { - border-top-right-radius: inherit; - border-bottom-right-radius: inherit; +.cpsize{ + font-size: 4vw;; } -#sign_up > .right_part > img { - object-fit: cover; - height: 500px; - width: 500px; -} -#sign_in > .left_part > img { - object-fit: cover; - height: 500px; - width: 500px; -} -h1 { - color: #ffffff; - text-shadow: 2px 7px 5px rgba(0, 0, 0, 0.3), - 0px -4px 10px rgba(255, 255, 255, 0.3); -} -.input-group{ - margin-left: -5px; -} -li{ - text-align: left; -} -.password-strength-icon { - position: relative; - cursor: pointer; - top: 30%; - left: 40px; -} -.password-suggestions-tooltip { - position: absolute; - background: rgba(0, 0, 0, 0.7); - color: #fff; - border-radius: 3px; - font-size: 12px; - white-space: nowrap; - visibility: hidden; - opacity: 0; - z-index: 1000; - max-width: 200px; - overflow-wrap: break-word; +.welsize{ + font-size: 3vw; } -.password-strength-icon:hover .password-suggestions-tooltip { - visibility: visible; - opacity: 1; - bottom: 100%; - left: 50%; - transform: translateX(-70%); - max-width: 200px; -} + +.dark_mode { + color: #fff; + } + .main_container { + text-align: center; + align-items: center; + justify-content: center; + height: 100vh; + } + #sign_up, + #sign_in { + background-color: rgba(15, 15, 15, 0.7); + /* position: fixed; */ + border-radius: 3rem; + left: 250px; + width: 900px; + height: 500px; + text-align: center; + align-items: center; + justify-content: center; + display: flex; + filter: drop-shadow(5px 5px 5px 5px rgba(0, 0, 0, 0.3)); + box-shadow: 5px 5px 5px 3px rgba(0, 0, 0, 0.3); + } + #sign_up { + display: flex; + } + #sign_in { + display: none; + } + .inputg { + width: 300px; + margin-left: 30px; + margin-bottom: 20px; + } + input[type="text"]::placeholder, + input[type="email"]::placeholder, + input[type="password"]::placeholder { + color: #7b7b7b; + } + input:not(:placeholder-shown) { + background-color: #7b7b7b; + color: #fff; + } + input[type="text"]:focus, + input[type="email"]:focus, + input[type="password"]:focus { + color: #fff; + } + input[type="text"]:required:valid, + input[type="email"]:required:valid, + input[type="password"]:required:valid { + color: #fff; + } + .left_part, + .right_part { + width: 450px; /* Half of the parent */ + height: inherit; + overflow: hidden; + } + #sign_in > .left_part { + border-top-left-radius: inherit; + border-bottom-left-radius: inherit; + } + #sign_up > .left_part { + padding-left: 40px; + } + #sign_in > .right_part { + padding-right: 40px; + } + #sign_up > .right_part { + border-top-right-radius: inherit; + border-bottom-right-radius: inherit; + } + #sign_up > .right_part > img { + object-fit: cover; + height: 500px; + width: 500px; + } + #sign_in > .left_part > img { + object-fit: cover; + height: 500px; + width: 500px; + } + h1 { + color: #ffffff; + text-shadow: 2px 7px 5px rgba(0, 0, 0, 0.3), + 0px -4px 10px rgba(255, 255, 255, 0.3); + } + .input-group{ + margin-left: -5px; + } + + input{ + font-size: 2rem !important; + } + + .spanf{ + font-size: 2rem; + margin: -8px; + } + + .bigfont{ + font-size: 2rem !important; + } + + li{ + text-align: left; + } + .password-strength-icon { + position: relative; + cursor: pointer; + top: 30%; + left: 40px; + } + .password-suggestions-tooltip { + position: absolute; + background: rgba(0, 0, 0, 0.7); + color: #fff; + border-radius: 3px; + font-size: 12px; + white-space: nowrap; + visibility: hidden; + opacity: 0; + z-index: 1000; + max-width: 200px; + overflow-wrap: break-word; + } + + .password-strength-icon:hover .password-suggestions-tooltip { + visibility: visible; + opacity: 1; + bottom: 100%; + left: 50%; + transform: translateX(-70%); + max-width: 200px; + } + + @media screen and (max-width: 900px) { + + .left_part , .right_part{ + width: 100%; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + } + + #sign_up > .right_part > img { + height: 100%; + width: 100%; + } + + + #sign_in > .left_part > img{ + height: 100%; + width: 100%; + } + + .right_part form , .left_part form{ + width: 80%; + max-width: 100%; + + } + + .inputg{ + width: 80%; + max-width: 100%; + } + + .right_part form .inputg{ + display: block; + margin: auto; + } + + .left_part h2{ + padding-right: 29px; + } + + + input{ + font-size: 1.5rem !important; + } + + .row{ + margin-bottom: 13px !important; + } + .spanf{ + font-size: 1.5rem; + margin: -8px; + } + + .bigfont{ + font-size: 1.5rem !important; + } + + .left_part,.right_part{ + height: auto !important; + } + + .right_part h2{ + padding-right: 29px; + } + + } + + @media screen and (max-width: 500px) { + + .left_part , .right_part{ + width: 100%; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + } + + .left_part form{ + width: 80%; + max-width: 100%; + display: block; + margin: auto; + } + + .right_part form{ + width: 80%; + max-width: 100%; + display: block; + margin: auto; + } + + #sign_up > .left_part{ + padding-left: 0px; + } + + #sign_in > .right_part{ + padding-right: 0px; + } + + input{ + font-size: 1rem !important; + } + + + .inputg{ + width: 80%; + max-width: 100%; + } + + + .spanf{ + font-size: 1rem; + margin: -8px; + } + + .bigfont{ + font-size: 1rem !important; + } + + } + + + \ No newline at end of file diff --git a/views/home/login.html b/views/home/login.html index d792f77..f668475 100644 --- a/views/home/login.html +++ b/views/home/login.html @@ -1,269 +1,180 @@ -
- - - - - - -Welcome to CP-GRIND
-