質問編集履歴

2

cssを追加しました

2018/08/16 11:37

投稿

Malas
Malas

スコア112

test CHANGED
File without changes
test CHANGED
@@ -62,6 +62,462 @@
62
62
 
63
63
  ```
64
64
 
65
+ ### home.scss
66
+
67
+
68
+
69
+ ```
70
+
71
+ * {
72
+
73
+ box-sizing: border-box;
74
+
75
+ }
76
+
77
+
78
+
79
+ html {
80
+
81
+ font: 100%/1.5 'Avenir Next', 'Hiragino Sans', sans-serif;
82
+
83
+ line-height: 1.7;
84
+
85
+ letter-spacing: 1px;
86
+
87
+ }
88
+
89
+
90
+
91
+ ul, li {
92
+
93
+ list-style-type: none;
94
+
95
+ padding: 0;
96
+
97
+ margin: 0;
98
+
99
+ }
100
+
101
+
102
+
103
+ a {
104
+
105
+ text-decoration: none;
106
+
107
+ color: #2d3133;
108
+
109
+ font-size: 14px;
110
+
111
+ }
112
+
113
+
114
+
115
+ h1, h2, h3, h4, h5, h6, p {
116
+
117
+ margin: 0;
118
+
119
+ }
120
+
121
+ input {
122
+
123
+ background-color: transparent;
124
+
125
+ outline-width: 0;
126
+
127
+ }
128
+
129
+
130
+
131
+ form input[type="submit"] {
132
+
133
+ border: none;
134
+
135
+ cursor: pointer;
136
+
137
+ }
138
+
139
+
140
+
141
+ body {
142
+
143
+ color: #2d3133;
144
+
145
+ background-color: #3ecdc6;
146
+
147
+ margin: 0;
148
+
149
+ min-height: 1vh;
150
+
151
+ }
152
+
153
+
154
+
155
+ .main {
156
+
157
+ position: absolute;
158
+
159
+ top: 64px;
160
+
161
+ width: 100%;
162
+
163
+ height: auto;
164
+
165
+ min-height: 100%;
166
+
167
+ background-color: #f5f8fa;
168
+
169
+ }
170
+
171
+
172
+
173
+ .container {
174
+
175
+ max-width: 600px;
176
+
177
+ margin: 60px auto;
178
+
179
+ padding-left: 15px;
180
+
181
+ padding-right: 15px;
182
+
183
+ clear: both;
184
+
185
+ }
186
+
187
+
188
+
189
+ header {
190
+
191
+ height: 64px;
192
+
193
+ position: absolute;
194
+
195
+ z-index: 1;
196
+
197
+ width: 100%;
198
+
199
+ }
200
+
201
+
202
+
203
+ .header-logo {
204
+
205
+ float: left;
206
+
207
+ padding-left: 20px;
208
+
209
+ color: white;
210
+
211
+ font-size: 22px;
212
+
213
+ line-height: 64px;
214
+
215
+ }
216
+
217
+
218
+
219
+ .header-logo a{
220
+
221
+ color: white;
222
+
223
+ font-size: 22px;
224
+
225
+ }
226
+
227
+
228
+
229
+ .header-menus {
230
+
231
+ float: right;
232
+
233
+ padding-right: 20px;
234
+
235
+ }
236
+
237
+
238
+
239
+ .header-menus li {
240
+
241
+ float: left;
242
+
243
+ line-height: 64px;
244
+
245
+ font-size: 13px;
246
+
247
+ color: white;
248
+
249
+ padding-left: 15px;
250
+
251
+ }
252
+
253
+
254
+
255
+ .header-menus a {
256
+
257
+ float: left;
258
+
259
+ font-size: 13px;
260
+
261
+ color: white;
262
+
263
+ }
264
+
265
+
266
+
267
+ .header-menus .fa {
268
+
269
+ padding-right: 5px;
270
+
271
+ }
272
+
273
+
274
+
275
+ .header-menus input[type="submit"] {
276
+
277
+ padding: 0 20px;
278
+
279
+ float: left;
280
+
281
+ line-height: 64px;
282
+
283
+ color: white;
284
+
285
+ margin: 0;
286
+
287
+ font-size: 13px;
288
+
289
+ }
290
+
291
+
292
+
293
+ .top-main {
294
+
295
+ padding: 200px 0 100px;
296
+
297
+ text-align: center;
298
+
299
+ position: absolute;
300
+
301
+ top: 0;
302
+
303
+ width: 100%;
304
+
305
+ height: auto;
306
+
307
+ min-height: 100%;
308
+
309
+ color: white;
310
+
311
+ background-color: #3ecdc6;
312
+
313
+ background-repeat: no-repeat;
314
+
315
+ background-position: center 50%;
316
+
317
+ background-size: cover;
318
+
319
+ background-image:url("../top.png");
320
+
321
+ }
322
+
323
+
324
+
325
+ .top-message {
326
+
327
+ position: relative;
328
+
329
+ }
330
+
331
+
332
+
333
+ .top-main h2 {
334
+
335
+ font-size: 70px;
336
+
337
+ font-weight: 500;
338
+
339
+ line-height: 1.3;
340
+
341
+ -webkit-font-smoothing: antialiased;
342
+
343
+ margin-bottom: 20px;
344
+
345
+ color:gold;
346
+
347
+ font-weight:bold;
348
+
349
+ }
350
+
351
+
352
+
353
+ .top-main p {
354
+
355
+ font-size: 24px;
356
+
357
+ color:gold;
358
+
359
+ font-weight:bold;
360
+
361
+ }
362
+
363
+
364
+
365
+ .about-main {
366
+
367
+ padding: 180px 8% 0;
368
+
369
+ color: white;
370
+
371
+ }
372
+
373
+
374
+
375
+ .about-main h2 {
376
+
377
+ font-size: 64px;
378
+
379
+ font-weight: 500;
380
+
381
+ line-height: 1.4;
382
+
383
+ }
384
+
385
+
386
+
387
+ .about-main p {
388
+
389
+ font-weight: 200;
390
+
391
+ font-size: 20px;
392
+
393
+ }
394
+
395
+
396
+
397
+ .about-img {
398
+
399
+ width: 84%;
400
+
401
+ }
402
+
403
+
404
+
405
+ .form {
406
+
407
+ max-width: 600px;
408
+
409
+ margin: 0 auto;
410
+
411
+ background-color: white;
412
+
413
+ box-shadow: 0 2px 6px #c1ced7;
414
+
415
+ }
416
+
417
+
418
+
419
+ .form-heading {
420
+
421
+ font-weight: 300;
422
+
423
+ margin: 60px 0 20px;
424
+
425
+ font-size: 48px;
426
+
427
+ color: #bcc8d4;
428
+
429
+ }
430
+
431
+
432
+
433
+ .form-body {
434
+
435
+ padding: 30px;
436
+
437
+ }
438
+
439
+
440
+
441
+ .form-error {
442
+
443
+ color: #ff4d75;
444
+
445
+ }
446
+
447
+
448
+
449
+ .form input {
450
+
451
+ width: 100%;
452
+
453
+ border: 1px solid #d8dadf;
454
+
455
+ padding: 10px;
456
+
457
+ color: #57575f;
458
+
459
+ font-size: 16px;
460
+
461
+ letter-spacing: 2px;
462
+
463
+ border-radius: 2px;
464
+
465
+ }
466
+
467
+
468
+
469
+ .form textarea {
470
+
471
+ width: 100%;
472
+
473
+ min-height: 110px;
474
+
475
+ font-size: 16px;
476
+
477
+ letter-spacing: 2px;
478
+
479
+ }
480
+
481
+
482
+
483
+ .form input[type="submit"] {
484
+
485
+ background-color: #3ecdc6;
486
+
487
+ color: white;
488
+
489
+ cursor: pointer;
490
+
491
+ font-weight: 300;
492
+
493
+ width: 120px;
494
+
495
+ border-radius: 2px;
496
+
497
+ margin-top: 8px;
498
+
499
+ margin-bottom: 0;
500
+
501
+ float: right;
502
+
503
+ }
504
+
505
+
506
+
507
+ .form-body:after {
508
+
509
+ content: '';
510
+
511
+ display: table;
512
+
513
+ clear: both;
514
+
515
+ }
516
+
517
+ ```
518
+
519
+
520
+
65
521
  ### 試したこと
66
522
 
67
523
 
@@ -70,9 +526,7 @@
70
526
 
71
527
 
72
528
 
73
- githubも貼っておきます。
529
+
74
-
75
- https://github.com/malas-kohei/bolehboleh.git
76
530
 
77
531
 
78
532
 

1

githubを加えました

2018/08/16 11:37

投稿

Malas
Malas

スコア112

test CHANGED
File without changes
test CHANGED
@@ -70,4 +70,10 @@
70
70
 
71
71
 
72
72
 
73
+ githubも貼っておきます。
74
+
75
+ https://github.com/malas-kohei/bolehboleh.git
76
+
77
+
78
+
73
79
  よろしくお願いいたします。