質問編集履歴
3
title
CHANGED
File without changes
|
body
CHANGED
@@ -308,5 +308,118 @@
|
|
308
308
|
margin: 10px 0 0;
|
309
309
|
}
|
310
310
|
```
|
311
|
+
```html
|
312
|
+
<!doctype html>
|
313
|
+
|
314
|
+
<html lang="ja">
|
315
|
+
<head>
|
316
|
+
<meta chaset="UTF-8">
|
317
|
+
<title>WCB Cafe-NEWS</title>
|
318
|
+
<meta name="description" content="ブレンドコーヒーとヘルシーなオーガニックフードを提供するカフェ">
|
319
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
320
|
+
<link rel="stylesheet"href="https://unpkg.com/ress/dist/ress.min.css">
|
321
|
+
<link href="css/style.css" rel="stylesheet">
|
322
|
+
</head>
|
323
|
+
|
324
|
+
<body>
|
325
|
+
<div id="news" class="big-bg">
|
326
|
+
<header class="page-header wrapper">
|
327
|
+
<h1><a href="index.html"><img class="logo" src="image/logo.svg"alt="WCBカフェホーム"></a></h1>
|
328
|
+
<nav>
|
329
|
+
<ul class="main-nav">
|
330
|
+
<li><a href="news.html">news</a></li>
|
331
|
+
<li><a href="menu.html">Menu</a></li>
|
332
|
+
<li><a href="contact.html">contact</a></li>
|
333
|
+
</ul>
|
334
|
+
</nav>
|
335
|
+
</header>
|
336
|
+
<div class="wrapper">
|
337
|
+
<h2 class="page-title">News</h2>
|
338
|
+
</div><!-- /.wrapper-->
|
339
|
+
</div><!-- /#home-->
|
340
|
+
<div class="news-contents wrapper">
|
341
|
+
<article>
|
342
|
+
<header class="post-info">
|
343
|
+
<h2 class="post-title">店内ギャラリーの絵が新しくなりました</h2>
|
344
|
+
<p class="post-date">3/30<span>2019</span></p>
|
345
|
+
<p class="post-cat">カテゴリー:お店の紹介</p>
|
346
|
+
</header>
|
347
|
+
<img src="image/wall.jpg" alt="店内の様子">
|
348
|
+
<p>
|
349
|
+
体に優しい自然食を提供する、WCB CAFE。無添加の食材を利用したメニューが特徴です。
|
350
|
+
おいしいブレンドコーヒーとヘルシーなオーガニックフードで体の内側から癒してください。
|
351
|
+
体に優しい自然食を提供する、WCB CAFE。無添加の食材を利用したメニューが特徴です。
|
352
|
+
おいしいブレンドコーヒーとヘルシーなオーガニックフードで体の内側から癒してください。
|
353
|
+
</p>
|
354
|
+
<p>
|
355
|
+
体に優しい自然食を提供する、WCB CAFE。無添加の食材を利用したメニューが特徴です。
|
356
|
+
おいしいブレンドコーヒーとヘルシーなオーガニックフードで体の内側から癒してください。
|
357
|
+
体に優しい自然食を提供する、WCB CAFE。無添加の食材を利用したメニューが特徴です。
|
358
|
+
おいしいブレンドコーヒーとヘルシーなオーガニックフードで体の内側から癒してください。
|
359
|
+
体に優しい自然食を提供する、WCB CAFE。無添加の食材を利用したメニューが特徴です。
|
360
|
+
おいしいブレンドコーヒーとヘルシーなオーガニックフードで体の内側から癒してください。
|
361
|
+
</p>
|
362
|
+
<p>体に優しい自然食を提供する、WCB CAFE。</p>
|
363
|
+
</article>
|
364
|
+
|
365
|
+
<aside>
|
366
|
+
<h3 class="sub-title">カテゴリー</h3>
|
367
|
+
<ul class="sub-menu">
|
368
|
+
<li><a href="#">お店の紹介</a></li>
|
369
|
+
<li><a href="#">期間限定メニュー</a></li>
|
370
|
+
<li><a href="#">イベント</a></li>
|
371
|
+
<li><a href="#">お客様との会話</a></li>
|
372
|
+
</ul>
|
373
|
+
<h3 class="sub-title">このお店について</h3>
|
374
|
+
<p>
|
375
|
+
体に優しい自然食を提供する、WCB CAFE。無添加の食材を利用したメニューが特徴です。
|
376
|
+
おいしいブレンドコーヒーとヘルシーなオーガニックフードで体の内側から癒してください。
|
377
|
+
</p>
|
378
|
+
</aside>
|
379
|
+
<div class="ad">
|
380
|
+
<img src="image/banner.jpg" alt="新メニュー登場">
|
381
|
+
</div>
|
382
|
+
</div><!-- /.news-contents-->
|
383
|
+
<footer>
|
384
|
+
<div class="wrapper">
|
385
|
+
<p><small>©2019 Manabox</small></p>
|
386
|
+
</div>
|
387
|
+
</footer>
|
388
|
+
</body>
|
389
|
+
</html>
|
390
|
+
|
311
|
-
|
391
|
+
```
|
392
|
+
```html
|
393
|
+
<!doctype html>
|
394
|
+
|
395
|
+
<html lang="ja">
|
396
|
+
<head>
|
397
|
+
<meta chaset="UTF-8">
|
398
|
+
<title>WCB Cafe</title>
|
399
|
+
<meta name="description" content="ブレンドコーヒーとヘルシーなオーガニックフードを提供するカフェ">
|
400
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
401
|
+
<link rel="stylesheet"href="https://unpkg.com/ress/dist/ress.min.css">
|
402
|
+
<link href="css/style.css" rel="stylesheet">
|
403
|
+
</head>
|
404
|
+
|
405
|
+
<body>
|
406
|
+
<div id="home" class="big-bg">
|
407
|
+
<header class="page-header wrapper">
|
408
|
+
<h1><a href="index.html"><img class="logo" src="image/logo.svg"alt="WCBカフェホーム"></a></h1>
|
409
|
+
<nav>
|
410
|
+
<ul class="main-nav">
|
411
|
+
<li><a href="news.html">news</a></li>
|
412
|
+
<li><a href="menu.html">Menu</a></li>
|
413
|
+
<li><a href="contact.html">contact</a></li>
|
414
|
+
</ul>
|
415
|
+
</nav>
|
416
|
+
</header>
|
417
|
+
<div class="home-content wrapper">
|
418
|
+
<h2 class="page-title">We'll Make Your Day</h2>
|
419
|
+
<p>おしゃれなカフェで癒されてみませんか?無添加の食材で体の中からリフレッシュ。</p>
|
420
|
+
<a class="button" href="menu.html">メニューを見る</a>
|
421
|
+
</div><!-- /.home-content -->
|
422
|
+
<div><!-- /#home-->
|
423
|
+
</body>
|
424
|
+
</html>
|
312
425
|
```
|
2
title
CHANGED
File without changes
|
body
CHANGED
@@ -1,14 +1,10 @@
|
|
1
|
-
``html
|
2
|
-
コード
|
3
1
|
```
|
4
|
-
【index】
|
5
|
-
<!doctype html>
|
2
|
+
<!doctype html>
|
6
|
-
|
3
|
+
|
7
|
-
```
|
8
4
|
<html lang="ja">
|
9
5
|
<head>
|
10
6
|
<meta chaset="UTF-8">
|
11
|
-
<title>WCB Cafe</title>
|
7
|
+
<title>WCB Cafe-MENU</title>
|
12
8
|
<meta name="description" content="ブレンドコーヒーとヘルシーなオーガニックフードを提供するカフェ">
|
13
9
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
14
10
|
<link rel="stylesheet"href="https://unpkg.com/ress/dist/ress.min.css">
|
@@ -16,7 +12,7 @@
|
|
16
12
|
</head>
|
17
13
|
|
18
14
|
<body>
|
19
|
-
<div id="
|
15
|
+
<div id="menu" class="big-bg">
|
20
16
|
<header class="page-header wrapper">
|
21
17
|
<h1><a href="index.html"><img class="logo" src="image/logo.svg"alt="WCBカフェホーム"></a></h1>
|
22
18
|
<nav>
|
@@ -27,13 +23,290 @@
|
|
27
23
|
</ul>
|
28
24
|
</nav>
|
29
25
|
</header>
|
30
|
-
<div class="
|
26
|
+
<div class="menu-content wrapper">
|
31
|
-
|
27
|
+
<h2 class="page-title">Menu</h2>
|
28
|
+
<p>
|
32
|
-
|
29
|
+
体に優しい自然食を提供する、WCB CAFE。無添加の食材を利用したメニューが特徴です。
|
33
|
-
|
30
|
+
おいしいブレンドコーヒーとヘルシーなオーガニックフードで体の内側から癒してください。
|
31
|
+
</p>
|
34
|
-
</div><!-- /.
|
32
|
+
</div><!-- /.menu-content -->
|
35
|
-
<div><!-- /#
|
33
|
+
</div><!-- /#menu -->
|
34
|
+
|
35
|
+
|
36
|
+
<footer>
|
37
|
+
<div class="wrapper">
|
38
|
+
<p><small>©2019 Manabox</small></p>
|
39
|
+
</div>
|
40
|
+
</footer>
|
36
41
|
</body>
|
37
42
|
</html>
|
43
|
+
```css**ボールドテキスト**
|
38
44
|
|
45
|
+
```
|
46
|
+
@charset "UTF-8";
|
47
|
+
html{
|
48
|
+
font-size: 100%;
|
49
|
+
}
|
50
|
+
body{
|
51
|
+
font-family:"Yu Gothic Medium";
|
52
|
+
color: #432;
|
53
|
+
}
|
39
|
-
|
54
|
+
a{
|
55
|
+
text-decoration: none;
|
56
|
+
}
|
57
|
+
img{
|
58
|
+
max-width: 100%;
|
59
|
+
}
|
60
|
+
.logo{
|
61
|
+
width:210px;
|
62
|
+
margin-top:14px;
|
63
|
+
}
|
64
|
+
.main-nav{
|
65
|
+
display: flex;
|
66
|
+
font-size:1.25rem;
|
67
|
+
text-transform: uppercase;
|
68
|
+
margin-top: 34px;
|
69
|
+
list-style: none;
|
70
|
+
}
|
71
|
+
.main-nav li{
|
72
|
+
margin-left: 36px;
|
73
|
+
}
|
74
|
+
.main-nav a {
|
75
|
+
color:#432;
|
76
|
+
}
|
77
|
+
.main-nav a:hover{
|
78
|
+
color:#0bd;
|
79
|
+
}
|
80
|
+
.page-header{
|
81
|
+
display: flex;
|
82
|
+
justify-content:space-between;
|
83
|
+
}
|
84
|
+
.wrapper{
|
85
|
+
max-width:1100px
|
86
|
+
margin:0 auto;
|
87
|
+
padding: 0 4%;
|
88
|
+
}
|
89
|
+
/*home
|
90
|
+
----------------------*/
|
91
|
+
.home-content{
|
92
|
+
text-align: center;
|
93
|
+
margin-top: 10%;
|
94
|
+
}
|
95
|
+
.home-content p{
|
96
|
+
font-size:1.125rem;
|
97
|
+
margin: 10px 0 42px;
|
98
|
+
}
|
99
|
+
.page-title{
|
100
|
+
font-size:5rem;
|
101
|
+
font-family:'Philosopher',serif;
|
102
|
+
text-transform:uppercase;
|
103
|
+
font-weight:normal;
|
104
|
+
}
|
105
|
+
.button{
|
106
|
+
font-size:1.375rem;
|
107
|
+
background: #0bd;
|
108
|
+
color:#fff;
|
109
|
+
border-radius: 5px;
|
110
|
+
padding: 18px 32px;
|
111
|
+
}
|
112
|
+
.button:hover{
|
113
|
+
background: #0090aa;
|
114
|
+
}
|
115
|
+
.big-bg{
|
116
|
+
background-size: cover;
|
117
|
+
background-position: center top;
|
118
|
+
background-repeat: no-repeat;
|
119
|
+
}
|
120
|
+
#home{
|
121
|
+
background-image: url(../image/main-bg.jpg);
|
122
|
+
min-height:100vh;
|
123
|
+
}
|
124
|
+
#news{
|
125
|
+
background-image: url(../image/news-bg.jpg);
|
126
|
+
height:270px;
|
127
|
+
margin-bottom:40px;
|
128
|
+
}
|
129
|
+
#news .page-title{
|
130
|
+
text-align: center;
|
131
|
+
}
|
132
|
+
footer{
|
133
|
+
background:#432;
|
134
|
+
text-align:center;
|
135
|
+
padding:26px 0;
|
136
|
+
}
|
137
|
+
footer p{
|
138
|
+
color:#fff;
|
139
|
+
font-size:0.875rem;
|
140
|
+
}
|
141
|
+
article{
|
142
|
+
width:74%;
|
143
|
+
}
|
144
|
+
aside{
|
145
|
+
width:22%;
|
146
|
+
}
|
147
|
+
.news-contents{
|
148
|
+
display:flex;
|
149
|
+
justify-content: space-between;
|
150
|
+
margin-bottom:50px;
|
151
|
+
}
|
152
|
+
.post-info{
|
153
|
+
position:relative;
|
154
|
+
padding-top:4px;
|
155
|
+
margin-bottom:40px;
|
156
|
+
}
|
157
|
+
.post-date{
|
158
|
+
background:#0bd;
|
159
|
+
border-radius:50%;
|
160
|
+
color:#fff;
|
161
|
+
width:100px;
|
162
|
+
height:100px;
|
163
|
+
font-size:1.625rem;
|
164
|
+
text-align:center;
|
165
|
+
position: absolute;
|
166
|
+
top:0;
|
167
|
+
padding-top:10px;
|
168
|
+
}
|
169
|
+
.post-date span{
|
170
|
+
font-size:1rem;
|
171
|
+
border-top:1px rgba(255,255,255,.5)solid ;
|
172
|
+
padding-top:6px;
|
173
|
+
display: block;
|
174
|
+
width:60%;
|
175
|
+
margin:0 auto;
|
176
|
+
}
|
177
|
+
.post-title{
|
178
|
+
font-family:"Yu Mincho",serif;
|
179
|
+
font-size:2rem;
|
180
|
+
font-weight:normal;
|
181
|
+
}
|
182
|
+
.post-title,
|
183
|
+
.post-cat{
|
184
|
+
margin-left:120px;
|
185
|
+
}
|
186
|
+
article img{
|
187
|
+
margin-bottom:20px;
|
188
|
+
}
|
189
|
+
article p{
|
190
|
+
margin-bottom:1rem;
|
191
|
+
}
|
192
|
+
.sub-title{
|
193
|
+
font-size:1.375rem;
|
194
|
+
padding:0 8px 8px;
|
195
|
+
border-bottom:2px #0bd solid;
|
196
|
+
font-weight:normal;
|
197
|
+
}
|
198
|
+
aside p{
|
199
|
+
padding: 12px 10px;
|
200
|
+
}
|
201
|
+
.sub-menu{
|
202
|
+
margin-bottom:60px;
|
203
|
+
list-style:none;
|
204
|
+
}
|
205
|
+
.sub-menu li{
|
206
|
+
border-bottom:1px #ddd solid;
|
207
|
+
}
|
208
|
+
.sub-menu a{
|
209
|
+
color:#432;
|
210
|
+
padding:10px;
|
211
|
+
display:block;
|
212
|
+
}
|
213
|
+
.sub-menu a:hover{
|
214
|
+
color:#0bd;
|
215
|
+
}
|
216
|
+
@media(max-width:600px) {
|
217
|
+
h1{
|
218
|
+
color:#0Bd;
|
219
|
+
}
|
220
|
+
}
|
221
|
+
/*モバイル版
|
222
|
+
--------------------------*/
|
223
|
+
@media(max-width:600px) {
|
224
|
+
.page-title{
|
225
|
+
font-size:2.5rem;
|
226
|
+
}
|
227
|
+
/*header*/
|
228
|
+
.main-nav{
|
229
|
+
font-size:1rem;
|
230
|
+
margin-top:10PX;
|
231
|
+
}
|
232
|
+
.main-nav li{
|
233
|
+
margin:0 20px;
|
234
|
+
}
|
235
|
+
.home-content{
|
236
|
+
margin-top:20%;
|
237
|
+
}
|
238
|
+
.page-header{
|
239
|
+
flex-direction:column;
|
240
|
+
align-items: center;
|
241
|
+
}
|
242
|
+
.news-contents{
|
243
|
+
flex-direction: column;
|
244
|
+
}
|
245
|
+
article,
|
246
|
+
aside{
|
247
|
+
width:100%;
|
248
|
+
}
|
249
|
+
#news page-title{
|
250
|
+
margin-top:30px;
|
251
|
+
}
|
252
|
+
aside{
|
253
|
+
margin-top: 60px;
|
254
|
+
}
|
255
|
+
.post-info{
|
256
|
+
margin-bottom: 30px;
|
257
|
+
}
|
258
|
+
.post-date{
|
259
|
+
width:70px;
|
260
|
+
height:70px;
|
261
|
+
font-size:1rem;
|
262
|
+
}
|
263
|
+
.post-date span{
|
264
|
+
font-size:0.875rem;
|
265
|
+
padding-top:2px;
|
266
|
+
}
|
267
|
+
.post-title{
|
268
|
+
font-size:1.375rem;
|
269
|
+
}
|
270
|
+
.post-cat{
|
271
|
+
font-size:0.875rem;
|
272
|
+
margin-top:10px;
|
273
|
+
}
|
274
|
+
.post-title,
|
275
|
+
.post-cat{
|
276
|
+
margin-left: 80px;
|
277
|
+
}
|
278
|
+
.menu-content{
|
279
|
+
margin-top:20%;
|
280
|
+
}
|
281
|
+
}
|
282
|
+
article{
|
283
|
+
width:60%;
|
284
|
+
order:2;
|
285
|
+
}
|
286
|
+
aside{
|
287
|
+
width:22%;
|
288
|
+
order:3;
|
289
|
+
}
|
290
|
+
.ad{
|
291
|
+
order:1;
|
292
|
+
}
|
293
|
+
|
294
|
+
/* Menu -------------------------------------- */
|
295
|
+
#menu {
|
296
|
+
background-image: url(../image/menu-bg.jpg);
|
297
|
+
min-height: 100vh;
|
298
|
+
}
|
299
|
+
.menu-content {
|
300
|
+
max-width:560px;
|
301
|
+
margin-top: 10%;
|
302
|
+
}
|
303
|
+
.menu-content .page-title{
|
304
|
+
text-align:center;
|
305
|
+
}
|
306
|
+
.menu-content p {
|
307
|
+
font-size: 1.125rem;
|
308
|
+
margin: 10px 0 0;
|
309
|
+
}
|
310
|
+
```
|
311
|
+
コード
|
312
|
+
```
|
1
title
CHANGED
File without changes
|
body
CHANGED
@@ -2,7 +2,9 @@
|
|
2
2
|
コード
|
3
3
|
```
|
4
4
|
【index】
|
5
|
-
<!doctype html>
|
5
|
+
<!doctype html>```ここに言語を入力
|
6
|
+
コード
|
7
|
+
```
|
6
8
|
<html lang="ja">
|
7
9
|
<head>
|
8
10
|
<meta chaset="UTF-8">
|