質問編集履歴

4

加筆

2019/12/24 15:06

投稿

settsuxan
settsuxan

スコア5

test CHANGED
File without changes
test CHANGED
@@ -855,3 +855,11 @@
855
855
 
856
856
 
857
857
  を入れています。
858
+
859
+
860
+
861
+
862
+
863
+ 追記2:OSはwindows7、ブラウザはクロームで79.0.3945.88です。
864
+
865
+ ディスプレイは1920*1080です。

3

修正

2019/12/24 15:06

投稿

settsuxan
settsuxan

スコア5

test CHANGED
File without changes
test CHANGED
@@ -174,218 +174,132 @@
174
174
 
175
175
  <p style="text-align:center;" >スポンサーリンク<br>
176
176
 
177
+ 私のアドセンスコード
178
+
179
+ <p> </p>
180
+
181
+ </div>
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
+ <script>adsFilter();</script>
208
+
209
+
210
+
211
+ <script>// <![CDATA[
212
+
213
+ addEventListener("DOMContentLoaded", function() {
214
+
215
+ var $target = $('.entry-content > h3,h4,h5');
216
+
177
- <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
217
+ $target.eq(Math.floor($target.size() / 2)).before($('.insentence-adsense2'));
218
+
178
-
219
+ }, false);
220
+
221
+ // ]]></script>
222
+
179
- <ins class="adsbygoogle"
223
+ <div class="insentence-adsense2">
180
-
224
+
181
- style="display:block; text-align:center;"
225
+ <p style="text-align:center; font-size: 80%" >スポンサーリンク<br>
226
+
182
-
227
+ 私のアドセンスコード
228
+
229
+ </p>
230
+
231
+ </div>
232
+
233
+
234
+
235
+
236
+
237
+
238
+
239
+
240
+
241
+ <script>adsFilter();</script>
242
+
183
- data-ad-layout="in-article"
243
+ <div id="my-footer">
244
+
184
-
245
+ <p style="text-align:center;" >スポンサーリンク<br>
246
+
247
+ 私のアドセンスコード
248
+
249
+ </p>
250
+
251
+ </div>
252
+
253
+
254
+
255
+
256
+
257
+
258
+
259
+
260
+
261
+
262
+
263
+ <script>adsFilter();</script>
264
+
265
+
266
+
185
- data-ad-format="fluid"
267
+ <div id="my-footer">
186
-
187
- data-ad-client="ca-pub-2182608187039470"
268
+
188
-
189
- data-ad-slot="3928620735"></ins>
269
+ <p style="text-align:center;" >こんな記事もあります<br>
270
+
271
+ 私のアドセンスコード
272
+
273
+ </p>
274
+
275
+ </div>
276
+
277
+
278
+
279
+
280
+
281
+
282
+
283
+
284
+
285
+ <div id="my-footer">
286
+
287
+ <iframe src="https://blog.hatena.ne.jp/settuxan/settsuxan.hatenablog.com/subscribe/iframe" allowtransparency="true" frameborder="0" scrolling="no" width="150" height="28"></iframe>
288
+
289
+ </div>
190
290
 
191
291
  <script>
192
292
 
293
+ var myFooter=document.getElementById("my-footer");
294
+
295
+ var temp=myFooter.cloneNode(true);
296
+
193
- (adsbygoogle = window.adsbygoogle || []).push({});
297
+ myFooter.parentNode.removeChild(myFooter);
298
+
299
+ document.getElementsByClassName("entry-content")[0].appendChild(temp);
194
300
 
195
301
  </script>
196
302
 
