質問編集履歴
1
文法の訂正
test
CHANGED
File without changes
|
test
CHANGED
@@ -170,189 +170,469 @@
|
|
170
170
|
|
171
171
|
|
172
172
|
|
173
|
-
/
|
173
|
+
/views/homepage/index.html.erb
|
174
174
|
|
175
175
|
```
|
176
176
|
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
177
|
+
<!-- Page Content -->
|
178
|
+
|
179
|
+
<div class="container">
|
180
|
+
|
181
|
+
|
182
|
+
|
183
|
+
<!-- Jumbotron Header -->
|
184
|
+
|
185
|
+
<header class="jumbotron my-4">
|
186
|
+
|
187
|
+
<h1 class="display-3">A Warm Welcome!</h1>
|
188
|
+
|
189
|
+
<p class="lead">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ipsa, ipsam, eligendi, in quo sunt possimus non incidunt odit vero aliquid similique quaerat nam nobis illo aspernatur vitae fugiat numquam repellat.</p>
|
190
|
+
|
191
|
+
<a href="#" class="btn btn-primary btn-lg">Call to action!</a>
|
192
|
+
|
193
|
+
</header>
|
194
|
+
|
195
|
+
|
196
|
+
|
197
|
+
<!-- Page Features -->
|
198
|
+
|
199
|
+
<div class="row text-center">
|
200
|
+
|
201
|
+
|
202
|
+
|
203
|
+
<div class="col-lg-3 col-md-6 mb-4">
|
204
|
+
|
205
|
+
<div class="card h-100">
|
206
|
+
|
207
|
+
<img class="card-img-top" src="http://placehold.it/500x325" alt="">
|
208
|
+
|
209
|
+
<div class="card-body">
|
210
|
+
|
211
|
+
<h4 class="card-title">Card title</h4>
|
212
|
+
|
213
|
+
<p class="card-text">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Sapiente esse necessitatibus neque.</p>
|
214
|
+
|
215
|
+
</div>
|
216
|
+
|
217
|
+
<div class="card-footer">
|
218
|
+
|
219
|
+
<a href="#" class="btn btn-primary">Find Out More!</a>
|
220
|
+
|
221
|
+
</div>
|
222
|
+
|
223
|
+
</div>
|
224
|
+
|
225
|
+
</div>
|
226
|
+
|
227
|
+
|
228
|
+
|
229
|
+
<div class="col-lg-3 col-md-6 mb-4">
|
230
|
+
|
231
|
+
<div class="card h-100">
|
232
|
+
|
233
|
+
<img class="card-img-top" src="http://placehold.it/500x325" alt="">
|
234
|
+
|
235
|
+
<div class="card-body">
|
236
|
+
|
237
|
+
<h4 class="card-title">Card title</h4>
|
238
|
+
|
239
|
+
<p class="card-text">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Explicabo magni sapiente, tempore debitis beatae culpa natus architecto.</p>
|
240
|
+
|
241
|
+
</div>
|
242
|
+
|
243
|
+
<div class="card-footer">
|
244
|
+
|
245
|
+
<a href="#" class="btn btn-primary">Find Out More!</a>
|
246
|
+
|
247
|
+
</div>
|
248
|
+
|
249
|
+
</div>
|
250
|
+
|
251
|
+
</div>
|
252
|
+
|
253
|
+
|
254
|
+
|
255
|
+
<div class="col-lg-3 col-md-6 mb-4">
|
256
|
+
|
257
|
+
<div class="card h-100">
|
258
|
+
|
259
|
+
<img class="card-img-top" src="http://placehold.it/500x325" alt="">
|
260
|
+
|
261
|
+
<div class="card-body">
|
262
|
+
|
263
|
+
<h4 class="card-title">Card title</h4>
|
264
|
+
|
265
|
+
<p class="card-text">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Sapiente esse necessitatibus neque.</p>
|
266
|
+
|
267
|
+
</div>
|
268
|
+
|
269
|
+
<div class="card-footer">
|
270
|
+
|
271
|
+
<a href="#" class="btn btn-primary">Find Out More!</a>
|
272
|
+
|
273
|
+
</div>
|
274
|
+
|
275
|
+
</div>
|
276
|
+
|
277
|
+
</div>
|
278
|
+
|
279
|
+
|
280
|
+
|
281
|
+
<div class="col-lg-3 col-md-6 mb-4">
|
282
|
+
|
283
|
+
<div class="card h-100">
|
284
|
+
|
285
|
+
<img class="card-img-top" src="http://placehold.it/500x325" alt="">
|
286
|
+
|
287
|
+
<div class="card-body">
|
288
|
+
|
289
|
+
<h4 class="card-title">Card title</h4>
|
290
|
+
|
291
|
+
<p class="card-text">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Explicabo magni sapiente, tempore debitis beatae culpa natus architecto.</p>
|
292
|
+
|
293
|
+
</div>
|
294
|
+
|
295
|
+
<div class="card-footer">
|
296
|
+
|
297
|
+
<a href="#" class="btn btn-primary">Find Out More!</a>
|
298
|
+
|
299
|
+
</div>
|
300
|
+
|
301
|
+
</div>
|
302
|
+
|
303
|
+
</div>
|
304
|
+
|
305
|
+
|
306
|
+
|
307
|
+
</div>
|
308
|
+
|
309
|
+
<!-- /.row -->
|
310
|
+
|
311
|
+
|
312
|
+
|
313
|
+
</div>
|
314
|
+
|
315
|
+
<!-- /.container -->
|
208
316
|
|
209
317
|
|
210
318
|
|
211
319
|
```
|
212
320
|
|
321
|
+
|
322
|
+
|
213
|
-
/
|
323
|
+
/assets/stylesheets/homepage.scss
|
214
324
|
|
215
325
|
```
|
216
326
|
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
327
|
+
// Place all the styles related to the homepage controller here.
|
328
|
+
|
329
|
+
// They will automatically be included in application.css.
|
330
|
+
|
331
|
+
// You can use Sass (SCSS) here: https://sass-lang.com/
|
332
|
+
|
333
|
+
|
334
|
+
|
335
|
+
|
336
|
+
|
337
|
+
/* 以下テンプレートagencyのcss*/
|
338
|
+
|
339
|
+
|
340
|
+
|
341
|
+
#services {
|
342
|
+
|
343
|
+
background:red;
|
344
|
+
|
345
|
+
}
|
346
|
+
|
347
|
+
|
348
|
+
|
349
|
+
body {
|
350
|
+
|
351
|
+
overflow-x: hidden;
|
352
|
+
|
353
|
+
font-family: 'Roboto Slab', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
354
|
+
|
355
|
+
}
|
356
|
+
|
357
|
+
|
358
|
+
|
359
|
+
p {
|
360
|
+
|
361
|
+
line-height: 1.75;
|
362
|
+
|
363
|
+
}
|
364
|
+
|
365
|
+
|
366
|
+
|
367
|
+
|
368
|
+
|
369
|
+
.text-primary {
|
370
|
+
|
371
|
+
color: #fed136 !important;
|
372
|
+
|
373
|
+
}
|
374
|
+
|
375
|
+
|
376
|
+
|
377
|
+
h1,
|
378
|
+
|
379
|
+
h2,
|
380
|
+
|
381
|
+
h3,
|
382
|
+
|
383
|
+
h4,
|
384
|
+
|
385
|
+
h5,
|
386
|
+
|
387
|
+
h6 {
|
388
|
+
|
389
|
+
font-weight: 700;
|
390
|
+
|
391
|
+
font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
392
|
+
|
393
|
+
}
|
394
|
+
|
395
|
+
|
396
|
+
|
397
|
+
section {
|
398
|
+
|
399
|
+
padding: 100px 0;
|
400
|
+
|
401
|
+
}
|
402
|
+
|
403
|
+
|
404
|
+
|
405
|
+
section h2.section-heading {
|
406
|
+
|
407
|
+
font-size: 40px;
|
408
|
+
|
409
|
+
margin-top: 0;
|
410
|
+
|
411
|
+
margin-bottom: 15px;
|
412
|
+
|
413
|
+
}
|
414
|
+
|
415
|
+
|
416
|
+
|
417
|
+
section h3.section-subheading {
|
418
|
+
|
419
|
+
font-size: 16px;
|
420
|
+
|
421
|
+
font-weight: 400;
|
422
|
+
|
423
|
+
font-style: italic;
|
424
|
+
|
425
|
+
margin-bottom: 25px;
|
426
|
+
|
427
|
+
text-transform: none;
|
428
|
+
|
429
|
+
line-height: 1.5em;
|
430
|
+
|
431
|
+
font-family: 'Droid Serif', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
432
|
+
|
433
|
+
}
|
434
|
+
|
435
|
+
|
436
|
+
|
437
|
+
@media (min-width: 768px) {
|
438
|
+
|
439
|
+
section {
|
440
|
+
|
441
|
+
padding: 150px 0;
|
442
|
+
|
443
|
+
}
|
444
|
+
|
445
|
+
}
|
446
|
+
|
447
|
+
|
448
|
+
|
449
|
+
.btn {
|
450
|
+
|
451
|
+
font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
452
|
+
|
453
|
+
font-weight: 700;
|
454
|
+
|
455
|
+
}
|
456
|
+
|
457
|
+
|
458
|
+
|
459
|
+
.btn-xl {
|
460
|
+
|
461
|
+
font-size: 18px;
|
462
|
+
|
463
|
+
padding: 20px 40px;
|
464
|
+
|
465
|
+
}
|
466
|
+
|
467
|
+
|
468
|
+
|
469
|
+
.btn-primary {
|
470
|
+
|
471
|
+
background-color: #fed136;
|
472
|
+
|
473
|
+
border-color: #fed136;
|
474
|
+
|
475
|
+
}
|
476
|
+
|
477
|
+
|
478
|
+
|
479
|
+
.btn-primary:active, .btn-primary:focus, .btn-primary:hover {
|
480
|
+
|
481
|
+
background-color: #fec810 !important;
|
482
|
+
|
483
|
+
border-color: #fec810 !important;
|
484
|
+
|
485
|
+
color: white;
|
486
|
+
|
487
|
+
}
|
488
|
+
|
489
|
+
|
490
|
+
|
491
|
+
.btn-primary:active, .btn-primary:focus {
|
492
|
+
|
493
|
+
box-shadow: 0 0 0 0.2rem rgba(254, 209, 55, 0.5) !important;
|
494
|
+
|
495
|
+
}
|
496
|
+
|
497
|
+
|
498
|
+
|
499
|
+
::-moz-selection {
|
500
|
+
|
501
|
+
background: #fed136;
|
502
|
+
|
503
|
+
text-shadow: none;
|
504
|
+
|
505
|
+
}
|
506
|
+
|
507
|
+
|
508
|
+
|
509
|
+
::selection {
|
510
|
+
|
511
|
+
background: #fed136;
|
512
|
+
|
513
|
+
text-shadow: none;
|
514
|
+
|
515
|
+
}
|
516
|
+
|
517
|
+
|
518
|
+
|
519
|
+
img::selection {
|
520
|
+
|
521
|
+
background: transparent;
|
522
|
+
|
523
|
+
}
|
524
|
+
|
525
|
+
|
526
|
+
|
527
|
+
img::-moz-selection {
|
528
|
+
|
529
|
+
background: transparent;
|
530
|
+
|
531
|
+
}
|
532
|
+
|
533
|
+
|
534
|
+
|
535
|
+
#mainNav {
|
536
|
+
|
537
|
+
background-color: #212529;
|
538
|
+
|
539
|
+
}
|
540
|
+
|
541
|
+
|
542
|
+
|
543
|
+
#mainNav .navbar-toggler {
|
544
|
+
|
545
|
+
font-size: 12px;
|
546
|
+
|
547
|
+
right: 0;
|
548
|
+
|
549
|
+
padding: 13px;
|
550
|
+
|
551
|
+
text-transform: uppercase;
|
552
|
+
|
553
|
+
color: #fed136;
|
554
|
+
|
555
|
+
// border: 0;
|
556
|
+
|
557
|
+
border:1px solid #fed136;
|
558
|
+
|
559
|
+
// background-color: #fed136;
|
560
|
+
|
561
|
+
font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
562
|
+
|
563
|
+
}
|
564
|
+
|
565
|
+
|
566
|
+
|
567
|
+
#mainNav .navbar-brand {
|
568
|
+
|
569
|
+
color: #fed136;
|
570
|
+
|
571
|
+
font-family: 'Kaushan Script', 'Helvetica Neue', Helvetica, Arial, cursive;
|
572
|
+
|
573
|
+
padding: .7rem
|
574
|
+
|
575
|
+
}
|
576
|
+
|
577
|
+
|
578
|
+
|
579
|
+
#mainNav .navbar-brand.active, #mainNav .navbar-brand:active, #mainNav .navbar-brand:focus, #mainNav .navbar-brand:hover {
|
580
|
+
|
581
|
+
color: #fec503;
|
582
|
+
|
583
|
+
}
|
584
|
+
|
585
|
+
|
586
|
+
|
587
|
+
#mainNav .navbar-nav .nav-item .nav-link {
|
588
|
+
|
589
|
+
font-size: 90%;
|
590
|
+
|
591
|
+
font-weight: 400;
|
592
|
+
|
593
|
+
padding: 0.75em 0;
|
594
|
+
|
595
|
+
letter-spacing: 1px;
|
596
|
+
|
597
|
+
color: white;
|
598
|
+
|
599
|
+
font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
600
|
+
|
601
|
+
}
|
602
|
+
|
603
|
+
|
604
|
+
|
605
|
+
#mainNav .navbar-nav .nav-item .nav-link.active, #mainNav .navbar-nav .nav-item .nav-link:hover {
|
606
|
+
|
607
|
+
color: #fed136;
|
608
|
+
|
609
|
+
}
|
610
|
+
|
611
|
+
|
612
|
+
|
613
|
+
@media (min-width: 992px) {
|
614
|
+
|
615
|
+
// 画面サイズが広い時にnavbarの背景が消えて太さが太くなる挙動をここをコメントアウトして制御
|
616
|
+
|
617
|
+
|
618
|
+
|
619
|
+
#mainNav .navbar-brand {
|
620
|
+
|
621
|
+
font-size: 1.75em;
|
622
|
+
|
623
|
+
-webkit-transition: all 0.3s;
|
624
|
+
|
625
|
+
-moz-transition: all 0.3s;
|
626
|
+
|
627
|
+
transition: all 0.3s;
|
628
|
+
|
629
|
+
}
|
630
|
+
|
631
|
+
|
632
|
+
|
633
|
+
|
634
|
+
|
635
|
+
以下省略
|
356
636
|
|
357
637
|
|
358
638
|
|