Skip to content

Commit b60b5e4

Browse files
committed
fix:위치 조정 중
1 parent de69dc0 commit b60b5e4

File tree

2 files changed

+19
-22
lines changed

2 files changed

+19
-22
lines changed

static/css/login.css

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@
134134
border-radius: 30px;
135135
cursor: pointer;
136136
transition: all 0.6s ease-in-out;
137+
margin-bottom: 10px;
137138
}
138139

139140
.login-btn:hover {
@@ -153,7 +154,7 @@
153154
display: flex;
154155
justify-content: center;
155156
gap: 20px;
156-
margin-top: 20px;
157+
margin-top: 25px;
157158
}
158159

159160
.social-btn {
@@ -210,18 +211,10 @@
210211
outline: none;
211212
}
212213

213-
.find-buttons-container {
214-
display: flex;
215-
flex-direction: column;
216-
align-items: center;
217-
gap: 10px;
218-
}
219-
220214
.find-buttons{
221-
display: flex;
222-
align-items: center;
223-
gap: 150px;
224-
margin-bottom: 10px;
215+
gap: 181px;
216+
position: absolute;
217+
left: 300px;
225218
}
226219

227220
.find-email-btn {
@@ -361,11 +354,17 @@
361354
width: 60%;
362355
height: 60%;
363356
}
357+
358+
.find-buttons {
359+
gap: 180px;
360+
left: 40px;
361+
}
364362
}
365363

366-
@media screen and (max-width: 450px)
364+
@media screen and (max-width: 400px)
367365
{
368366
.find-buttons {
369-
gap: 80px;
367+
gap: 50px;
368+
left: 40px;
370369
}
371370
}

templates/users/login.html

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,12 @@ <h1 class="login-title">Login</h1>
3131
</div>
3232
<button type="submit" class="login-btn">로그인</button>
3333
</form>
34-
<div class-"find-buttons-container">
35-
<div class="find-buttons">
36-
<a href="{% url 'users:find-email' %}" class="find-email-btn">이메일 찾기</a>
37-
<form action="{% url 'users:password_reset_request' %}" method="post">
38-
{% csrf_token %}
39-
<button type="submit" class="find-pwd-btn">비밀번호를 잊으셨나요?</button>
40-
</form>
41-
</div>
34+
<div class="find-buttons">
35+
<a href="{% url 'users:find-email' %}" class="find-email-btn">이메일 찾기</a>
36+
<form action="{% url 'users:password_reset_request' %}" method="post">
37+
{% csrf_token %}
38+
<button type="submit" class="find-pwd-btn">비밀번호를 잊으셨나요?</button>
39+
</form>
4240
</div>
4341
<div class="social-icons">
4442
<div class="naver_login">

0 commit comments

Comments
 (0)