Skip to content

Instantly share code, notes, and snippets.

@nkmrgk
Created March 22, 2013 06:08
Show Gist options
  • Save nkmrgk/5219321 to your computer and use it in GitHub Desktop.
Save nkmrgk/5219321 to your computer and use it in GitHub Desktop.
User style css for Hatena bookmark entry page.
@-moz-document url-prefix("http://b.hatena.ne.jp/entry/"), url-prefix("http://b.hatena.ne.jp/entry?eid=") {
/* Quoted from http://tpex.hateblo.jp/entry/b-hatena-user-css */
/*タグ*/
.tags a.user-tag,
ul.entry-data li.tag a,
ul.entry-meta li.tag a { background: none !important; float: none !important; color: green !important; margin: 0!important; padding: 0 6px 0 0 !important; font-size: 100% !important; }
.tags a.user-tag:before,
ul.entry-data li.tag a:before,
ul.entry-meta li.tag a:before,
.tags a.user-tag:after,
ul.entry-data li.tag a:after,
ul.entry-meta li.tag a:after { display: none !important; }
ul.entry-page-unit ul.entry-data li.tag::before { content: "タグ:"; }
/*カテゴリータイトルを青に*/
.box1_1 h2,
.box3_1 h2,
.box3_2 h2 { margin: 0!important; padding: 5px 0 5px 5px!important; display: block!important; border-radius: 3px 3px 0 0 !important; background-color: #2C6EBD !important; line-height: 1 !important; }
/*ブコメ*/
#bookmarks { background: none !important; margin: 0 !important; }
#bookmarks h4 { background: none !important; }
#bookmarks .bookmark-list { padding: 0 !important; }
#bookmarks .bookmark-list li { margin: 0 !important; width : auto !important; }
#bookmarks .bookmark-list .header { width: auto !important; margin: 0 5px 0 0 !important; }
#bookmarks .comment-container { border: none !important; background: none !important; line-height: 1 !important; padding: 0 !important; margin: 0 !important; display: inline !important; float: none !important; }
#bookmarks .bookmark-list a.username,
.add-bookmark-container a.username { color: #427DC4 !important; font-size: 100% !important; }
#bookmarks .comment-container:before,
#bookmarks .comment-container:after { display: none !important; }
#bookmarks .tags { padding-left: 0 !important; background-image:none !important;}
/* Added by nkmrgk */
/*ブコメ*/
body.entry #bookmarks .comment-container {
font-size: 1em !important;
color: black;
font-weight: bold;
}
/*ブコメヘッダ*/
body.entry #bookmarks .bookmark-list .header {
font-size: 1em !important;
}
/*ブコメid*/
#bookmarks .bookmark-list a.username {
color: #0026DE !important;
}
/*ブコメ背景*/
.bookmark-list li {
background-color: #F3F3FF !important;
}
/*最終更新*/
#entry-paragraph-label {
margin-top: 3em;
}
/*GoogleAD*/
/*.google_afc_blocklink {display: none !important;}*/
/*右上テキストAD*/
/*.ad-head-text {display: none !important;}*/
/*関連商品AD*/
/*div.box1_1 {display: none !important;}*/
/*右サイドAD*/
/*.entry-unit.ad-unit, .entry-list.ad-unit {display: none !important;}*/
/*ログイン時コメント入力、ログアウト時は新規ガイド*/
/*.add-bookmark-container { display: none !important; }*/
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment