2025-05-27 11:35:23 +09:00

173 lines
3.4 KiB
CSS

body, html {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
background: #1a1a1a;
display: flex;
justify-content: center;
align-items: center;
}
.main-container {
position: relative;
width: 480px;
height: 100%;
background: url('../assets/image/bg_00.webp') no-repeat center center;
background-size: cover;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding-bottom: 50px; /* footer 높이만큼 여백 확보 */
border: 1px solid #ccc;
}
.main-container.main {
width: 480px;
margin: 0 auto;
text-align: center;
}
.main-container.sub {
width: 100%;
padding: 20px;
}
.logo {
width: 160px;
margin-bottom: 40px;
}
.main-button {
width: 300px;
padding: 15px 0;
margin: 10px 0;
font-size: 18px;
font-weight: bold;
border: none;
border-radius: 12px;
cursor: pointer;
transition: background 0.3s;
}
.login-btn {
background-color: white;
color: black;
}
.login-btn:hover {
background-color: #f0f0f0;
}
.signup-btn {
background-color: black;
color: white;
}
.signup-btn:hover {
background-color: #333;
}
.logo-center {
display: flex;
justify-content: center;
align-items: center;
margin-top: 40px;
margin-bottom: 30px;
}
/* 서브 페이지용: 좌측 상단 고정 */
.logo-top-left {
position: absolute;
top: 10px;
left: 10px;
display: flex;
align-items: center;
gap: 8px;
}
.logo-center {
justify-content: center;
margin: 40px 0;
}
.logo-small {
justify-content: flex-start;
margin: 10px;
}
.logo-pig {
width: 70px;
}
.logo-txt {
padding-top:10px;
width: 180px;
}
.logo-pig-small {
width: 48px;
}
.logo-txt-small {
padding-top:5px;
width: 100px;
}
.yeon-sung-regular {
font-family: "Yeon Sung", system-ui;
font-weight: 200;
font-style: normal;
}
.main-button {
background-color: transparent; /* 배경 투명 */
color: #02420d; /* 글씨 색상 */
font-size: 1.9rem; /* 글자 크기 (원하는 크기로 조절 가능) */
padding: 10px 20px; /* 버튼 여백 */
border-radius: 8px; /* 모서리 둥글게 */
cursor: pointer;
transition: background-color 0.3s, color 0.3s;
}
.main-button:hover {
background-color: rgba(35, 154, 69, 0.1);
color: #dbe8d5;
}
.footer-text {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
text-align: center;
color: white;
font-size: 0.9rem;
padding: 10px 0;
background: rgba(0, 0, 0, 0.6); /* 선택사항: 배경 살짝 어둡게 */
z-index: 1000; /* 다른 요소보다 위에 오도록 */
}
.form-label {
font-size: 1.1rem; /* 살짝 크게 */
font-weight: 500; /* 중간 굵기 */
color: #000;
text-shadow:
-1px -1px 0 #cac9c9,
1px -1px 0 #cac9c9,
-1px 1px 0 #cac9c9,
1px 1px 0 #cac9c9; /* 진회색 (부드러우면서 또렷) */
margin-bottom: 6px;
}
.page-title{
font-size: 2.5rem; /* 살짝 크게 */
color: #000;
text-shadow:
-1px -1px 0 #cac9c9,
1px -1px 0 #cac9c9,
-1px 1px 0 #cac9c9,
1px 1px 0 #cac9c9;
margin-bottom: 6px;
}