Skip to content

TechTargetジャパン 印刷/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

TechTargetジャパン 記事の 印刷/PDFページ のスタイルを、記事と同様の見た目に変更

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         TechTargetジャパン 印刷/PDFページを記事ページ同様のスタイルに
@version      20250212.07.55
@namespace    ?
@description  TechTargetジャパン 記事の 印刷/PDFページ のスタイルを、記事と同様の見た目に変更
==/UserStyle== */

@-moz-document url-prefix("https://ids.itmedia.co.jp/print/tt/") {
h3:before {
    content: "";
    position: absolute;
    background: #0D9F94;
    width: 5px;
    height: 26px;
    left: 0;
    top: 0;
}

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

.box {
    border: 3px solid #666;
    border-radius: 2px;
    margin-bottom: 20px;
    padding: 8px;
}
.box#blue {
    border-color: rgba(38, 112, 149, 1);
    background: rgba(38, 112, 149, 0.1);
}
.box#blue 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#blue h3:before {
    content: none;
}
.box#blue 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: #317F7A;
    text-decoration: none;
}

.cmsBodyBox {
    margin-bottom: 20px;
}

.cmsBodyBoxInner {
    border: 3px solid #666;
    border-radius: 2px;
    padding: 8px;
}
.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 ;
}
.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;
}


h1 {
    font-size: 34px;
    line-height: 42px;
    font-weight: normal;
    color: #036;
}

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

h2 {
    margin: 0 0 5px;
    font-size: 14px;
    line-height: 22px;
    color: #333;
    font-weight: bold;
}

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: '≫';
    color: #F60;
    font-weight: bold;
    margin-right: .4em;
}

#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;
}
}

Reviews

No reviews yet.