Skip to content
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
Binary file added 20251114160805_20251115030208.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
40 changes: 40 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Paint Quote System</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<!--左邊文字-->
<div class="left-session">
<h1><span>Welcome to Paint Quote System</span></h1>
<p>Consequat adipiscing ea do labore irure adipiscing<br>occaecat cupidatat excepteur duis mollit est.</p>
</div>
<!--右邊卡-->
<div class="right-card">
<div class="card">
<h2>Sign Up</h2>
<p class="subtitle">Enter details to create your account</p>

<form>
<label>Your Name</label>
<input type="text" placeholder="Enter your name">
<br>
<label>Phone number</label>
<input type="text" placeholder="Enter your phone numbere">
<br>
<label>Dulux account</label>
<input type="text" placeholder="Enter your Dulux account">
<br>
<button type="submit">Sign Up</button>
</form>

<p class="signin-text">Already have your Account? <a href="#">Sign in</a></p>
</div>
</div>
</div>
</body>
</html>
143 changes: 143 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,143 @@
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}

body{
font-family: sans-serif;
height: 100vh;
background-image: url("20251114160805_20251115030208.png");
background-size: cover;
overflow: hidden;
display: flex; /* 用 flex */
align-items: center; /* 垂直居中(最重要) */
justify-content: center; /* 居中整个 container */
}

.container {
width: 100%;
display: flex;
justify-content: center;
align-items: center;
gap: 80px;
padding: 40px;
}

.left-session{
flex-basis: 50%;
background-position: center;
display: flex;
flex-direction: column;
justify-content: center;
padding: 80px 60px;
}

.left-session h1{
font-size: 32px;
margin-bottom: 20px;
font-weight: 400;
color: rgb(34, 55, 124);
}

.left-session h1 span{
border-bottom: 2px solid rgb(34, 55, 124);
display: inline-block;
}

.left-session p{
font-size: 18px;
line-height: 1.6;
opacity: 0.7;
color: rgb(34, 55, 124);
}

.right-card{
flex-basis: 50%;
background-color: white;
display: flex;
justify-content: center;
align-items: center;
border-radius: 10px;
}

.card{
width: 380px;
}

.card h2{
font-size: 32px;
color: rgb(73, 71, 71);
font-weight: 400;
text-align: center;
align-items: center;
margin-top: 40px;
}

.subtitle{
font-size: 16px;
color: rgb(73, 71, 71);
opacity: 0.7;
margin-bottom: 40px;
text-align: center;
margin-top: 20px;
}

form label{
display: block;
margin-bottom: 8px;
color: rgb(73, 71, 71);
opacity: 0.7;
font-weight: 400;
}

form input {
width: 100%;
padding: 14px 16px;
margin-bottom: 20px;
border: 2px solid #e0e0e0;
border-radius: 10px;
font-size: 16px;
transition: 0.3s;
}

form input:focus{
outline: none;
border-color: black;
}

button {
width: 100%;
padding: 14px;
background: rgb(52, 52, 235);
color: white;
border: none;
border-radius: 10px;
font-size: 18px;
font-weight: 600;
cursor: pointer;
transition: 0.3s;
margin-top: 10px;
}

button:hover {
background: blue;
}

.signin-text{
text-align: center;
margin-top: 30px;
color: #666;
margin-bottom: 40px;
}

.signin-text a{
text-align: center;
margin-top: 30px;
color: blue;
text-decoration: none;
}

.signin-text a:hover{
text-decoration: underline;
}