-
Notifications
You must be signed in to change notification settings - Fork 20
Homework #24
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
Open
EEvan00
wants to merge
1
commit into
distinctioncoding:main
Choose a base branch
from
EEvan00:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Homework #24
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,53 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="en"> | ||
| <head> | ||
| <meta charset="UTF-8"> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
| <title>Document</title> | ||
| <link rel="stylesheet" href="style.css"> | ||
| </head> | ||
| <body> | ||
|
|
||
| <div class="main-container"> | ||
|
|
||
| <div class="welcome-section"> | ||
| <h1>Welcome to Paint Quote System</h1> | ||
| <div class="divider"></div> | ||
| <p> | ||
| Welcome to Paint Quote System. Welcome to Paint Quote System. | ||
|
Comment on lines
+16
to
+17
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. miss a closing tag |
||
| </div> | ||
|
|
||
| <div class="signup-card"> | ||
| <div class="card-header"> | ||
| <h2>Sign Up</h2> | ||
| <p>Enter details to create your account</p> | ||
| </div> | ||
|
|
||
| <form class="form" action="/submit" method="post"> | ||
| <div class="form-group"> | ||
| <label for="name">Your name</label> | ||
| <input type="text" id="name" name="name" placeholder="Enter your name" required> | ||
| </div> | ||
|
|
||
| <div class="form-group"> | ||
| <label for="phone">Phone number</label> | ||
| <input type="tel" id="phone" name="phone" placeholder="Enter your phone number"> | ||
| </div> | ||
|
|
||
| <div class="form-group"> | ||
| <label for="dulux-account">Dulux account</label> | ||
| <input type="text" id="dulux-account" name="dulux_account" placeholder="Enter your Dulux account"> | ||
| </div> | ||
|
|
||
| <button type="submit" class="btn-submit">Sign up</button> | ||
| </form> | ||
|
|
||
| <div class="card-footer"> | ||
| <p>Already have an account? <a href="#">Sign in</a></p> | ||
| </div> | ||
| </div> | ||
|
|
||
| </div> | ||
|
|
||
| </body> | ||
| </html> | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,128 @@ | ||
| body { | ||
| font-family: Arial, sans-serif; | ||
| background-image: url('background.png'); | ||
| background-size: cover; | ||
| background-position: center; | ||
| background-repeat: no-repeat; | ||
|
|
||
| min-height: 100vh; | ||
| display: flex; | ||
| justify-content: center; | ||
| } | ||
|
|
||
| .main-container { | ||
| display: flex; | ||
| justify-content: center; | ||
| align-items: center; | ||
| width: 100%; | ||
| padding: 20px; | ||
| gap: 150px; | ||
| } | ||
|
|
||
| .welcome-section h1 { | ||
| font-size: 2rem; | ||
| font-weight: 700; | ||
| margin-bottom: 15px; | ||
| color: #476d78; | ||
| } | ||
|
|
||
| .divider { | ||
| width: 100%; | ||
| height: 2px; | ||
| background-color: #476d78; | ||
| margin-bottom: 20px; | ||
| opacity: 0.6; | ||
| } | ||
|
|
||
| .welcome-section p { | ||
| font-size: 1rem; | ||
| line-height: 1.6; | ||
| color: #476d78; | ||
| } | ||
|
|
||
| .signup-card { | ||
| flex: 0 0 400px; | ||
| background-color: #ffffff; | ||
| padding: 40px; | ||
| border-radius: 8px; | ||
| box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); /* 柔和的阴影 */ | ||
| } | ||
|
|
||
| .card-header { | ||
| text-align: center; | ||
| margin-bottom: 30px; | ||
| } | ||
|
|
||
| .card-header h2 { | ||
| font-size: 1.5rem; | ||
| color: #476d78; | ||
| margin-bottom: 10px; | ||
| } | ||
|
|
||
| .card-header p { | ||
| color: #476d78; | ||
| font-size: 0.9rem; | ||
| } | ||
|
|
||
| .form-group { | ||
| margin-bottom: 20px; | ||
| } | ||
|
|
||
| .form-group label { | ||
| display: block; | ||
| font-size: 0.9rem; | ||
| color: #476d78; | ||
| margin-bottom: 8px; | ||
| font-weight: 500; | ||
| } | ||
|
|
||
| .form-group input { | ||
| width: 100%; | ||
| padding: 12px 15px; | ||
| font-size: 0.9rem; | ||
| border: 1px solid #999a9a; | ||
| border-radius: 4px; | ||
| box-sizing: border-box; | ||
| } | ||
|
|
||
| .form-group input::placeholder { | ||
| color: #aeabab; | ||
| } | ||
|
|
||
| .form-group input:focus { | ||
| border-color: #007ba8; | ||
| } | ||
|
|
||
| .btn-submit { | ||
| width: 100%; | ||
| padding: 12px; | ||
| background-color: #006c93; | ||
| color: white; | ||
| border: none; | ||
| border-radius: 4px; | ||
| font-size: 1rem; | ||
| font-weight: 500; | ||
| cursor: pointer; | ||
| margin-top: 10px; | ||
| } | ||
|
|
||
| .btn-submit:hover { | ||
| background-color: #005a7d; | ||
| } | ||
|
|
||
| .card-footer { | ||
| text-align: center; | ||
| margin-top: 20px; | ||
| font-size: 0.9rem; | ||
| color: #434343; | ||
| } | ||
|
|
||
| .card-footer a { | ||
| color: #077198; | ||
| text-decoration: none; | ||
| font-weight: 500; | ||
| } | ||
|
|
||
| .card-footer a:hover { | ||
| text-decoration: underline; | ||
| } |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can use ::after or border-bottom to replace