ITmediaAI+ 記事の 印刷/PDFページ のスタイルを、記事と同様の見た目に変更
ITmediaAI+ 印刷/PDFページを記事ページ同様のスタイルに by Katsu2013
Details
AuthorKatsu2013
LicenseMIT
Categoryitmedia
Created
Updated
Size3.8 kB
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Userstyle doesn't have notes.Source code
/* ==UserStyle==
@name ITmediaAI+ 印刷/PDFページを記事ページ同様のスタイルに
@version 20250221.02.19
@namespace itmedia
@description ITmediaAI+ 記事の 印刷/PDFページ のスタイルを、記事と同様の見た目に変更
@author Katsu2013
@license MIT
==/UserStyle== */
@-moz-document url-prefix("https://ids.itmedia.co.jp/print/aiplus/") {
body {
color: #333;
}
h3 {
clear: both;
margin: 0 0 20px;
padding: 5px 0 3px;
font-size: 18px;
line-height: 26px;
position: relative;
border-left: 4px solid #9C9C9C;
border-bottom: 1px solid #D2D2D2;
padding-left: 7px;
}
.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;
}
.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 {
}
.cmsBodyBoxGreen .cmsBodyBoxInner h3 {
border-color: rgba(100, 149, 38, 0.5);
padding-left: 0;
}
.cmsBodyBoxGreen .cmsBodyBoxInner h3:before {
content: none;
}
.cmsFontsize2 {
font-size: 150%;
}
h1 {
font-size: 24px;
line-height: 32px;
font-weight: bold;
overflow-wrap: break-word;
color: #036;
}
/* title__subtitle */
h1 small {
margin-bottom: 4px;
font-size: 14px;
line-height: 20px;
font-weight: bold;
font-style: inherit;
color: #747474;
}
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;
}
#col500c,
#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;
border: 1px solid #CCC;
}
}