Skip to content

ITmediaビジネス 印刷/PDFページを記事ページ同様のスタイルに by Katsu2013

Details

AuthorKatsu2013

LicenseMIT

Categoryitmedia

Created

Updated

Size4.2 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

ITmediaビジネス 記事の 印刷/PDFページ のスタイルを、記事と同様の見た目に変更

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         ITmediaビジネス 印刷/PDFページを記事ページ同様のスタイルに
@version      20250227.00.28
@namespace    https://userstyles.world/user/Katsu2013
@description  ITmediaビジネス 記事の 印刷/PDFページ のスタイルを、記事と同様の見た目に変更
@author       Katsu2013
@license      MIT
==/UserStyle== */

@-moz-document url-prefix("https://ids.itmedia.co.jp/print/business/") {
body {
  color: #333;
}

h3 {
  clear: both;
  margin: 0 0 20px;
  padding: 5px 0 3px;
  font-size: 18px;
  line-height: 26px;
  border-bottom: 2px solid #CCC;
  position: relative;
}

.box {
  border: 3px solid #666;
  border-radius: 2px;
  margin-bottom: 20px;
  padding: 8px;
}
.box#green {
  border-color: #649526;
  background: #F4F6F1;
}
.box#green h3 {
  padding: 0;
  font-size: 14px;
  line-height: 20px;
  margin: 0 0 10px;
  border-bottom: 3px solid #CCC;
  border-color: rgba(38, 112, 149, 0.5);
}
.box#green h3:before {
  content: none;
}
.box#green br {
  display: none;
}

h4 {
  font-size: 12px;
  line-height: 18px;
  margin: 0 0 10px;
  border-bottom: 1px solid #CCC;
}

ul,
ol {
  margin: 0 0 20px 20px;
  padding-left: 0;
}

li {
  position: relative;
  left: 18px;
  font-size: 16px;
  line-height: 26px;
  margin: 0 18px 6px 0;
}

.box ul li,
.box ol li {
  font-size: 14px;
  line-height: 20px;
  margin: 0 0 10px;
}

a {
  color: #036;
  /* text-decoration: none; */
}

.cmsBodyBox {
  margin-bottom: 20px;
}

.cmsBodyBoxInner {
  border: 3px solid #666;
  border-radius: 2px;
  padding: 5px;

  border-color: #267095;
  background: #F1F4F6;
}
.cmsBodyBoxInner h3:not(.format--subheading),
.cmsBodyBoxInner h3 {
  font-size: 14px;
  line-height: 20px;
  margin: 0 0 10px;
}
.cmsBodyBoxInner p {
  font-size: 12px;
  line-height: 18px;
  margin: 0 0 5px;
}
.cmsBodyBoxGreen .cmsBodyBoxInner {
  border-color: rgba(100, 149, 38, 1);
  background: rgba(100, 149, 38, 0.1);
}
.cmsBodyBoxGreen .cmsBodyBoxInner h3 {
  border-color: rgba(100, 149, 38, 0.5);
  padding-left: 0;
}
.cmsBodyBoxGreen .cmsBodyBoxInner h3:before {
  content: none;
}
.cmsFontsize2 {
  font-size: 150%;
}


.box#blue {
  border-color: #267095;
  background: #F1F4F6;
}
.box#blue h3 {
  background-color: #039;
}
.box h3 {
  color: #FFF;
  font-size: 12px;
  line-height: 18px;
  margin: 0 0 5px;
  padding: 3px;
  background: none;
  border: none;
}

h1 {
  font-size: 24px;
  line-height: 32px;
  font-weight: bold;
  overflow-wrap: break-word;
  color: #333;
}

h1 small {
  margin-bottom: 4px;
  font-size: 14px;
  line-height: 20px;
  font-weight: bold;
  font-style: inherit;
  color: #BD372F;
}

h2 {
  margin: 0 0 5px;
  font-weight: normal;
  font-size: 13px;
  line-height: 20px;
  color: #555;
}

h5 {
  font-size: 10px;
  line-height: 16px;
  text-align: right;
  color: #666;
  position: relative;
  font-weight: normal;
  float: left;
  margin-bottom: -2em;
}

h5:before {
  content: '';
  background: url(https://image.itmedia.co.jp/images/update.png) no-repeat left center;
  background-size: 11px 11px;
  padding: 1px 0 0 15px;
}

#byline {
  margin: 0 0 20px;
  font-size: 12px;
  text-align: right;
  color: #333;
}

.endkwd .box {
  background: none;
  border: none;
  margin: 0 0 10px;
  padding: 0;
}

.endkwd .box h3 {
  border-bottom: 1px solid #CCC;
  margin: 0 0 5px;
  padding: 0 0 5px;
  font-size: 12px;
  line-height: 18px;
  color: #666;
}
.endkwd .box h3:before {
  content: none;
}

.endkwd .box h4 {
  border: none;
  margin: 0;
  color: #FFF;
  font-weight: normal;
}

.endkwd .box h4 a {
  background: url(https://image.itmedia.co.jp/images/ulli_key1.gif) no-repeat left center;
  padding: 0 0 0 18px;
  font-weight: bold;
}

#id p {
  font-size: small;
}

div#url p a {
  font-size: small;
}

table#tbl thead th {
  background: #666;
  color: #FFF;
}
table#tbl tfoot td {
  background: transparent;
  border: none;
}

#col400r {
  margin: 0 0 5px 10px;
}
#col600,
#col600c {
  margin-left: auto;
  margin-right: auto;
}

#col200l {
  float: left;
  margin: 0 10px 5px 0;
  width: unset;
}
#col200l img {
  margin: 0 3px 3px 0;
}

#col200l img,
#col400r img,
#col600 img,
#col600c img {
  border: 1px solid #CCC;
}
}

Reviews

No reviews yet.