質問編集履歴
2
コードを修正しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -354,13 +354,13 @@
|
|
354
354
|
|
355
355
|
$('header').addClass('change-color');
|
356
356
|
|
357
|
-
$('
|
357
|
+
$('lang').addClass('color');
|
358
358
|
|
359
359
|
}else {
|
360
360
|
|
361
361
|
$('header').removeClass('change-color');
|
362
362
|
|
363
|
-
$('
|
363
|
+
$('lang').removeClass('color');
|
364
364
|
|
365
365
|
} });
|
366
366
|
|
1
コードを足しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -24,6 +24,44 @@
|
|
24
24
|
|
25
25
|
</header>
|
26
26
|
|
27
|
+
<section class="top">
|
28
|
+
|
29
|
+
<div class="top-img">
|
30
|
+
|
31
|
+
<img src="img/dounuts_logo3.png" alt="ロゴ">
|
32
|
+
|
33
|
+
</div>
|
34
|
+
|
35
|
+
</section>
|
36
|
+
|
37
|
+
|
38
|
+
|
39
|
+
<section class="message semicircle">
|
40
|
+
|
41
|
+
<div class="message-z">
|
42
|
+
|
43
|
+
<h1>from Dounut's Pop</h1>
|
44
|
+
|
45
|
+
<div class="message-center">
|
46
|
+
|
47
|
+
<div class="message-p">
|
48
|
+
|
49
|
+
<p class="messa">テキスト</p>
|
50
|
+
|
51
|
+
<p class="messa">テキスト</p>
|
52
|
+
|
53
|
+
<p class="messa">テキスト</p>
|
54
|
+
|
55
|
+
<p class="messa messa-main">メインテキスト!</p>
|
56
|
+
|
57
|
+
</div><!--message-p-->
|
58
|
+
|
59
|
+
</div><!--message-center-->
|
60
|
+
|
61
|
+
</div>
|
62
|
+
|
63
|
+
</section>
|
64
|
+
|
27
65
|
|
28
66
|
|
29
67
|
```
|
@@ -148,6 +186,160 @@
|
|
148
186
|
|
149
187
|
}
|
150
188
|
|
189
|
+
/*トップ*/
|
190
|
+
|
191
|
+
.top {
|
192
|
+
|
193
|
+
background-image: url(img/sample/4507419_s.png);
|
194
|
+
|
195
|
+
background-size: cover;
|
196
|
+
|
197
|
+
height: 100%;
|
198
|
+
|
199
|
+
width: 100%;
|
200
|
+
|
201
|
+
}
|
202
|
+
|
203
|
+
.top-img {
|
204
|
+
|
205
|
+
text-align: center;
|
206
|
+
|
207
|
+
width: 100%;
|
208
|
+
|
209
|
+
}
|
210
|
+
|
211
|
+
.top-img img {
|
212
|
+
|
213
|
+
background-color: rgba(255, 255, 255, 0.733);
|
214
|
+
|
215
|
+
width: 30%;
|
216
|
+
|
217
|
+
padding: 48px;
|
218
|
+
|
219
|
+
border-radius: 56px;
|
220
|
+
|
221
|
+
margin: 160px 0;
|
222
|
+
|
223
|
+
}
|
224
|
+
|
225
|
+
/*メッセージ*/
|
226
|
+
|
227
|
+
.message-z {
|
228
|
+
|
229
|
+
z-index: 1;
|
230
|
+
|
231
|
+
}
|
232
|
+
|
233
|
+
.message-p p {
|
234
|
+
|
235
|
+
color: #574643;
|
236
|
+
|
237
|
+
}
|
238
|
+
|
239
|
+
.message-center {
|
240
|
+
|
241
|
+
margin: 0 auto;
|
242
|
+
|
243
|
+
padding: 16px 16px;
|
244
|
+
|
245
|
+
position: relative;
|
246
|
+
|
247
|
+
z-index: 10; /* 追加 */
|
248
|
+
|
249
|
+
background: none;
|
250
|
+
|
251
|
+
text-transform: uppercase;
|
252
|
+
|
253
|
+
z-index: 10;
|
254
|
+
|
255
|
+
}
|
256
|
+
|
257
|
+
.message-center::after {
|
258
|
+
|
259
|
+
position: absolute;
|
260
|
+
|
261
|
+
top: 16px;
|
262
|
+
|
263
|
+
left: -16px;
|
264
|
+
|
265
|
+
content: "";
|
266
|
+
|
267
|
+
height: 100%;
|
268
|
+
|
269
|
+
width: 100%;
|
270
|
+
|
271
|
+
z-index: -999;
|
272
|
+
|
273
|
+
background-color: #f8e6e6;
|
274
|
+
|
275
|
+
padding: 24px 32px;
|
276
|
+
|
277
|
+
}
|
278
|
+
|
279
|
+
.message-center::before {
|
280
|
+
|
281
|
+
position: absolute;
|
282
|
+
|
283
|
+
border: 1px solid #ff7177;
|
284
|
+
|
285
|
+
content: "";
|
286
|
+
|
287
|
+
top: 0px;
|
288
|
+
|
289
|
+
left: 0px;
|
290
|
+
|
291
|
+
height: 100%;
|
292
|
+
|
293
|
+
width: 100%;
|
294
|
+
|
295
|
+
z-index: -998; /* afterの数値より上にする */
|
296
|
+
|
297
|
+
padding: 24px 32px;
|
298
|
+
|
299
|
+
}
|
300
|
+
|
301
|
+
.message-center {
|
302
|
+
|
303
|
+
width: 40%;
|
304
|
+
|
305
|
+
}
|
306
|
+
|
307
|
+
.message-center img {
|
308
|
+
|
309
|
+
width: 30%;
|
310
|
+
|
311
|
+
}
|
312
|
+
|
313
|
+
.message-img {
|
314
|
+
|
315
|
+
text-align: right;
|
316
|
+
|
317
|
+
margin-top: -80px;
|
318
|
+
|
319
|
+
}
|
320
|
+
|
321
|
+
.message-p{
|
322
|
+
|
323
|
+
font-size: 15px;
|
324
|
+
|
325
|
+
padding: 24px 32px;
|
326
|
+
|
327
|
+
line-height: 1.5;
|
328
|
+
|
329
|
+
}
|
330
|
+
|
331
|
+
.messa {
|
332
|
+
|
333
|
+
margin-bottom: 24px;
|
334
|
+
|
335
|
+
}
|
336
|
+
|
337
|
+
.messa-main {
|
338
|
+
|
339
|
+
font-size: 28px;
|
340
|
+
|
341
|
+
}
|
342
|
+
|
151
343
|
```
|
152
344
|
|
153
345
|
```jQuery
|