style.css 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506
  1. body {
  2. margin-top: 50px;
  3. font-size: 16px;
  4. font-family: "Myriad Pro", "Hiragino Sans GB","Microsoft YaHei","微软雅黑", Calibri, Helvetica, tahoma,arial,simsun,"宋体", sans-serif;
  5. line-height: 1.5;
  6. -webkit-font-smoothing: antialiased;
  7. }
  8. .jumbotron {
  9. background: transparent url(../images/banner.jpg) repeat-x 50% 0%;
  10. color: #fff;
  11. text-shadow: 1px 1px 1px #3b3262;
  12. margin-bottom: 0;
  13. }
  14. .jumbotron .container {
  15. position: relative;
  16. }
  17. .jumbotron .github-btns {
  18. position: absolute;
  19. bottom: 0;
  20. right: 0;
  21. }
  22. .fetature {
  23. margin-top: 30px;
  24. }
  25. .page-body {
  26. min-height: 450px;
  27. }
  28. .page-container {
  29. margin-top: 10px;
  30. }
  31. .page-container h1,
  32. .page-container h2,
  33. .page-container h3 {
  34. padding-top: 70px;
  35. margin-top: -50px;
  36. }
  37. .logo {
  38. position: relative;
  39. padding-left: 60px;
  40. }
  41. .logo span {
  42. position: absolute;
  43. left: 15px;
  44. top: 8px;
  45. font-size: 2em;
  46. text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  47. }
  48. .logo.active {
  49. color: #fff;
  50. }
  51. @media (min-width: 768px) {
  52. .fetature .row .col-lg-4 {
  53. min-height: 250px;
  54. }
  55. }
  56. .footer {
  57. width: 100%;
  58. overflow: hidden;
  59. color: #f2f2f2;
  60. background: #212121;
  61. margin-top: 50px;
  62. }
  63. .footer-fixed-bottom {
  64. position: fixed;
  65. bottom: 0;
  66. }
  67. .footer a {
  68. color: #f2f2f2;
  69. }
  70. .footer .footer-inner {
  71. margin: 15px;
  72. }
  73. .wu-example {
  74. position: relative;
  75. padding: 45px 15px 15px;
  76. margin: 15px 0;
  77. background-color: #fafafa;
  78. box-shadow: inset 0 3px 6px rgba(0, 0, 0, .05);
  79. border-color: #e5e5e5 #eee #eee;
  80. border-style: solid;
  81. border-width: 1px 0;
  82. }
  83. .wu-example:after {
  84. content:"示例";
  85. position: absolute;
  86. top: 15px;
  87. left: 15px;
  88. font-size: 12px;
  89. font-weight: bold;
  90. color: #bbb;
  91. text-transform: uppercase;
  92. letter-spacing: 1px;
  93. }
  94. @media (min-width: 768px) {
  95. .bs-example {
  96. margin-left: 0;
  97. margin-right: 0;
  98. background-color: #fff;
  99. border-width: 1px;
  100. border-color: #ddd;
  101. border-radius: 4px 4px 0 0;
  102. box-shadow: none;
  103. }
  104. }
  105. .post-toc {
  106. margin-top: 30px;
  107. margin-bottom: 30px;
  108. padding-top: 10px;
  109. padding-bottom: 10px;
  110. text-shadow: 0 1px 0 #fff;
  111. background-color: #f7f5fa;
  112. border-radius: 5px;
  113. }
  114. .post-toc .nav > li > a {
  115. display: block;
  116. color: #716b7a;
  117. padding: 5px 20px;
  118. }
  119. .post-toc .nav .nav > li > a {
  120. padding-top: 3px;
  121. padding-bottom: 3px;
  122. padding-left: 30px;
  123. font-size: 90%;
  124. }
  125. .post-toc.affix {
  126. position: static;
  127. }
  128. .post-toc .nav .nav {
  129. display: none;
  130. margin-bottom: 8px;
  131. }
  132. @media (min-width: 992px) {
  133. .post-toc.affix {
  134. position: fixed;
  135. width: 213px;
  136. top: 50px;
  137. }
  138. .post-toc .nav > .active > ul {
  139. display: block;
  140. }
  141. }
  142. @media (min-width: 1200px) {
  143. .post-toc.affix {
  144. width: 263px;
  145. }
  146. .post-toc .nav > .active > ul {
  147. display: block;
  148. }
  149. }
  150. .post-toc .nav > .active > a,
  151. .post-toc .nav > .active:hover > a,
  152. .post-toc .nav > .active:focus > a {
  153. font-weight: bold;
  154. color: #563d7c;
  155. background-color: transparent;
  156. border-right: 1px solid #563d7c;
  157. }
  158. .friends-links {
  159. margin: 0;
  160. padding: 0;
  161. list-style: none;
  162. }
  163. .weixin {
  164. text-align: center;
  165. display: inline-block;
  166. }
  167. .weixin img {
  168. width: 80px;
  169. }
  170. /********************************
  171. *
  172. * COMMENTS
  173. *
  174. ********************************/
  175. .comment {
  176. background-color: transparent;
  177. border-color: #CACACA;
  178. border-style: solid;
  179. border-width: 1px;
  180. color: black;
  181. display: block;
  182. margin-bottom: 10px;
  183. margin-top: 10px;
  184. padding: 0px;
  185. width: 100%;
  186. }
  187. .comment .commentheader {
  188. border-bottom-color: #CACACA;
  189. border-bottom-style: solid;
  190. border-bottom-width: 1px;
  191. color: black;
  192. background-image: -webkit-linear-gradient(#F8F8F8,#E1E1E1);
  193. background-image: -moz-linear-gradient(#F8F8F8,#E1E1E1);
  194. color: black;
  195. display: block;
  196. float: left;
  197. font-family: helvetica, arial, freesans, clean, sans-serif;
  198. font-size: 12px;
  199. font-style: normal;
  200. font-variant: normal;
  201. font-weight: normal;
  202. height: 33px;
  203. line-height: 33px;
  204. margin: 0px;
  205. overflow-x: hidden;
  206. overflow-y: hidden;
  207. padding: 0px;
  208. text-overflow: ellipsis;
  209. text-shadow: rgba(255, 255, 255, 0.699219) 1px 1px 0px;
  210. white-space: nowrap;
  211. width: 100%;
  212. }
  213. .comment .commentheader .commentgravatar {
  214. background-attachment: scroll;
  215. background-clip: border-box;
  216. background-color: white;
  217. background-image: none;
  218. background-origin: padding-box;
  219. border-color: #C8C8C8;
  220. border-style: solid;
  221. border-width: 1px;
  222. color: black;
  223. display: inline-block;
  224. float: none;
  225. font-family: helvetica, arial, freesans, clean, sans-serif;
  226. font-size: 1px;
  227. font-style: normal;
  228. font-variant: normal;
  229. font-weight: normal;
  230. height: 24px;
  231. line-height: 1px;
  232. margin-left: 5px;
  233. margin-right: 3px;
  234. margin-top: -2px;
  235. overflow-x: visible;
  236. overflow-y: visible;
  237. padding: 1px;
  238. text-overflow: clip;
  239. text-shadow: rgba(255, 255, 255, 0.699219) 1px 1px 0px;
  240. vertical-align: middle;
  241. white-space: nowrap;
  242. width: 24px;
  243. }
  244. .comment .commentheader a:link {
  245. text-decoration: none;
  246. }
  247. .comment .commentheader a:hover {
  248. border-bottom:1px solid;
  249. }
  250. .comment .commentheader .commentuser {
  251. background-color: transparent;
  252. color: black;
  253. display: inline;
  254. float: none;
  255. font-family: helvetica, arial, freesans, clean, sans-serif;
  256. font-size: 12px;
  257. font-style: normal;
  258. font-variant: normal;
  259. font-weight: bold;
  260. height: 0px;
  261. line-height: 16px;
  262. margin-left: 5px;
  263. margin-right: 10px;
  264. overflow-x: visible;
  265. overflow-y: visible;
  266. padding: 0px;
  267. text-overflow: clip;
  268. text-shadow: rgba(255, 255, 255, 0.699219) 1px 1px 0px;
  269. white-space: nowrap;
  270. width: 0px;
  271. }
  272. .comment .commentheader .commentdate {
  273. background-color: transparent;
  274. color: #777;
  275. display: inline;
  276. float: none;
  277. font-family: helvetica, arial, freesans, clean, sans-serif;
  278. font-size: 11px;
  279. font-style: normal;
  280. font-variant: normal;
  281. font-weight: normal;
  282. height: 0px;
  283. line-height: 33px;
  284. margin: 0px;
  285. overflow-x: visible;
  286. overflow-y: visible;
  287. padding: 0px;
  288. text-overflow: clip;
  289. text-shadow: rgba(255, 255, 255, 0.699219) 1px 1px 0px;
  290. white-space: nowrap;
  291. width: 20em;
  292. }
  293. .comment .commentbody {
  294. background-attachment: scroll;
  295. background-clip: border-box;
  296. background-color: transparent;
  297. background-image: none;
  298. background-origin: padding-box;
  299. color: #333;
  300. display: block;
  301. margin-bottom: 1em;
  302. margin-left: 1em;
  303. margin-right: 1em;
  304. margin-top: 40px;
  305. overflow-x: visible;
  306. overflow-y: visible;
  307. padding: 0em;
  308. position: static;
  309. width: 96%;
  310. word-wrap: break-word;
  311. }
  312. .comment .commentbody p {
  313. margin-bottom: 0.5em;
  314. margin-top: 0.5em;
  315. margin-left: 0em;
  316. margin-right: 0em;
  317. }
  318. .comment .commentbody pre {
  319. border: 0px solid #ddd;
  320. background-color: #eef;
  321. padding: 0 .4em;
  322. }
  323. .comment .commentbody pre code {
  324. border: 0px solid #ddd;
  325. }
  326. .comment .commentbody code {
  327. border: 1px solid #ddd;
  328. background-color: #eef;
  329. font-size: 85%;
  330. padding: 0 .2em;
  331. }
  332. /*demo样式*/
  333. #picker {
  334. display: inline-block;
  335. line-height: 1.428571429;
  336. vertical-align: middle;
  337. margin: 0 12px 0 0;
  338. }
  339. #picker .webuploader-pick {
  340. padding: 6px 12px;
  341. display: block;
  342. }
  343. #uploader-demo .thumbnail {
  344. width: 110px;
  345. height: 110px;
  346. }
  347. #uploader-demo .thumbnail img {
  348. width: 100%;
  349. }
  350. .uploader-list {
  351. width: 100%;
  352. overflow: hidden;
  353. }
  354. .file-item {
  355. float: left;
  356. position: relative;
  357. margin: 0 20px 20px 0;
  358. padding: 4px;
  359. }
  360. .file-item .error {
  361. position: absolute;
  362. top: 4px;
  363. left: 4px;
  364. right: 4px;
  365. background: red;
  366. color: white;
  367. text-align: center;
  368. height: 20px;
  369. font-size: 14px;
  370. line-height: 23px;
  371. }
  372. .file-item .info {
  373. position: absolute;
  374. left: 4px;
  375. bottom: 4px;
  376. right: 4px;
  377. height: 20px;
  378. line-height: 20px;
  379. text-indent: 5px;
  380. background: rgba(0, 0, 0, 0.6);
  381. color: white;
  382. overflow: hidden;
  383. white-space: nowrap;
  384. text-overflow : ellipsis;
  385. font-size: 12px;
  386. z-index: 10;
  387. }
  388. .upload-state-done:after {
  389. content:"\f00c";
  390. font-family: FontAwesome;
  391. font-style: normal;
  392. font-weight: normal;
  393. line-height: 1;
  394. -webkit-font-smoothing: antialiased;
  395. -moz-osx-font-smoothing: grayscale;
  396. font-size: 32px;
  397. position: absolute;
  398. bottom: 0;
  399. right: 4px;
  400. color: #4cae4c;
  401. z-index: 99;
  402. }
  403. .file-item .progress {
  404. position: absolute;
  405. right: 4px;
  406. bottom: 4px;
  407. height: 3px;
  408. left: 4px;
  409. height: 4px;
  410. overflow: hidden;
  411. z-index: 15;
  412. margin:0;
  413. padding: 0;
  414. border-radius: 0;
  415. background: transparent;
  416. }
  417. .file-item .progress span {
  418. display: block;
  419. overflow: hidden;
  420. width: 0;
  421. height: 100%;
  422. background: #d14 url(../images/progress.png) repeat-x;
  423. -webit-transition: width 200ms linear;
  424. -moz-transition: width 200ms linear;
  425. -o-transition: width 200ms linear;
  426. -ms-transition: width 200ms linear;
  427. transition: width 200ms linear;
  428. -webkit-animation: progressmove 2s linear infinite;
  429. -moz-animation: progressmove 2s linear infinite;
  430. -o-animation: progressmove 2s linear infinite;
  431. -ms-animation: progressmove 2s linear infinite;
  432. animation: progressmove 2s linear infinite;
  433. -webkit-transform: translateZ(0);
  434. }
  435. @-webkit-keyframes progressmove {
  436. 0% {
  437. background-position: 0 0;
  438. }
  439. 100% {
  440. background-position: 17px 0;
  441. }
  442. }
  443. @-moz-keyframes progressmove {
  444. 0% {
  445. background-position: 0 0;
  446. }
  447. 100% {
  448. background-position: 17px 0;
  449. }
  450. }
  451. @keyframes progressmove {
  452. 0% {
  453. background-position: 0 0;
  454. }
  455. 100% {
  456. background-position: 17px 0;
  457. }
  458. }
  459. a.travis {
  460. position: relative;
  461. top: -4px;
  462. right: 15px;
  463. }