Skip to content

ダイヤモンド・オンライン 記事印刷 by Katsu2013

Details

AuthorKatsu2013

LicenseNo License

Categorydiamond

Created

Updated

Code size1.1 kB

Code checksumf2e3b4f6

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

ダイヤモンド・オンライン 記事印刷

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name       ダイヤモンド・オンライン 記事印刷
@version    20250324.05.44
@namespace  ?
==/UserStyle== */

@-moz-document url-prefix("https://diamond.jp/articles/") {
@media print {
  /* ヘッダー非表示 */
  #site-header {
      display: none;
  }

  /* サイドバー 非表示 */
  #sub-column {
      display: none;
  }

  /* フッター非表示 */
  #site-footer {
      display: none;
  }

  /* 広告スペース */
  .gpt-ad-pcheader,
  .gpt-ad {
    display: none;
  }


  #wrapper {
    min-width: unset;
    padding-top: unset;
  }
  
  #main-column {
    width: unset;
    margin-right: unset;
  }
  
  #contents {
    width: unset;
    margin: unset;
    padding: unset;
  }
  
  .share-article {
    display: none;
  }
  
  
  /* 関連記事 */
  aside.article-related-article {
    display: none;
  }
  
  /* 特集 */
  section.main-feature {
    display: none;
  }

  [data-lookup="contents-block"] {
    break-inside: avoid;
  }
  
  .article-body hr {
    break-before: always;
    opacity: 0;
  }
}

}

Reviews

No reviews yet.