-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
195 lines (178 loc) · 4.68 KB
/
index.html
File metadata and controls
195 lines (178 loc) · 4.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="../Board/style.css">
<style>
body {
font-family: '맑은 고딕', sans-serif;
background-color: #f7f7f7;
margin: 0;
padding: 0;
}
.container {
max-width: 900px;
margin: 0 auto;
padding: 20px;
}
.header {
display: flex;
justify-content: space-between;
align-items: center;
background-color: #03C75A;
color: #FFFFFF;
padding: 20px;
box-shadow: 0 1px 10px rgba(0,0,0,0.1);
}
.header h1 {
font-size: 28px;
margin: 0;
font-weight: 600;
}
.search-bar {
display: flex;
justify-content: flex-end;
margin-top: 5px;
}
.search-bar input[type="text"] {
width: 300px;
height: 30px;
padding: 5px;
border: none;
box-shadow: 0 1px 10px rgba(0,0,0,0.1);
border-radius: 5px;
font-size: 14px;
}
.search-bar input[type="submit"] {
background-color: #03C75A;
color: #FFFFFF;
border: none;
border-radius: 5px;
padding: 5px 10px;
margin-left: 10px;
font-size: 14px;
cursor: pointer;
box-shadow: 0 1px 10px rgba(0,0,0,0.1);
}
.post-list {
background-color: #FFFFFF;
margin-top: 20px;
padding: 20px;
box-shadow: 0 1px 10px rgba(0,0,0,0.1);
border-radius: 5px;
}
.post {
margin-bottom: 20px;
padding-bottom: 20px;
border-bottom: 1px solid #f0f0f0;
}
.post img {
width: 100%;
height: auto;
}
.post-title {
margin: 0;
font-size: 20px;
font-weight: 600;
}
.post-date {
color: #999999;
font-size: 14px;
}
.pagination {
margin-top: 20px;
text-align: center;
}
.pagination a {
display: inline-block;
padding: 5px 10px;
background-color: #03C75A;
color: #FFFFFF;
text-decoration: none;
border-radius: 5px;
margin-right: 5px;
box-shadow: 0 1px 10px rgba(0,0,0,0.1);
}
.btn-write {
display: inline-block;
padding: 10px 20px;
background-color: #03C75A;
color: #FFFFFF;
text-decoration: none;
border-radius: 5px;
font-size: 16px;
box-shadow: 0 1px 10px rgba(0,0,0,0.1);
position: fixed;
bottom: 20px;
right: 20px;
}
.user-buttons {
text-align: right;
margin-top: -40px;
}
.user-buttons a {
display: inline-block;
padding: 5px 10px;
background-color: #03C75A;
color: #FFFFFF;
text-decoration: none;
border-radius: 5px;
font-size: 14px;
margin-left: 5px;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
font-weight: bold;
box-shadow: 0 1px 10px rgba(0,0,0,0.1);
}
</style>
<title>마이 블로그</title>
</head>
<body>
<div class="container">
<div class="header">
<h1>마이 블로그</h1>
<div class="user-buttons">
<a href="login.html">로그인</a>
<a href="signup.html">회원가입</a>
</div>
</div>
<div class="search-bar">
<input type="text" name="search" placeholder="검색어를 입력하세요.">
<input type="submit" value="검색">
</div>
<div class="post-list">
<div class="post">
<h2 class="post-title" id="title"><a href="../Board/detail.html">제목</a></h2>
<p class="post-date" id="date">작성일: 2024년 1월 6일</p>
</div>
<div class="post">
<h2 class="post-title" id="title"><a href="../Board/detail.html">제목</a></h2>
<p class="post-date" id="date">작성일: 2024년 1월 6일</p>
</div>
<div class="post">
<h2 class="post-title" id="title"><a href="../Board/detail.html">제목</a></h2>
<p class="post-date" id="date">작성일: 2024년 1월 6일</p>
</div>
<div class="post">
<h2 class="post-title" id="title"><a href="../Board/detail.html">제목</a></h2>
<p class="post-date" id="date">작성일: 2024년 1월 6일</p>
</div>
<div class="post">
<h2 class="post-title" id="title"><a href="../Board/detail.html">제목</a></h2>
<p class="post-date" id="date">작성일: 2024년 1월 6일</p>
</div>
</div>
<div class="pagination">
<a href="#">1</a>
<a href="#">2</a>
<a href="#">3</a>
<a href="#">4</a>
<a href="#">5</a>
</div>
</div>
<div class="btn-write">
<a href="../Board/write.html">글쓰기</a>
</div>
</body>
</html>