質問編集履歴

1

対象コードを追記しました。

2018/07/29 05:11

投稿

TakayaTomohiro
TakayaTomohiro

スコア6

test CHANGED
File without changes
test CHANGED
@@ -18,13 +18,45 @@
18
18
 
19
19
  ※黄色の箇所です。
20
20
 
21
-
22
-
23
21
  ### 該当のソースコード
24
22
 
25
23
 
26
24
 
25
+ ```
26
+
27
- HTML
27
+ HTML
28
+
29
+
30
+
31
+ <div class="outer">
32
+
33
+ <div class="inner">
34
+
35
+ 大タイトル
36
+
37
+ </div>
38
+
39
+ </div>
40
+
41
+
42
+
43
+ <div class="outer2">
44
+
45
+ <div class="inner2">
46
+
47
+ <div class="hinagata">
48
+
49
+
50
+
51
+ <h3>大タイトル説明文</h3>
52
+
53
+
54
+
55
+ <h4>小タイトル</h4><br>
56
+
57
+
58
+
59
+ <h3>小タイトル説明文
28
60
 
29
61
 
30
62
 
@@ -40,6 +72,312 @@
40
72
 
41
73
 
42
74
 
75
+ 小タイトル説明文</h3>
76
+
77
+
78
+
79
+ </div>
80
+
81
+ </div>
82
+
83
+ </div>
84
+
85
+ ```
86
+
87
+
88
+
89
+ ```
90
+
91
+ CSS
92
+
93
+
94
+
95
+ /* トップページ以外のひな形 */
96
+
97
+
98
+
99
+ .hinagata {padding: 20px;
100
+
101
+ border: solid 5px #ffffff;
102
+
103
+ background-color: #ffffff}
104
+
105
+
106
+
107
+ .hinagata h4 {padding: 0.25em 0.5em;/*上下 左右の余白*/
108
+
109
+ color: #494949;/*文字色*/
110
+
111
+ font-size: 24px;/*文字サイズ*/
112
+
113
+ background: transparent;/*背景透明に*/
114
+
115
+ border-left: solid 5px #BDB76B;/*左線*/
116
+
117
+ }
118
+
119
+
120
+
121
+ .hinagata h1 {margin-top: 0;
122
+
123
+ margin-bottom: 0px;
124
+
125
+ font-size: 24px;
126
+
127
+ color: #494949}
128
+
129
+
130
+
131
+ .hinagata h2 {margin-top: 0px;
132
+
133
+ text-align: center;
134
+
135
+ margin-bottom: 5px;
136
+
137
+ font-size: 32px;
138
+
139
+ color: #494949}
140
+
141
+
142
+
143
+ .hinagata h3 {margin-top: 10px;
144
+
145
+ margin-bottom: 15px;
146
+
147
+ font-size: 18px;
148
+
149
+ color: #494949}
150
+
151
+
152
+
153
+ .hinagata h5 {margin-top: 0;
154
+
155
+ margin-bottom: 5px;
156
+
157
+ font-size: 18px;
158
+
159
+ color: #BDB76B}
160
+
161
+
162
+
163
+ .hinagata h6{
164
+
165
+ margin-top: 25px;
166
+
167
+ margin-bottom: 30px;
168
+
169
+ position: relative;
170
+
171
+ padding: 0.5em;
172
+
173
+ background: #BDB76B;
174
+
175
+ color: #494949;
176
+
177
+ }
178
+
179
+
180
+
181
+ .hinagata h6:before {
182
+
183
+ position: absolute;
184
+
185
+ content: '';
186
+
187
+ top: 100%;
188
+
189
+ left: 0;
190
+
191
+ border: none;
192
+
193
+ border-bottom: solid 15px transparent;
194
+
195
+ border-right: solid 20px rgb(149, 158, 155);
196
+
197
+ }
198
+
199
+
200
+
201
+ .hinagata a {
202
+
203
+ padding: 5px;
204
+
205
+ border-bottom: dotted 2px #BDB76B;
206
+
207
+ color: #000000;
208
+
209
+ font-size: 14px;
210
+
211
+ text-decoration: none}
212
+
213
+
214
+
215
+ .hinagata ul {margin: 0;
216
+
217
+ padding: 0;
218
+
219
+ list-style: none}
220
+
221
+
222
+
223
+ .hinagata li a:hover {background-color: #eeeeee}
224
+
225
+
226
+
227
+ .hinagata time {color: #888888;
228
+
229
+ font-weight: bold}
230
+
231
+
232
+
233
+ .hinagata a:after {content: "";
234
+
235
+ display: block;
236
+
237
+ clear: both}
238
+
239
+
240
+
241
+ .hinagata time {float: left;
242
+
243
+ width: 60px}
244
+
245
+
246
+
247
+ .hinagata .text {float: none;
248
+
249
+ width: auto;
250
+
251
+ margin-left: 60px}
252
+
253
+
254
+
255
+ /*メインコンテンツ(トップページ以外)のタイトル*/
256
+
257
+
258
+
259
+ .inner{
260
+
261
+ text-align: center;
262
+
263
+ }
264
+
265
+
266
+
267
+ .inner{
268
+
269
+ width: 80%;
270
+
271
+ margin: 15px auto;
272
+
273
+ padding-bottom: 30px;
274
+
275
+ max-width: 700px;
276
+
277
+ border-bottom: 6px solid #BDB76B;
278
+
279
+ }
280
+
281
+
282
+
283
+ .outer{
284
+
285
+ text-align: center;
286
+
287
+ }
288
+
289
+
290
+
291
+ .inner{
292
+
293
+ display: inline-block;
294
+
295
+ text-align: center;
296
+
297
+ font-size: 38px;
298
+
299
+ }
300
+
301
+
302
+
303
+ .outer {padding-top: 30px;
304
+
305
+ padding-bottom: 0px}
306
+
307
+
308
+
309
+ //*メインコンテンツ(トップページ以外)のコンテンツ*//
310
+
311
+
312
+
313
+ .inner2{
314
+
315
+ text-align: center;
316
+
317
+ }
318
+
319
+
320
+
321
+ .inner2{
322
+
323
+ width: 80%;
324
+
325
+ margin: 0 auto;
326
+
327
+ max-width: 700px;
328
+
329
+ }
330
+
331
+
332
+
333
+ .outer2{
334
+
335
+ text-align: center;
336
+
337
+ }
338
+
339
+ .inner2{
340
+
341
+ display: inline-block;
342
+
343
+ text-align: left;
344
+
345
+ font-size: 24px;
346
+
347
+ }
348
+
349
+
350
+
351
+ .outer2 {padding-top: 30px;
352
+
353
+ padding-bottom: 10px}
354
+
355
+
356
+
357
+ .carousel-inner img {
358
+
359
+ width: 100%;
360
+
361
+ }
362
+
363
+
364
+
365
+ #carousel-example-generic {
366
+
367
+ width: 100%;
368
+
369
+ }
370
+
371
+
372
+
373
+
374
+
375
+ ```
376
+
377
+
378
+
379
+
380
+
43
381
  ### 補足情報(FW/ツールのバージョンなど)
44
382
 
45
383