Skip to content

Commit ca6deac

Browse files
authored
Merge pull request #3 from kw-ic-web/stage1
stage1 commit
2 parents 75e0804 + 9260647 commit ca6deac

12 files changed

Lines changed: 240 additions & 0 deletions

File tree

assets/images/stage1/a.jpg

248 KB
Loading

assets/images/stage1/ee.jpg

247 KB
Loading

assets/images/stage1/g.jpg

249 KB
Loading
662 KB
Loading

assets/images/stage1/i.jpg

248 KB
Loading

assets/images/stage1/j.jpg

250 KB
Loading

assets/images/stage1/o.jpg

248 KB
Loading

assets/images/stage1/r.jpg

250 KB
Loading

assets/images/stage1/s.jpg

250 KB
Loading

public/css/stage1.css

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
body {
2+
margin: 0;
3+
padding: 0;
4+
font-family: 'Nanum Brush Script', sans-serif;
5+
background: url('/assets/images/stage1/hanok-background.jpg') no-repeat center center fixed;
6+
background-size: cover;
7+
color: #3c3c3c; /* 어두운 회색으로 텍스트 색상 변경 */
8+
display: flex;
9+
flex-direction: column; /* 세로 방향으로 배치 */
10+
justify-content: space-between; /* 요소 간 간격 유지 */
11+
height: 100vh; /* 화면 높이 100% */
12+
}
13+
14+
header {
15+
text-align: center; /* 텍스트 중앙 정렬 */
16+
margin-top: 20px; /* 위쪽 여백 */
17+
}
18+
19+
h1 {
20+
font-size: 3em;
21+
color: #473a24;
22+
margin-top: 2px;
23+
margin-bottom: 2px;
24+
}
25+
26+
p {
27+
font-size: 1.2em;
28+
color: #473a24;
29+
margin-top: 1px;
30+
margin-bottom: 2px;
31+
}
32+
33+
.game-board {
34+
width: 90%; /* 중앙 왼쪽에 배치 */
35+
height: 450px;
36+
background-color: rgba(230, 225, 217, 0.85); /* 밝은 초록 색상 */
37+
border: 5px solid #bdb7a8;
38+
border-radius: 15px;
39+
position: relative;
40+
margin-left: 5%; /* 왼쪽 여백 */
41+
}
42+
43+
.card {
44+
width: 80px; /* 카드 너비 */
45+
height: 120px; /* 카드 높이 */
46+
background-size: cover; /* 배경 이미지 크기 조절 */
47+
background-position: center; /* 배경 이미지 위치 조정 */
48+
border: 2px solid #bdb7a8; /* 카드 테두리 */
49+
border-radius: 10px; /* 카드 모서리 둥글게 */
50+
display: flex;
51+
justify-content: center;
52+
align-items: center;
53+
position: absolute; /* 위치 설정 */
54+
cursor: grab; /* 커서 모양 */
55+
transition: transform 0.2s; /* 부드러운 전환 효과 */
56+
}
57+
58+
.card:active {
59+
transform: scale(1.1);
60+
}
61+
62+
.controls {
63+
text-align: center; /* 중앙 정렬 */
64+
margin-bottom: 20px; /* 아래쪽 여백 */
65+
}
66+
67+
input[type="text"] {
68+
padding: 10px;
69+
font-size: 1.2em;
70+
width: 50%;
71+
border: 2px solid #c0c0c0; /* 연한 회색으로 변경 */
72+
border-radius: 10px;
73+
background-color: #f9f9f9; /* 밝은 베이지 */
74+
color: #3c3c3c; /* 어두운 회색으로 변경 */
75+
}
76+
77+
button {
78+
padding: 10px 20px;
79+
font-size: 1.2em;
80+
margin: 10px;
81+
background-color: #b3c0c0; /* 연한 회색 */
82+
color: #3c3c3c; /* 어두운 회색으로 변경 */
83+
border: none;
84+
border-radius: 5px;
85+
cursor: pointer;
86+
transition: background-color 0.3s, transform 0.2s;
87+
}
88+
89+
button:hover {
90+
background-color: #9cb1b1; /* 더 어두운 연한 회색 */
91+
transform: scale(1.05);
92+
}
93+
94+
#feedback {
95+
margin-top: 20px;
96+
font-size: 1.5em;
97+
font-weight: bold;
98+
color: #d2b79e; /* 밝은 베이지 */
99+
}

0 commit comments

Comments
 (0)