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
48 changes: 41 additions & 7 deletions main.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,43 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
</head>
<body></body>
</html>

<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="container">
<div class="logo-section">
<img src="likelion.png" class="logo-img" alt="영대멋사로고" />
<div class="logo-title">
영남대학교<br>멋쟁이사자처럼<br>13기
</div>
</div>
<div class="welcom-description">
<p>여러분을 진심으로 환영합니다!</p>
<p>멋쟁이사자처럼은 '성장 의지를 가진 사람들을 돕기 위해 존재합니다. 그리고 이들을 돕기 위한 가장 근본적이고 효과적인 방법은 교육이라고 생각합니다!</p>
</div>
<div class="track-cards">
<div class="track-card">P&D</div>
<div class="track-card">FE</div>
<div class="track-card">BE</div>
</div>
</div>
<div class="container" id="login-form">
<h1>LOGIN</h1>
<div class="input-box">
<span style="font-size: 35px;">👤</span>
<input type="text" placeholder="username" />
</div>
<div class="input-box">
<span style="font-size: 35px;">🔒</span>
<input type="password" placeholder="password" />
</div>
<button class="login-btn">로그인</button>
</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 @@
body {
background-color: black;
height: 100vh;
margin: 0;
display: flex;
justify-content: center;
align-items: center;
gap: 90px;
}

.container {
display: flex;
flex-direction: column;
width: 600px;
height: 600px;
}

.logo-section {
display: flex;
align-items: center;
}

.logo-img {
width: 240px;
}

.logo-title {
color: white;
font-size: 30px;
font-weight: bold;
}

.welcom-description > p {
color: white;
font-size: 26px;
}

.track-cards {
display: flex;
justify-content: space-between;
}

.track-card {
display: flex;
justify-content: center;
align-items: center;
width: 185px;
height: 220px;
background-color: white;
border: 2px solid burlywood;
border-radius: 40px;
font-size: 40px;
font-weight: bold;
}

#login-form {
justify-content: center;
align-items: center;
gap: 20px;
}

#login-form > h1 {
color: white;
font-style: italic;
}

.input-box {
display: flex;
justify-content: center;
align-items: center;
width: 400px;
height: 60px;
border-radius: 30px;
background-color: white;
}

.input-box > input {
width: 300px;
height: 50px;
border: none;
font-size: 30px;
}

.login-btn {
width: 180px;
height: 50px;
background-color: orange;
border-radius: 25px;
color: white;
font-size: 25px;
}

@media (max-width: 1100px) {
body {
flex-direction: column;
height: 100%;
margin: 50px;
}

.container {
width: 100%;
height: 100%;
}

.logo-img {
width: 400px;
}

.logo-title {
font-size: 50px;
}

#login-form > h1 {
font-size: 70px;
}

.track-cards {
gap: 20px;
}

.track-card {
width: 300px;
}
}

@media (max-width: 836px) {
body {
margin: 10px;
margin-bottom: 100px;
}

.logo-section {
flex-direction: column;
}

.logo-img {
width: 80%;
}

.logo-title {
font-size: 60px;
}
}