Skip to content

Commit

Permalink
feat: css์ถ”๊ฐ€
Browse files Browse the repository at this point in the history
  • Loading branch information
GitJIHO committed Oct 31, 2024
1 parent a3d50dc commit 8d19e08
Show file tree
Hide file tree
Showing 2 changed files with 72 additions and 2 deletions.
67 changes: 67 additions & 0 deletions src/main/resources/static/css/dummy.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
margin: 0;
padding: 20px;
}

h2 {
color: #333;
text-align: center;
}

p {
text-align: center;
font-size: 14px;
}

form {
background-color: #fff;
padding: 20px;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
max-width: 400px;
margin: 20px auto;
}

label {
font-weight: bold;
display: block;
margin-bottom: 5px;
}

select,
input[type="password"] {
width: 100%;
padding: 10px;
margin-bottom: 15px;
border: 1px solid #ccc;
border-radius: 4px;
font-size: 14px;
}

.button-container {
display: flex;
justify-content: space-between;
}

button {
background-color: #28a745;
color: white;
border: none;
padding: 10px;
border-radius: 4px;
cursor: pointer;
font-size: 16px;
width: 48%; /* ๋ฒ„ํŠผ ๋„ˆ๋น„ ์กฐ์ • */
}

button:hover {
background-color: #218838;
}

.error-message {
color: red;
text-align: center;
margin-top: 10px;
}
7 changes: 5 additions & 2 deletions src/main/resources/templates/dummy/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<html xmlns:th="http://www.thymeleaf.org">
<head>
<title>๋”๋ฏธ๋ฐ์ดํ„ฐ ์œ ์ € ๋กœ๊ทธ์ธ</title>
<link href="/css/dummy.css" rel="stylesheet">
</head>
<body>
<h2>๋”๋ฏธ๋ฐ์ดํ„ฐ ์œ ์ € ๋กœ๊ทธ์ธ</h2>
Expand All @@ -23,8 +24,10 @@ <h2>๋”๋ฏธ๋ฐ์ดํ„ฐ ์œ ์ € ๋กœ๊ทธ์ธ</h2>
<label for="password">๋น„๋ฐ€๋ฒˆํ˜ธ:</label>
<input type="password" id="password" name="password" required/><br><br>

<button type="submit" name="env" value="dev">๊ฐœ๋ฐœ ํ™˜๊ฒฝ์œผ๋กœ ๋กœ๊ทธ์ธ</button>
<button type="submit" name="env" value="prod">๋ฐฐํฌ ์„œ๋ฒ„๋กœ ๋กœ๊ทธ์ธ</button>
<div class="button-container">
<button type="submit" name="env" value="dev">๊ฐœ๋ฐœ ํ™˜๊ฒฝ์œผ๋กœ ๋กœ๊ทธ์ธ</button>
<button type="submit" name="env" value="prod">๋ฐฐํฌ ์„œ๋ฒ„๋กœ ๋กœ๊ทธ์ธ</button>
</div>
</form>
</body>
</html>

0 comments on commit 8d19e08

Please sign in to comment.