質問編集履歴

2

誤字修正

2019/10/29 00:52

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -204,7 +204,7 @@
204
204
 
205
205
 
206
206
 
207
- #header{
207
+ .header{
208
208
 
209
209
  text-align: center;
210
210
 
@@ -212,7 +212,7 @@
212
212
 
213
213
 
214
214
 
215
- #mainImg img{
215
+ .mainImg img{
216
216
 
217
217
  position: absolute;
218
218
 
@@ -290,7 +290,7 @@
290
290
 
291
291
 
292
292
 
293
- #sec03 img{
293
+ .sec03 img{
294
294
 
295
295
  width: 100%;
296
296
 
@@ -496,7 +496,7 @@
496
496
 
497
497
  @media only screen and (max-width: 799px){
498
498
 
499
- #header{
499
+ .header{
500
500
 
501
501
  width: 100%;
502
502
 
@@ -506,7 +506,7 @@
506
506
 
507
507
 
508
508
 
509
- #headerWrap{
509
+ .headerWrap{
510
510
 
511
511
  position: relative;
512
512
 
@@ -522,7 +522,7 @@
522
522
 
523
523
 
524
524
 
525
- #header h1{
525
+ .header h1{
526
526
 
527
527
  padding-top: 10px;
528
528
 
@@ -530,7 +530,7 @@
530
530
 
531
531
 
532
532
 
533
- #header h1 img{
533
+ .header h1 img{
534
534
 
535
535
  margin-top: 3px;
536
536
 
@@ -542,7 +542,7 @@
542
542
 
543
543
 
544
544
 
545
- #mainImg{
545
+ .mainImg{
546
546
 
547
547
  padding-top: 60px;
548
548
 

1

該当ファイルのコードを添付しました。

2019/10/29 00:51

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -41,3 +41,533 @@
41
41
  と表示されましたが、ERRORのファイルのどこがエラーとなっているのかいまいちわかりません。
42
42
 
43
43
  ど初心者なので初歩的な質問で申し訳ありませんがよろしくお願い致します。
44
+
45
+
46
+
47
+
48
+
49
+ =====該当ファイルコード=====
50
+
51
+
52
+
53
+ // Place all the styles related to the post controller here.
54
+
55
+ // They will automatically be included in application.css.
56
+
57
+ // You can use Sass (SCSS) here: http://sass-lang.com/
58
+
59
+
60
+
61
+ .contact-form {
62
+
63
+ border: 1px solid #ccc;
64
+
65
+ padding: 10px;
66
+
67
+ font-size: 13px;
68
+
69
+ font-family: sans-serif;
70
+
71
+ }
72
+
73
+ .contact-form .item {
74
+
75
+ display: block;
76
+
77
+ overflow: hidden;
78
+
79
+ margin-bottom: 10px;
80
+
81
+ }
82
+
83
+ .contact-form .item.no-label {
84
+
85
+ padding: 5px 0px 5px 60px;
86
+
87
+ }
88
+
89
+ .contact-form .item .label {
90
+
91
+ float: left;
92
+
93
+ padding: 5px;
94
+
95
+ margin:0;
96
+
97
+ }
98
+
99
+ .contact-form .item .radio-group{
100
+
101
+ padding: 5px 0px 5px 60px;
102
+
103
+ }
104
+
105
+ .contact-form .item input[type=text],
106
+
107
+ .contact-form .item input[type=email],
108
+
109
+ .contact-form .item textarea {
110
+
111
+ display: block;
112
+
113
+ margin-left: 60px;
114
+
115
+ width: 200px;
116
+
117
+ padding: 5px;
118
+
119
+ border: 1px solid #ccc;
120
+
121
+ box-sizing: border-box;
122
+
123
+ font-size: 13px;
124
+
125
+ }
126
+
127
+ .contact-form .item ::placeholder {
128
+
129
+ color: #ccc;
130
+
131
+ }
132
+
133
+ .contact-form .item textarea {
134
+
135
+ outline: none;
136
+
137
+ border: 1px solid #ccc;
138
+
139
+ resize: vertical;
140
+
141
+ }
142
+
143
+ input[type=submit] {
144
+
145
+ border: none;
146
+
147
+ outline: none;
148
+
149
+ display: block;
150
+
151
+ line-height: 30px;
152
+
153
+ width: 160px;
154
+
155
+ text-align: center;
156
+
157
+ font-size: 13px;
158
+
159
+ color: #fff;
160
+
161
+ background-color: #696;
162
+
163
+ border-bottom: 4px solid #464;
164
+
165
+ cursor:pointer;
166
+
167
+
168
+
169
+ box-sizing: content-box;
170
+
171
+ transition:0.1s ease all
172
+
173
+ }
174
+
175
+ input[type=submit]:hover{
176
+
177
+ opacity:0.6;
178
+
179
+ }
180
+
181
+
182
+
183
+ ==========================
184
+
185
+
186
+
187
+
188
+
189
+ body{
190
+
191
+ font: 14px/1.9 'Noto Sans JP', Arial, Verdana, 游ゴシック, YuGothic,'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', メイリオ, Meiryo,sans-serif;
192
+
193
+ font-weight: 300;
194
+
195
+ -webkit-text-size-adjust:100%;
196
+
197
+ overflow-x: hidden;
198
+
199
+ color: #000;
200
+
201
+ background: #fff;
202
+
203
+ }
204
+
205
+
206
+
207
+ #header{
208
+
209
+ text-align: center;
210
+
211
+ }
212
+
213
+
214
+
215
+ #mainImg img{
216
+
217
+ position: absolute;
218
+
219
+ left: 50%;
220
+
221
+ max-width: 1280px;
222
+
223
+ width: 1280px;
224
+
225
+ height: 528px;
226
+
227
+ margin-left: -640px;
228
+
229
+ }
230
+
231
+
232
+
233
+
234
+
235
+
236
+
237
+
238
+
239
+ section{
240
+
241
+ clear:both;
242
+
243
+ padding-top: 70px;
244
+
245
+ }
246
+
247
+
248
+
249
+ section h2{
250
+
251
+ font-family: 'メイリオ';
252
+
253
+ width: 60%;
254
+
255
+ margin: 0 auto 40px;
256
+
257
+ font-size: 22px;
258
+
259
+ font-weight:normal;
260
+
261
+ text-align: center;
262
+
263
+ background: url(../borderBlack.png) repeat-x 0 50%;
264
+
265
+ background-size: 1px 1px;
266
+
267
+ }
268
+
269
+
270
+
271
+ section h2 span {
272
+
273
+ background: #fff;
274
+
275
+ padding: 0 80px;
276
+
277
+ }
278
+
279
+
280
+
281
+ .innerS{
282
+
283
+ width: 60%;
284
+
285
+ margin: 0 auto;
286
+
287
+ padding-bottom: 80px;
288
+
289
+ }
290
+
291
+
292
+
293
+ #sec03 img{
294
+
295
+ width: 100%;
296
+
297
+ margin-bottom: 30px;
298
+
299
+ }
300
+
301
+
302
+
303
+ /* Form Layout */
304
+
305
+ .form-wrapper {
306
+
307
+ background: #fafafa;
308
+
309
+ margin: 3em auto;
310
+
311
+ padding: 0 1em;
312
+
313
+ max-width: 370px;
314
+
315
+ }
316
+
317
+
318
+
319
+ h1 {
320
+
321
+ text-align: center;
322
+
323
+ padding: 1em 0;
324
+
325
+ }
326
+
327
+
328
+
329
+ form {
330
+
331
+ padding: 0 1.5em;
332
+
333
+ }
334
+
335
+
336
+
337
+ .form-item {
338
+
339
+ margin-bottom: 0.75em;
340
+
341
+ width: 100%;
342
+
343
+ }
344
+
345
+
346
+
347
+ .form-item input {
348
+
349
+ background: #fafafa;
350
+
351
+ border: none;
352
+
353
+ border-bottom: 2px solid #e9e9e9;
354
+
355
+ color: #666;
356
+
357
+ font-family: 'Open Sans', sans-serif;
358
+
359
+ font-size: 1em;
360
+
361
+ height: 50px;
362
+
363
+ transition: border-color 0.3s;
364
+
365
+ width: 100%;
366
+
367
+ }
368
+
369
+
370
+
371
+ .form-item input:focus {
372
+
373
+ border-bottom: 2px solid #c0c0c0;
374
+
375
+ outline: none;
376
+
377
+ }
378
+
379
+
380
+
381
+ .button-panel {
382
+
383
+ margin: 2em 0 0;
384
+
385
+ width: 100%;
386
+
387
+ }
388
+
389
+
390
+
391
+ .button-panel .button {
392
+
393
+ background: #f16272;
394
+
395
+ border: none;
396
+
397
+ color: #fff;
398
+
399
+ cursor: pointer;
400
+
401
+ height: 50px;
402
+
403
+ font-family: 'Open Sans', sans-serif;
404
+
405
+ font-size: 1.2em;
406
+
407
+ letter-spacing: 0.05em;
408
+
409
+ text-align: center;
410
+
411
+ text-transform: uppercase;
412
+
413
+ width: 100%;
414
+
415
+ }
416
+
417
+
418
+
419
+ .button:hover {
420
+
421
+ background: #ee3e52;
422
+
423
+ }
424
+
425
+
426
+
427
+ .form-footer {
428
+
429
+ font-size: 1em;
430
+
431
+ padding: 2em 0;
432
+
433
+ text-align: center;
434
+
435
+ }
436
+
437
+
438
+
439
+ .form-footer a {
440
+
441
+ color: #8c8c8c;
442
+
443
+ text-decoration: none;
444
+
445
+ transition: border-color 0.3s;
446
+
447
+ }
448
+
449
+
450
+
451
+ .form-footer a:hover {
452
+
453
+ border-bottom: 1px dotted #8c8c8c;
454
+
455
+ }
456
+
457
+
458
+
459
+ /* RESPONSIVE 設定
460
+
461
+ ------------------------------------------------------------*/
462
+
463
+
464
+
465
+ @media only screen and (min-width: 800px){
466
+
467
+ body{
468
+
469
+ font-size:14px;
470
+
471
+ }
472
+
473
+
474
+
475
+
476
+
477
+ }
478
+
479
+
480
+
481
+ @media only screen and (max-width: 640px){
482
+
483
+ .innerS{
484
+
485
+ width: 94%;
486
+
487
+ padding-bottom: 70px;
488
+
489
+ }
490
+
491
+
492
+
493
+ }
494
+
495
+
496
+
497
+ @media only screen and (max-width: 799px){
498
+
499
+ #header{
500
+
501
+ width: 100%;
502
+
503
+ z-index: 500;
504
+
505
+ }
506
+
507
+
508
+
509
+ #headerWrap{
510
+
511
+ position: relative;
512
+
513
+ width: 100%;
514
+
515
+ height: 70px;
516
+
517
+ background: #fff;
518
+
519
+ border-bottom: 1px solid #ccc;
520
+
521
+ }
522
+
523
+
524
+
525
+ #header h1{
526
+
527
+ padding-top: 10px;
528
+
529
+ }
530
+
531
+
532
+
533
+ #header h1 img{
534
+
535
+ margin-top: 3px;
536
+
537
+ max-height: 45px;
538
+
539
+ width: auto !important;
540
+
541
+ }
542
+
543
+
544
+
545
+ #mainImg{
546
+
547
+ padding-top: 60px;
548
+
549
+ z-index: -100;
550
+
551
+ }
552
+
553
+
554
+
555
+ section{
556
+
557
+ padding-top: 50px;
558
+
559
+ }
560
+
561
+ section h2{
562
+
563
+ margin: 0 auto 20px;
564
+
565
+ }
566
+
567
+ section h2 span {
568
+
569
+ padding: 0 30px;
570
+
571
+ }
572
+
573
+ }