Skip to content

Instantly share code, notes, and snippets.

atenami

Block or report user

Report or block atenami

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View はてなブログ注目記事非表示
<style>
.hatena-module-entries-access-ranking{display:none}
</style>
View スマホ用ID非表示
<style>
.hatena-module-title{display:none;}
.profile-wrapper{display:none;}
.user-name-nickname{display:none;}
.user-name-hatena-id{display:none;}
.user-name-paren{display:none;}
.footer-action-wrapper{display:none;}
View PC版ID非表示
span.author.vcard{
display:none;
}
View 会話の吹き出し(CSS)
.entry-content .person-right,
.entry-content .person-left{
padding-top: 15px;
padding-bottom: 15px;
min-height: 100px;
}
.entry-content .person-right img,
.entry-content .person-left img{
background-color: #333;
border: 1px solid #555;
View 会話の吹き出し(文中HTML)
<div class="person-right">
<img src="画像URL">
<p>会話の内容</p>
</div>
<div class="person-left">
<img src="画像URL">
<p>会話の内容</p>
</div>
View スマホ・グローバルナビ
<!-- グローバルメニュー -->
<div id="mobile_menu">
<span class="category"><a href="URLを記入">名前1</a></span>
|
<span class="category"><a href="URLを記入">名前2</a></span>
|
<span class="category"><a href="URLを記入">名前3</a></span>
|
View 文字の種類・間隔・大きさ
body {
font-family: "Avenir Next", "century gothic", "Helvetica Neue", Helvetica, Arial,
"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
}
.entry-content {
line-height : 1.7 ;
font-size: 16px;
letter-spacing:1;
}
View スマホの目次カスタマイズ
<style type="text/css">
.table-of-contents {
position: relative;
background-color: #ECEEF1;
padding: 40px 10px 10px 35px !important;
border-radius: 6px;
font-size: 14px;
line-height: 28px;
}
View PCの目次カスタマイズ
ul.table-of-contents {
background: #ffe4e1; /* 背景色の指定 */
padding: 10px 10px 10px 25px;
}
ul.table-of-contents:before {
content: “もくじ”; /* 目次リストの直前に表示する文字列 */
font-size: 1.4rem;
display: block;
You can’t perform that action at this time.