Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
hu-jy23 authored Jun 12, 2024
1 parent 50551d4 commit ad4ddcd
Show file tree
Hide file tree
Showing 2 changed files with 164 additions and 0 deletions.
124 changes: 124 additions & 0 deletions webpage/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

html {
font-size: 10px;
}

html::before {
content: '';
width: 100%;
height: 100%;
position: fixed;
z-index: -1;
background: linear-gradient(120deg, #e0c3fc 0%, #8ec5fc 100%) no-repeat;
}

::selection{
color: #fff;
background-color: rgb(144, 129, 241);
}

.box {
display: flex;
overflow: hidden;
width: 90rem;
height: 55rem;
background-color: rgba(255, 255, 255, 60%);
border-radius: 1.5rem;
margin: 10% auto;
box-shadow: 0 0 1rem 0.2rem rgb(0 0 0 / 10%);
}

.box .left {
position: relative;
width: 35%;
height: 100%;
background-color: skyblue;
}

.box .left::before {
content: '';
position: absolute;
width: 100%;
height: 100%;
background-image: url(./left.png);
background-size: cover;
opacity: 80%;
}

.box .right {
display: flex;
width: 65%;
flex-direction: column;
align-items: center;
}

.box .right h4 {
color: rgb(144, 129, 241);
font-size: 3rem;
margin-top: 5rem;
}

.box .right form{
display: flex;
flex-wrap: wrap;
justify-content: center;
}

.box .right form .acc {
outline: none;
width: 80%;
height: 5rem;
font-size: 1.6rem;
margin-top: 5rem;
padding: 1rem 0 0 1.6rem;
border: none;
border-bottom: 1px solid rgb(144, 129, 241);
color: rgb(144, 129, 241);
background-color: rgba(0, 0, 0, 0);
}

.right form .acc:focus {
outline: none;
color: rgb(144, 129, 241);
padding: 1rem 0 1.6rem;
}

.right .submit {
width: 60%;
height: 5rem;
color: #f6f6f6;
background-image: linear-gradient(120deg, #e0c3fc 0%, #8ec5fc 100%);
font-size: 1.4rem;
border: none;
border-radius: 0.5rem;
margin: 6rem 0 0 50%;
transform: translateX(-50%);
}


.right .submit:hover {
box-shadow: 0 0 2rem -0.5rem rgb(0 0 0 / 15%);
}

.right .fn {
display: flex;
justify-content: space-between;
margin-top: 1rem;
width: 70%;
}

.right .fn a {
font-size: 1.3rem;
margin-top: 5rem;
padding: 1rem 2rem;
color: #666;
}

.right .fn a:hover {
color: rgba(144, 129, 241);
}
40 changes: 40 additions & 0 deletions webpage/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<!--
* @Author: hu-jy23 [email protected]
* @Date: 2024-06-12 14:04:53
* @LastEditors: hu-jy23 [email protected]
* @LastEditTime: 2024-06-12 14:49:53
* @FilePath: \cc\index.html
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="./index.css">
<title>Login</title>
</head>

<body>
<div class="box">
<div class="left"></div>
<div class="right">
<h4>Login</h4>
<form action="VM.html">
<input class="acc" type="text" placeholder="Name">
<input class="acc" type="password" placeholder="password">

<input class="submit" type="submit" value="Login">

</form>
<div class="fn">
<a href="javascript:;">Register</a>
<a href="javascript:;">Forget password</a>
</div>
</div>
</div>
</body>

</html>

0 comments on commit ad4ddcd

Please sign in to comment.