Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed UI, Added a nice color pallete, fixed the big icons #61

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 18 additions & 16 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" integrity="sha512-Fo3rlrZj/k7ujTnHg4CGR2D7kSs0v4LLanw2qksYuRlEzO+tcaEPQogQ0KaoGN26/zrn20ImR1DfuLWnOo7aBA==" crossorigin="anonymous" referrerpolicy="no-referrer" />

</head>
<body>
<nav class="navbar">
<body class="main-container">
<nav class="navbar">
<div class="logo">
<a href="#">Get Your Captcha</a>
</div>
Expand All @@ -22,30 +22,32 @@
<i class="fas fa-bars"></i>
</div>
</nav>
<img src="assets/img1.jpg" class="bg" alt="Background Image">
<!-- <img src="assets/img1.jpg" class="bg" alt="Background Image"> -->

<div class="container-fluid">
<div class="captcha-container">
<div class="header" style="font-size:40px"><b>CAPTCHA</b></div>
<div class="captcha-container" style="margin: 20px auto !important; max-width: 400px !important; padding: 20px !important;">
<div class="header" style="margin-bottom: 20px !important;">
<b>CAPTCHA</b>
</div>

<div class="securityCode">
<img src="assets/img2.jpg" class="captchabg" alt="CaptchaImage">
<p id="code">Avi6479</p>
<div class="securityCode" style="margin-bottom: 20px !important;">
<p id="code" style="margin-bottom: 10px !important;">Avi6479</p>
<div class="icons">
<span class="readText">
<i class="fas fa-volume-up" style="font-size:40px" onmouseover="spkvoiceover()"></i>
<span class="readText" style="margin-right: 15px !important;">
<i class="fas fa-volume-up" onmouseover="spkvoiceover()"></i>
</span>
<span class="changeText">
<i class="fas fa-sync-alt" style="font-size:40px" onmouseover="spkrefresh()"></i>
<i class="fas fa-sync-alt" onmouseover="spkrefresh()"></i>
</span>
</div>
</div>
<div class="userInput">
<input id="textbox" type="text" placeholder="Type the text here">
<button class="btn" onmouseover="spksubmit()" type="submit">Submit</button>
<div class="userInput" style="margin-bottom: 20px !important;">
<input id="textbox" type="text" placeholder="Type the text here" style="width: 100% !important; ">
<button class="btn" onmouseover="spksubmit()" type="submit" >Submit</button>
</div>

<div class="form-group">
<button id="start-btn" onmouseover="spkstart()" class="btn btn-danger btn-block">START</button>
<button id="start-btn" onmouseover="spkstart()" class="btn btn-danger btn-block" style="width: 100% !important; margin-bottom: 10px !important;">START</button>
<p id="instructions">PRESS THE START BUTTON</p>
</div>
</div>
Expand Down
21 changes: 15 additions & 6 deletions styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,16 @@ body
{
/* min-width: 50%; */
/* max-width: 50%; */
background:#FFF;
background:#000;
display: flex;
flex-direction: column;
border-radius: 20px;
font-family:"Poppins" , sans-serif;
position: relative;
border: solid 1px #fff;
}
.header{
background: #037AE2;
background: #3C3D37;
color: #fff;
font-size: 1.5rem;
width: 100%;
Expand Down Expand Up @@ -79,7 +80,7 @@ body
text-align: center;
/*line-height: 250px;
/* color: #fff; */
color: #e63e3e;
color: #ECDFCC;
font-family:"Montserrat" ,sans-serif;
font-size: 5vw;
font-weight: bold;
Expand Down Expand Up @@ -129,7 +130,7 @@ body
{
border: none;
outline: none;
background: #037AE2;
background: #697565;
color: #fff;
padding: 12px;
border-radius: 0 20px 20px 0;
Expand Down Expand Up @@ -159,7 +160,7 @@ body
cursor: pointer;
border-style: none;
border-width: 1px;
background-color: #037AE2;
background-color: #697565;
color: #ffffff;
}

Expand All @@ -176,9 +177,10 @@ body
padding: 4px;
width: 100%;
border-radius: 0 0 20px 20px;
background-color: rgb(71, 255, 117);
background-color: #3C3D37;
font-size: 20px;
text-align: center;
color: #ffffff;
}

/* Responsive Behaviour */
Expand Down Expand Up @@ -324,3 +326,10 @@ body {
}
}

.main-container {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #000;
}