This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ;(function($){ | |
| $.support.touch = 'ontouchend' in document; | |
| if (!$.support.touch) { | |
| return; | |
| } | |
| var eventMap = { | |
| click: 'touchend', | |
| mousedown: 'touchstart', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .item { | |
| margin-bottom: 20px; | |
| padding: 10px; | |
| font-size: 0; | |
| border: 1px solid #efefef; | |
| } | |
| .item .pic , | |
| .item .content { | |
| display: table-cell; | |
| *display: inline; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @import url(http://img3.douban.com/css/core/packed__init_1507990223.css); | |
| body { padding:20px; } | |
| .sample-1 { color:#396; } | |
| /*-----------------------------------*/ | |
| .loading i { | |
| position: relative; | |
| margin-right: 2px; | |
| line-height: .5ex; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* 通用按钮样式 */ | |
| /* reset */ | |
| .bn-small, | |
| a.bn-cta, | |
| .bn-cta input, | |
| .bn-flat input { margin:0;border:none;background:transparent;cursor:pointer;-webkit-appearance: none; } | |
| .lnk-flat, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name RepeatFM | |
| // @namespace org.kejun | |
| // @description FM单曲循环(纯属个人瞎玩, 要求Firefox4+) | |
| // @include http://douban.fm, http://douban.fm/* | |
| // ==/UserScript== | |
| var isRepeat = localStorage.getItem('is_repeat_fm')|0; | |
| function importCSS(str) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @import url(http://img3.douban.com/css/packed_douban4234332340.css); | |
| /* 通知框 */ | |
| .notification-popup { position:absolute;width:290px;top:100px;left:50%;background:#fff;border:1px solid #aaa; } | |
| .notification-popup .ft { text-align:center;background:#fafafa;line-height:36px; } | |
| .notification-popup li, | |
| .notification-popup .content { overflow:hidden;zoom:1; } | |
| .notification-popup .pic { float:left;margin-right:10px; } | |
| .notification-popup li { padding:12px 10px;color:#999;border-bottom:1px solid #aaa; } | |
| .notification-popup .opts { float:right; } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .mod { | |
| height:100px; | |
| width:50%; | |
| margin:auto; | |
| font-size:12px; | |
| text-align:center; | |
| background-image: | |
| url(http://img3.douban.com/icon/u1170308-29.jpg), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @import url(http://img3.douban.com/css/packed_douban7774204613.css); | |
| /* 通用按钮样式 */ | |
| /* reset */ | |
| .bn-small, | |
| .bn-cta, | |
| .bn-flat input { margin:0;border:none;background:transparent;cursor:pointer;-webkit-appearance: none; } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @import url(http://img3.douban.com/css/packed_douban7774204613.css); | |
| .more-events .bd { overflow:hidden; } | |
| .more-events li { display:inline-block;*display:inline;zoom:1;margin:0 -2px 0 .5ex;padding:0 1ex 0 1ex;border-left:1px solid #aaa;line-height:10px;_margin-bottom:10px;letter-spacing:normal;word-spacing:normal; } | |
| .more-events li a { _position:relative; } | |
| .more-events ul { margin-left:-1ex;letter-spacing:-0.31em;*letter-spacing:normal;word-spacing-0.43em; } | |
| /* 可以灵活的适应宽度 */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @import url(http://img3.douban.com/css/packed_douban4234332340.css); | |
| /* 通知框 */ | |
| .notification-popup { position:absolute;width:290px;top:100px;left:50%;background:#fff;border:1px solid #f0f0f0; } | |
| .notification-popup .ft { text-align:center;background:#fafafa;line-height:36px; } | |
| .notification-popup li, | |
| .notification-popup .content { overflow:hidden;zoom:1; } | |
| .notification-popup .pic { float:left;margin-right:10px; } | |
| .notification-popup li { padding:12px 10px;color:#999;border-bottom:1px solid #f0f0f0; } | |
| .notification-popup .opts { float:right; } |