tpex_ovon's blog

Web屋の人。はてブトップのユーザースタイルシートの記事しか書いてない。

Firefox版stylish対応のはてブユーザースタイルシート

今までchrome版でしか見てなかったけど、Firefox用に変換してみてみるとうまく適用されてなかったから修正した。
Firefoxのユーザースタイルシートは優先順位が低いみたい。

@-moz-document url-prefix("http://b.hatena.ne.jp/") {
/*お好みで*/
body{background-color:#F0F0F0 !important;}
.box3_2,.box1_1,ul#navi-category{background-color: white !important;}

/*リンクカラー*/
div.entry-contents h3 a{color: #0056BD !important;}
div.entry-contents h3 a:visited{color: #838 !important;}


/*いらないブロック消す*/
ul.entry-list-xl div.entry-contents blockquote,
ul.entry-list-xl li.entry-unit ul.entry-comment,
ul.entry-list-l div.entry-contents blockquote,
ul.entry-list-l li.entry-unit ul.entry-comment,
div.entry-contents blockquote,
li.entry-unit .follow.hb-favorites-appended,
a.thumbnail{display: none !important;}

/*復活*/
ul.entry-list-xl ul.entry-data{display:block !important;}

/*ボックスボーダー*/

.box1_2,
.box3_2,
.box1_1{width: 100% !important;border: 1px solid #CCC !important;border-radius:4px !important;}

/*背景画像ボーダー消す*/
div.box-wrap.box2.mix,ul.entry-vertical-4,ul.entry-vertical-3,div.box1_1 li.more-entry{background-image: none !important;}

h2 {margin:0!important;padding: 5px 0 5px 5px!important;display:block!important;border-radius: 3px 3px 0 0 !important;}
.box1_1 h2,.box3_1 h2{background-color: #2C6EBD !important;}

/*右サイドバー*/
.box3_1{width: 100% !important;margin:0px !important;}
.entry-vertical-3,
.entry-list-m{border: 1px solid #CCC !important;border-radius:0 0 4px 4px !important; border-top:none !important;background-color: white !important;}
div.box3_1 h2{margin:15px 0 0 0 !important;}
div.box-wrap.box3.mix{margin-top:0 !important;}
div.box3_1 ul.entry-list-m li.entry-list{min-height:auto !important;position: relative !important;border-bottom:1px solid #ccc !important;}
div.box3_1 ul.entry-list-m li.entry-list:last-child{border-bottom:none !important;}
div.box3_1 li.entry-list div.entry-contents h3 {float: none !important;font-size: 16px !important;}
div.box3_1 li.entry-list div.entry-contents {border-top:none !important;}
div.box3_1 li.entry-list ul.users strong span, div.box3_1 li.entry-list ul.users span {display:inline !important;font-size:12px !important;font-weight:normal !important;}
ul.entry-list-m li.category {display:block !important;}
ul.entry-list-m li.entry-list ul.entry-data li.category a {color: #FFFFFF !important;font-size: 10p !importantx;line-height: 18px !important;padding: 0 7px !important;display: block !important;font-weight: normal !important;}

/*エントリーリスト*/
ul.entry-data,ul.entry-data li{margin:0 0 0 0 !important;}
ul.entry-data li.date{line-height:1!important;}
.entry-contents h3{margin:0 !important; clear:none !important;line-height:1 !important;}
.hb-entry-link-container{ padding-right:170px !important;}
.entry-vertical-3{border:none !important;background:none !important;}

 /*特殊*/
 ul[data-track-event-name^="toppage.section.osusume_entry.click_link"],
 ul[data-track-event-name^="toppage.section.articles.click_link"]{border: 1px solid #CCC !important;background-color:white !important;}

li.entry-unit{ width:100% !important; border-bottom:1px solid #ccc !important; overflow:hidden !important; position:relative !important;}
li.entry-unit:last-child{border-bottom:none !important;}
li.entry-unit ul.users {border-bottom:none !important;}
ul.entry-list-xl,
ul.entry-list-l,
li.entry-unit{margin:0 !important;}
li.entry-unit, li.entry-list {clear:both; padding:0 !important;}
ul.entry-list-xl{border-bottom:1px solid #ccc !important;}


ul.entry-meta{position: absolute;top: 5px !important;right: 5px !important;padding:0 !important;border-bottom:none !important;}
ul.entry-meta li.tag {display: none !important;}
ul.entry-meta li.domain {margin: 0px 0px 3px 0 !important;}

a.video span.play{display:none !important;}

/*カテゴリー・日付*/
ul.entry-data{padding:4px 0 0 0 !important;}
ul.entry-data li.category a,
ul.entry-vertical-4 ul.entry-data li.category a{margin-right: 5px !important;}

/*レイアウト*/
div.entry-contents{float:left !important; width:89% !important;margin:0 !important;padding:5px 0 !important;border-bottom:none !important;}


/*xxx user*/
ul.users{border:none !important;height: auto !important;float: left !important;font-size:9px !important; margin: 5px !important;border-bottom: none !important;width: 80px !important;text-align: center !important;padding:0!important;}
ul.users li{font-weight:bold !important;}
ul.users li a {padding-left: 0 !important;color:#FF0707 !important;background-color: #FFCBCB;border-bottom: 1px solid #FF0707;}
ul.users strong span,
ul.users em span{font-size:12px !important;font-weight:bold !important;letter-spacing:0px !important;margin-right:0px !important;}

div.shim-elem-for-height{ height:30px !important;}

/*もっと読む*/
li.more-entry a {color: #383838 !important;}

}