197
- <p> </p>
198
-
199
- </div>
200
-
201
-
202
-
203
-
204
-
205
-
206
-
207
-
208
-
209
-
210
-
211
-
212
-
213
-
214
-
215
-
216
-
217
-
218
-
219
-
220
-
221
-
222
-
223
-
224
-
225
- <script>adsFilter();</script>
226
-
227
-
228
-
229
- <script>// <![CDATA[
230
-
231
- addEventListener("DOMContentLoaded", function() {
232
-
233
- var $target = $('.entry-content > h3,h4,h5');
234
-
235
- $target.eq(Math.floor($target.size() / 2)).before($('.insentence-adsense2'));
236
-
237
- }, false);
238
-
239
- // ]]></script>
240
-
241
- <div class="insentence-adsense2">
242
-
243
- <p style="text-align:center; font-size: 80%" >スポンサーリンク<br>
244
-
245
- <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
246
-
247
- <ins class="adsbygoogle"
248
-
249
- style="display:block; text-align:center;"
250
-
251
- data-ad-layout="in-article"
252
-
253
- data-ad-format="fluid"
254
-
255
- data-ad-client="ca-pub-2182608187039470"
256
-
257
- data-ad-slot="3928620735"></ins>
258
-
259
- <script>
260
-
261
- (adsbygoogle = window.adsbygoogle || []).push({});
262
-
263
- </script>
264
-
265
- </p>
266
-
267
- </div>
268
-
269
-
270
-
271
-
272
-
273
-
274
-
275
-
276
-
277
- <script>adsFilter();</script>
278
-
279
- <div id="my-footer">
280
-
281
- <p style="text-align:center;" >スポンサーリンク<br>
282
-
283
-
284
-
285
- <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
286
-
287
- <ins class="adsbygoogle"
288
-
289
- style="display:block; text-align:center;"
290
-
291
- data-ad-layout="in-article"
292
-
293
- data-ad-format="fluid"
294
-
295
- data-ad-client="ca-pub-2182608187039470"
296
-
297
- data-ad-slot="3928620735"></ins>
298
-
299
- <script>
300
-
301
- (adsbygoogle = window.adsbygoogle || []).push({});
302
-
303
- </script>
304
-
305
-
306
-
307
-
308
-
309
- </p>
310
-
311
- </div>
312
-
313
-
314
-
315
-
316
-
317
-
318
-
319
-
320
-
321
-
322
-
323
- <script>adsFilter();</script>
324
-
325
-
326
-
327
- <div id="my-footer">
328
-
329
- <p style="text-align:center;" >こんな記事もあります<br>
330
-
331
-
332
-
333
- <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
334
-
335
- <ins class="adsbygoogle"
336
-
337
- style="display:block"
338
-
339
- data-ad-format="autorelaxed"
340
-
341
- data-ad-client="ca-pub-2182608187039470"
342
-
343
- data-ad-slot="7435869211"
344
-
345
- data-matched-content-ui-type="image_card_stacked"
346
-
347
- data-matched-content-rows-num="3"
348
-
349
- data-matched-content-columns-num="3"
350
-
351
- ></ins>
352
-
353
- <script>
354
-
355
- (adsbygoogle = window.adsbygoogle || []).push({});
356
-
357
- </script>
358
-
359
- </p>
360
-
361
- </div>
362
-
363
-
364
-
365
-
366
-
367
-
368
-
369
-
370
-
371
- <div id="my-footer">
372
-
373
- <iframe src="https://blog.hatena.ne.jp/settuxan/settsuxan.hatenablog.com/subscribe/iframe" allowtransparency="true" frameborder="0" scrolling="no" width="150" height="28"></iframe>
374
-
375
- </div>
376
-
377
- <script>
378
-
379
- var myFooter=document.getElementById("my-footer");
380
-
381
- var temp=myFooter.cloneNode(true);
382
-
383
- myFooter.parentNode.removeChild(myFooter);
384
-
385
- document.getElementsByClassName("entry-content")[0].appendChild(temp);
386
-
387
- </script>
388
-
389
303
  ```
390
304
 
391
305
 

2

情報の追加

2019/12/24 12:03

投稿

settsuxan
settsuxan

スコア5

test CHANGED
File without changes
test CHANGED
@@ -99,3 +99,845 @@
99
99
  はてなブログのデザインは、minimalismです。
100
100
 
101
101
  なにか助言ありましたらお願いします。
102
+
103
+
104
+
105
+ 追記:ありがとうございます。
106
+
107
+ スマホ、タブレットでは問題ありませんが、PC上だと上記の異常が出ます。
108
+
109
+
110
+
111
+ 以下、読み込んでいるCSSです。
112
+
113
+
114
+
115
+
116
+
117
+ 記事下欄に、
118
+
119
+ ```
120
+
121
+ <script>
122
+
123
+ /*
124
+
125
+ * AdSense Filter v1.0.0
126
+
127
+ * Date: 2014-12-10
128
+
129
+ * Copyright (c) 2014 http://hapilaki.hateblo.jp/
130
+
131
+ * Released under the MIT license:
132
+
133
+ * http://opensource.org/licenses/mit-license.php
134
+
135
+ */
136
+
137
+ noAdsTag="広告不要"; //広告を設置しないタグを指定
138
+
139
+ var pageTags=document.getElementsByTagName("meta");
140
+
141
+ function adsFilter(){
142
+
143
+ for(var i=0;i<pageTags.length;i++){
144
+
145
+ if( ("article:tag"==pageTags[i].getAttribute("property")) && (noAdsTag == pageTags[i].getAttribute("content") ) ){
146
+
147
+ document.write('<!--');
148
+
149
+ break;
150
+
151
+ }
152
+
153
+ }
154
+
155
+ }
156
+
157
+ adsFilter();
158
+
159
+ </script>
160
+
161
+ <script>// <![CDATA[
162
+
163
+ addEventListener("DOMContentLoaded", function() {
164
+
165
+ var $target = $('.entry-content > h3');
166
+
167
+ $target.eq(0).before($('.insentence-adsense'));
168
+
169
+ }, false);
170
+
171
+ // ]]></script>
172
+
173
+ <div class="insentence-adsense">
174
+
175
+ <p style="text-align:center;" >スポンサーリンク<br>
176
+
177
+ <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
178
+
179
+ <ins class="adsbygoogle"
180
+
181
+ style="display:block; text-align:center;"
182
+
183
+ data-ad-layout="in-article"
184
+
185
+ data-ad-format="fluid"
186
+
187
+ data-ad-client="ca-pub-2182608187039470"
188
+
189
+ data-ad-slot="3928620735"></ins>
190
+
191
+ <script>
192
+
193
+ (adsbygoogle = window.adsbygoogle || []).push({});
194
+
195
+ </script>
196
+
197
+ <p> </p>
198
+
199
+ </div>
200
+
201
+
202
+
203
+
204
+
205
+
206
+
207
+
208
+
209
+
210
+
211
+
212
+
213
+
214
+
215
+
216
+
217
+
218
+
219
+
220
+
221
+
222
+
223
+
224
+
225
+ <script>adsFilter();</script>
226
+
227
+
228
+
229
+ <script>// <![CDATA[
230
+
231
+ addEventListener("DOMContentLoaded", function() {
232
+
233
+ var $target = $('.entry-content > h3,h4,h5');
234
+
235
+ $target.eq(Math.floor($target.size() / 2)).before($('.insentence-adsense2'));
236
+
237
+ }, false);
238
+
239
+ // ]]></script>
240
+
241
+ <div class="insentence-adsense2">
242
+
243
+ <p style="text-align:center; font-size: 80%" >スポンサーリンク<br>
244
+
245
+ <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
246
+
247
+ <ins class="adsbygoogle"
248
+
249
+ style="display:block; text-align:center;"
250
+
251
+ data-ad-layout="in-article"
252
+
253
+ data-ad-format="fluid"
254
+
255
+ data-ad-client="ca-pub-2182608187039470"
256
+
257
+ data-ad-slot="3928620735"></ins>
258
+
259
+ <script>
260
+
261
+ (adsbygoogle = window.adsbygoogle || []).push({});
262
+
263
+ </script>
264
+
265
+ </p>
266
+
267
+ </div>
268
+
269
+
270
+
271
+
272
+
273
+
274
+
275
+
276
+
277
+ <script>adsFilter();</script>
278
+
279
+ <div id="my-footer">
280
+
281
+ <p style="text-align:center;" >スポンサーリンク<br>
282
+
283
+
284
+
285
+ <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
286
+
287
+ <ins class="adsbygoogle"
288
+
289
+ style="display:block; text-align:center;"
290
+
291
+ data-ad-layout="in-article"
292
+
293
+ data-ad-format="fluid"
294
+
295
+ data-ad-client="ca-pub-2182608187039470"
296
+
297
+ data-ad-slot="3928620735"></ins>
298
+
299
+ <script>
300
+
301
+ (adsbygoogle = window.adsbygoogle || []).push({});
302
+
303
+ </script>
304
+
305
+
306
+
307
+
308
+
309
+ </p>
310
+
311
+ </div>
312
+
313
+
314
+
315
+
316
+
317
+
318
+
319
+
320
+
321
+
322
+
323
+ <script>adsFilter();</script>
324
+
325
+
326
+
327
+ <div id="my-footer">
328
+
329
+ <p style="text-align:center;" >こんな記事もあります<br>
330
+
331
+
332
+
333
+ <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
334
+
335
+ <ins class="adsbygoogle"
336
+
337
+ style="display:block"
338
+
339
+ data-ad-format="autorelaxed"
340
+
341
+ data-ad-client="ca-pub-2182608187039470"
342
+
343
+ data-ad-slot="7435869211"
344
+
345
+ data-matched-content-ui-type="image_card_stacked"
346
+
347
+ data-matched-content-rows-num="3"
348
+
349
+ data-matched-content-columns-num="3"
350
+
351
+ ></ins>
352
+
353
+ <script>
354
+
355
+ (adsbygoogle = window.adsbygoogle || []).push({});
356
+
357
+ </script>
358
+
359
+ </p>
360
+
361
+ </div>
362
+
363
+
364
+
365
+
366
+
367
+
368
+
369
+
370
+
371
+ <div id="my-footer">
372
+
373
+ <iframe src="https://blog.hatena.ne.jp/settuxan/settsuxan.hatenablog.com/subscribe/iframe" allowtransparency="true" frameborder="0" scrolling="no" width="150" height="28"></iframe>
374
+
375
+ </div>
376
+
377
+ <script>
378
+
379
+ var myFooter=document.getElementById("my-footer");
380
+
381
+ var temp=myFooter.cloneNode(true);
382
+
383
+ myFooter.parentNode.removeChild(myFooter);
384
+
385
+ document.getElementsByClassName("entry-content")[0].appendChild(temp);
386
+
387
+ </script>
388
+
389
+ ```
390
+
391
+
392
+
393
+ CSS欄に、
394
+
395
+ ```
396
+
397
+ /* <system section="theme" selected="8599973812270629022"> */
398
+
399
+ @import url("https://blog.hatena.ne.jp/-/theme/8599973812270629022.css");
400
+
401
+ /* </system> */
402
+
403
+
404
+
405
+ /* <system section="background" selected="ebe9e3"> */
406
+
407
+ body{background:#ebe9e3;}
408
+
409
+ /* </system> */
410
+
411
+
412
+
413
+
414
+
415
+
416
+
417
+
418
+
419
+
420
+
421
+
422
+
423
+ .entry-content h3 {
424
+
425
+ padding: 4px 10px;
426
+
427
+ color: #111;
428
+
429
+ background-color: #f0f0f0;
430
+
431
+ border-left: 8px solid #2d70a4;
432
+
433
+ }
434
+
435
+
436
+
437
+
438
+
439
+
440
+
441
+
442
+
443
+ .entry-content h4 {
444
+
445
+ position: relative;
446
+
447
+ color: #fff;
448
+
449
+ padding: 8px 12px;
450
+
451
+ background-color: #129b98;
452
+
453
+ border-radius: 6px;
454
+
455
+ }
456
+
457
+ .entry-content h3::before{
458
+
459
+ position: absolute;
460
+
461
+ top: 100%;
462
+
463
+ left: 32px;
464
+
465
+ width: 0;
466
+
467
+ height: 0;
468
+
469
+ border-width: 10px;
470
+
471
+ border-style: solid;
472
+
473
+ border-color: transparent;
474
+
475
+ border-top-color: #129b98;
476
+
477
+ content: '';
478
+
479
+ }
480
+
481
+
482
+
483
+
484
+
485
+
486
+
487
+
488
+
489
+ .entry-content p {font-size: 16px;}
490
+
491
+
492
+
493
+
494
+
495
+ @media screen and (max-width: 480px){.entry-content p {font-size: 16px;}}
496
+
497
+
498
+
499
+
500
+
501
+
502
+
503
+
504
+
505
+
506
+
507
+
508
+
509
+ .box16{
510
+
511
+ padding: 0.5em 1em;
512
+
513
+ margin: 2em 0;
514
+
515
+ background: -webkit-repeating-linear-gradient(-45deg, #f0f8ff, #f0f8ff 3px,#e9f4ff 3px, #e9f4ff 7px);
516
+
517
+ background: repeating-linear-gradient(-45deg, #f0f8ff, #f0f8ff 3px,#e9f4ff 3px, #e9f4ff 7px);
518
+
519
+ }
520
+
521
+ .box16 p {
522
+
523
+ margin: 0;
524
+
525
+ padding: 0;
526
+
527
+ }
528
+
529
+
530
+
531
+
532
+
533
+
534
+
535
+
536
+
537
+ /* 文字の大きさ */
538
+
539
+ .entry-content {
540
+
541
+ font-size:17px;
542
+
543
+ line-height:1.7;
544
+
545
+ }
546
+
547
+
548
+
549
+
550
+
551
+
552
+
553
+
554
+
555
+
556
+
557
+ /*コピーライト*/
558
+
559
+ #copyright {
560
+
561
+ padding: 20px;
562
+
563
+ text-align: center;
564
+
565
+ background: #e6e6fa;/*背景色*/
566
+
567
+ font-size: 14px;
568
+
569
+ color:#000000 ;/*文字の色*/
570
+
571
+ }
572
+
573
+
574
+
575
+
576
+
577
+
578
+
579
+
580
+
581
+
582
+
583
+ /* もくじカスタマイズ */
584
+
585
+ .entry-content .table-of-contents{
586
+
587
+ background-color: #F5F5F5;/* 背景色 */
588
+
589
+ border: 1px solid #ccc; /* 線の太さ・種類・色 */
590
+
591
+ box-shadow:1px 1px 6px 0px #ccc;
592
+
593
+ -moz-box-shadow:1px 1px 6px 0px #ccc;
594
+
595
+ -webkit-box-shadow:1px 1px 6px 0px #ccc;
596
+
597
+ -o-box-shadow:1px 1px 6px 0px #ccc;
598
+
599
+ margin: 20px 5px; /* 外側の余白 上下・左右 */
600
+
601
+ padding: 20px 25px 15px 45px;
602
+
603
+ position: relative;
604
+
605
+ z-index: 0;
606
+
607
+ }
608
+
609
+ .entry-content .table-of-contents:after{
610
+
611
+ background-color: #66CCFF; /* マステ背景色 */
612
+
613
+ background-image: radial-gradient(#fff 20%, transparent 0), radial-gradient(#fff 20%, transparent 0); /* 水玉の色 */
614
+
615
+ background-position: 0 0, 8px 8px; /* 水玉の距離 */
616
+
617
+ background-size: 15px 15px; /* 水玉の大きさ */
618
+
619
+ border-left: 2px dotted rgba(0,0,0,0.1);
620
+
621
+ border-right: 2px dotted rgba(0,0,0,0.1);
622
+
623
+ box-shadow: 0 0 5px rgba(0,0,0,0.2);
624
+
625
+ content: 'もくじ';
626
+
627
+ display: block;
628
+
629
+ margin: 0 0 10px 0;
630
+
631
+ padding: 5px 20px;
632
+
633
+ color: #363947; /* マステ部分文字色 */
634
+
635
+ font-weight: bold;
636
+
637
+ text-align: center;
638
+
639
+ position: absolute;
640
+
641
+ top: -10px;
642
+
643
+ left: 20px;
644
+
645
+ transform: rotate(-3deg);
646
+
647
+ -moz-transform: rotate(-3deg);
648
+
649
+ -webkit-transform: rotate(-3deg);
650
+
651
+ -o-transform: rotate(-3deg);
652
+
653
+ }
654
+
655
+ .entry-content .table-of-contents li a {
656
+
657
+ text-decoration: none;
658
+
659
+ color:#555;/* 文字色 */
660
+
661
+ font-size:14px;
662
+
663
+ font-weight: bold;
664
+
665
+ }
666
+
667
+ .entry-content .table-of-contents li {
668
+
669
+ list-style-type: decimal;/* 番号振り */
670
+
671
+ margin-left: 0;
672
+
673
+ }
674
+
675
+ .entry-content .table-of-contents>li:first-child {
676
+
677
+ padding-top: 15px;
678
+
679
+ }
680
+
681
+ .entry-content .table-of-contents ul>li:last-child {
682
+
683
+ padding-bottom: 10px;
684
+
685
+ }
686
+
687
+
688
+
689
+
690
+
691
+ .entry-content p,
692
+
693
+ .entry-content div{
694
+
695
+ margin: 0;
696
+
697
+ }
698
+
699
+
700
+
701
+
702
+
703
+
704
+
705
+
706
+
707
+
708
+
709
+ .entry-content p,
710
+
711
+ .entry-content div{
712
+
713
+ margin-bottom: 10px;
714
+
715
+ }
716
+
717
+
718
+
719
+
720
+
721
+
722
+
723
+
724
+
725
+
726
+
727
+
728
+
729
+
730
+
731
+
732
+
733
+
734
+
735
+ /* 2016-05-05*/
736
+
737
+ <!-- メニューバー -->
738
+
739
+ #menubar{
740
+
741
+ width:100%;
742
+
743
+ }
744
+
745
+
746
+
747
+ #menubar ul{
748
+
749
+ display:table;
750
+
751
+ width:100%;
752
+
753
+ margin: 20;
754
+
755
+ padding: 0;
756
+
757
+ background-color: #FFFFFF; }
758
+
759
+ #menubar li{
760
+
761
+ display: table-cell;
762
+
763
+ width:20%;
764
+
765
+ padding:0;
766
+
767
+ background-color: #f7be16; }
768
+
769
+ #menubar li a{
770
+
771
+ display: block;
772
+
773
+ margin:0 auto;
774
+
775
+ padding:5px;
776
+
777
+ border: 1px solid #FFFFFF;
778
+
779
+ text-decoration: none;
780
+
781
+ color: #FFFFFF;
782
+
783
+ text-align: center;
784
+
785
+ font-size: 18px; }
786
+
787
+ #menubar li a:hover{
788
+
789
+ background-color: #ec9b3b; }
790
+
791
+
792
+
793
+
794
+
795
+
796
+
797
+
798
+
799
+ /*トップページコメント非表示*/
800
+
801
+ .page-index .comment-box {
802
+
803
+ display: none;
804
+
805
+ }
806
+
807
+
808
+
809
+
810
+
811
+
812
+
813
+
814
+
815
+ /*トップページはてなスター非表示*/
816
+
817
+ .page-index .hatena-star-add-button {
818
+
819
+ display: none;
820
+
821
+ }
822
+
823
+ .page-index .hatena-star-user {
824
+
825
+ display: none;
826
+
827
+ }
828
+
829
+ .page-index .hatena-star-star {
830
+
831
+ display: none;
832
+
833
+ }
834
+
835
+ .page-index .hatena-star-inner-count {
836
+
837
+ display: none;
838
+
839
+ }
840
+
841
+ .page-index .hatena-star-star-container {
842
+
843
+ display: none;
844
+
845
+ }
846
+
847
+
848
+
849
+
850
+
851
+
852
+
853
+
854
+
855
+
856
+
857
+
858
+
859
+
860
+
861
+ /* タイトル画像を横いっぱいにのばす */
862
+
863
+ #blog-title-inner{
864
+
865
+ overflow-x: hidden;
866
+
867
+ width: 100%; /* 幅100%に */
868
+
869
+ background-size: cover;
870
+
871
+ margin: 0 auto;
872
+
873
+ padding: 0;
874
+
875
+ top: 0;
876
+
877
+ }
878
+
879
+
880
+
881
+
882
+
883
+
884
+
885
+
886
+
887
+
888
+
889
+ /* タイトル画像とグローバルヘッダの間の余白を消す */
890
+
891
+ #blog-title{
892
+
893
+ height:135px;
894
+
895
+ }
896
+
897
+ /* ブログ説明文を上にずらす */
898
+
899
+ .header-image-enable #blog-description {
900
+
901
+ margin-top: -30px;
902
+
903
+ }
904
+
905
+ /*タブレット*/
906
+
907
+ @media screen and (max-width: 968px){
908
+
909
+ /* タイトル画像とグローバルヘッダの間の余白を消す */
910
+
911
+ #blog-title{
912
+
913
+ height:170px;
914
+
915
+ }
916
+
917
+ }
918
+
919
+
920
+
921
+
922
+
923
+
924
+
925
+
926
+
927
+ /* ヘッダー画像スマホ対応 */
928
+
929
+ @media screen and (max-width:480px) {
930
+
931
+ .header-image-enable #blog-title #blog-title-inner, .header-image-only #blog-title #blog-title-inner {
932
+
933
+ padding: 10px 0;
934
+
935
+ }
936
+
937
+ }
938
+
939
+ ```
940
+
941
+
942
+
943
+ を入れています。

1

タイトル

2019/12/24 11:57

投稿

settsuxan
settsuxan

スコア5

test CHANGED
@@ -1 +1 @@
1
- はてなブログのフォーマットが崩れた。
1
+ 特定記事で広告が非表示にるコードを入れたらブログのフォーマットが崩れた。解決法求む。
test CHANGED
File without changes