common.css 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432
  1. body {
  2. background:url(../img/001.png) repeat 0 0;
  3. }
  4. a:hover{
  5. text-decoration: none;
  6. }
  7. .container:after { /*优化container高度*/
  8. content:"";
  9. display: block;
  10. clear: both;
  11. }
  12. /*导航条*/
  13. .navbar.navbar-fixed-top {
  14. border-bottom: 1px #222 solid;
  15. }
  16. .navbar .container .navbar-userbar {
  17. top: 8px;
  18. right: 32px;
  19. }
  20. .nav ul li.active a {
  21. color:#000;
  22. }
  23. .nav>ul>li>a {
  24. padding: 0 30px;/*导航宽度*/
  25. outline: none;
  26. color: #838383;
  27. text-decoration: none;
  28. letter-spacing: 5px;
  29. text-shadow: 0 0 1px rgba(255,255,255,0.3);
  30. font-size: 1.25em;
  31. }
  32. .nav>ul>li>a::before {
  33. color: #000;
  34. content: attr(data-hover);
  35. position: absolute;
  36. opacity: 0;
  37. text-shadow: 0 0 1px rgba(255,255,255,0.3);
  38. -webkit-transform: scale(1.1) translateX(10px) translateY(-10px) rotate(4deg);
  39. -moz-transform: scale(1.1) translateX(10px) translateY(-10px) rotate(4deg);
  40. transform: scale(1.1) translateX(10px) translateY(-10px) rotate(4deg);
  41. -webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
  42. -moz-transition: -moz-transform 0.3s, opacity 0.3s;
  43. transition: transform 0.3s, opacity 0.3s;
  44. pointer-events: none;
  45. }
  46. .nav>ul>li>a:hover::before,
  47. .nav>ul>li>a:focus::before {
  48. -webkit-transform: scale(1) translateX(0px) translateY(0px) rotate(0deg);
  49. -moz-transform: scale(1) translateX(0px) translateY(0px) rotate(0deg);
  50. transform: scale(1) translateX(0px) translateY(0px) rotate(0deg);
  51. opacity: 1;
  52. }
  53. /*user login*/
  54. .userInfo i {
  55. font-size: 28px;
  56. color: #838383;
  57. position: absolute;
  58. right: 33px;
  59. }
  60. .userInfo img.radius{
  61. border: 2px #777 solid;
  62. box-shadow:0 1px 3px rgba(0, 0, 0, 0.22);
  63. -webkit-transition:.4s all ease-in-out;-moz-transition:.4s all ease-in-out;-o-transition:.4s all ease-in-out;transition:.4s all ease-in-out;
  64. }
  65. .userInfo img.radius:hover {
  66. -webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);-o-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg);
  67. }
  68. /*slider height*/
  69. .slider .bd img {
  70. height: 230px;
  71. }
  72. /*分享*/
  73. .Hui-share .Hui-iconfont {
  74. font-size: 30px;
  75. }
  76. /*面板头部*/
  77. .tab-category a {
  78. display: inline-block;
  79. border-bottom: 3px solid #9E9E9E;
  80. margin: 0 5px;
  81. pointer-events: none;
  82. }
  83. .tab-category strong{
  84. color: #fff;
  85. background-color: #555555;
  86. margin: -1px 0 5px 0;
  87. display: inline-block;
  88. padding: 4px 15px;
  89. font-size: 14px;
  90. }
  91. /*tip*/
  92. .slideTxtBox li a {
  93. line-height: 15px;
  94. white-space: nowrap;
  95. text-overflow: ellipsis;
  96. overflow: hidden;
  97. font-size: 12px;
  98. }
  99. /*文章列表*/
  100. .index_arc li {
  101. position: relative;
  102. height: 110px;
  103. margin-bottom: 15px;
  104. padding: 15px 15px 15px 200px;
  105. list-style: none;
  106. background-color: #fff;
  107. border: solid 1px #ddd;
  108. box-shadow: 0 8px 18px rgba(0,0,0,0.06);
  109. transition: all .2s ease-out;
  110. }
  111. .index_arc li:hover{
  112. box-shadow: 0 8px 18px rgba(0,0,0,0.15);
  113. transition: all .2s ease-out;
  114. border-bottom: 1px solid #5a98de;
  115. }
  116. /*.index_arc li.pageNav-wrap {
  117. height: 20px;
  118. margin: 0 0 40px;
  119. padding: 0;
  120. border: none;
  121. }*/
  122. .index_arc .no_pic {
  123. padding: 15px;
  124. }
  125. .index_arc li .pic {
  126. position: absolute;
  127. left: 15px;
  128. top: 15px;
  129. height: 110px;
  130. overflow: hidden;
  131. line-height: 110px;
  132. width: 165px;
  133. }
  134. .index_arc li .pic img {
  135. vertical-align: middle;
  136. width: 100%;
  137. display: inline-block;
  138. border: none;
  139. }
  140. .index_arc li .title {
  141. line-height: 26px;
  142. font-size: 0;
  143. position: relative;
  144. margin: 0;
  145. padding: 0;
  146. }
  147. .index_arc li .title a {
  148. max-width: 99%;
  149. margin-right: 10px;
  150. overflow: hidden;
  151. text-overflow: ellipsis;
  152. white-space: nowrap;
  153. font-size: 16px;
  154. line-height: 26px;
  155. }
  156. .index_arc li .title * {
  157. display: inline-block;
  158. vertical-align: top;
  159. }
  160. .index_arc li .date_hits {
  161. position: relative;
  162. line-height: 20px;
  163. font-size: 12px;
  164. color: #666;
  165. }
  166. .index_arc li .date_hits span {
  167. padding-right: 15px;
  168. height: 20px;
  169. line-height: 20px;
  170. }
  171. .index_arc li .date_hits span a {
  172. color: #009688;
  173. }
  174. .index_arc li .date_hits .hits {
  175. position: absolute;
  176. right: 50px;
  177. top: 0;
  178. }
  179. .index_arc li .date_hits .commonts {
  180. position: absolute;
  181. right: 0;
  182. top: 0;
  183. }
  184. .index_arc li .desc {
  185. height: 48px;
  186. line-height: 24px;
  187. overflow: hidden;
  188. margin-top: 8px;
  189. color: #444;
  190. }
  191. /*面板body*/
  192. .tab-category-item {
  193. border-top: 1px solid #EDEDED;
  194. padding: 10px 10px 10px 15px;
  195. }
  196. /*面板主体 li*/
  197. .index_recd li {
  198. line-height: 32px;
  199. white-space: nowrap;
  200. overflow: hidden;
  201. list-style: decimal-leading-zero inside;
  202. font-style: oblique;
  203. font-size: 14px;
  204. }
  205. .index_recd li.index_recd_item {
  206. list-style:none;
  207. }
  208. .index_recd li a {
  209. color: #009688;
  210. max-width: 68%;
  211. margin-right: 5px;
  212. overflow: hidden;
  213. text-overflow: ellipsis;
  214. white-space: nowrap;
  215. font-size: 14px;
  216. display: inline-block;
  217. vertical-align: top;
  218. font-style: normal;
  219. }
  220. .index_recd li .hits {
  221. font-size: 12px;
  222. color: #888;
  223. display: inline-block;
  224. vertical-align: top;
  225. font-style: normal;
  226. }
  227. /*面板主体 span*/
  228. .tab-category-item>span {
  229. margin-right: 30px;
  230. display: inline-block;
  231. font-size: 14px;
  232. line-height: 32px;
  233. }
  234. /*最近访客*/
  235. .recent .item {
  236. display: inline-block;
  237. margin: 3px;
  238. }
  239. .recent .item img {
  240. width: 40px;
  241. }
  242. /*导航二级菜单*/
  243. .nav-btn {
  244. width: 42%;
  245. margin: 5px;
  246. }
  247. /* about CSS Document */
  248. /*.aboutcon{background:url(../img/slider/aboutphoto.jpg) no-repeat bottom right; color:#696969}*/
  249. h1.t_nav { border-bottom: #337ab7 1px solid; font-size: 12px; font-weight: normal; line-height: 40px; height: 40px; }
  250. h1.t_nav a{width: 100px; display: block; text-align: center ; color: #fff; float:left}
  251. h1.t_nav span{float:right; color:#999}
  252. .n1 { background: #777; }
  253. .n2 { background: #9d9d9d; }
  254. /*.about{ width:75%;overflow: hidden; background: url(../img/slider/r_line.jpg) repeat-y right; line-height:22px; }*/
  255. .about h2{ font-size:22px; font-family: 'Architects Daughter', cursive; margin-bottom:20px}
  256. .about p{ margin-bottom:20px}
  257. .about_c,.about{margin:20px 0}
  258. .about ul{ width:90%}
  259. .about_c{ padding:10px 0 0 10px; color:#999; line-height:26px; }
  260. .about_c img{ margin:5px 0}
  261. .about_c span{ color:#19A566}
  262. a.blog_link{ color:#1CA368;}
  263. /*a.blog_link{ color:#1CA368; margin:0 20px}*/
  264. /*文章详情*/
  265. .w_main_left {
  266. font: 12px "宋体", Arial, Helvetica, sans-serif;
  267. color: #756F71;
  268. }
  269. .c_titile {
  270. font-size: 22px;
  271. text-align: center;
  272. color: #333;
  273. font-weight: bold;
  274. }
  275. .box_c {
  276. border: #ccc 1px dashed;
  277. text-align: center;
  278. padding: 5px 0;
  279. margin-right: 30px;
  280. color: #999;
  281. }
  282. .box_c span {
  283. margin: 0 10px;
  284. }
  285. .box_c span a {
  286. color: #099;
  287. }
  288. ul {
  289. list-style: none;
  290. }
  291. ul.infos {
  292. overflow: hidden;
  293. margin: 20px 30px 20px 0;
  294. line-height: 28px;
  295. font-size: 14px;
  296. text-indent: 2em;
  297. color: #666;
  298. }
  299. ul.infos p {
  300. margin-bottom: 5px;
  301. }
  302. .keybq {
  303. background: url(../img/tab.png) no-repeat 10px center #F8F8F8;
  304. line-height: 30px;
  305. height: 30px;
  306. padding-left: 40px;
  307. border: 1px solid #F0F0F0;
  308. }
  309. .keybq span {
  310. color: #099;
  311. }
  312. .keybq .label{
  313. margin-right: 10px;
  314. }
  315. .nextinfo {
  316. margin: 20px 0;
  317. line-height: 30px;
  318. height: 30px;
  319. }
  320. .nextinfo .last{
  321. width: 50%;
  322. float: left;
  323. }
  324. .nextinfo .next{
  325. width: 50%;
  326. float: right;
  327. text-align: right;
  328. }
  329. .nextinfo a:hover{
  330. color: #337AB7;
  331. }
  332. @media screen and (max-width:640px) {
  333. .slider .bd img { height: 130px;}/*slider height*/
  334. .index_arc li{padding:10px 10px 10px 120px;height: 66px;margin-bottom: 10px;}
  335. .index_arc li .title a{max-width: 95%;margin-right: 10px;overflow: hidden;text-overflow:clip;white-space: normal;font-size: 14px;line-height: 20px;height: 40px;}
  336. .index_arc li .pic{left:10px;top:10px;width:100px;height: 66px;line-height: 66px}
  337. .index_arc li .pic img{}
  338. .index_arc li .date_hits{margin-top: 5px;}
  339. .index_arc li .date_hits>span {display: none;}
  340. /*.index_arc li .hits{display: none;}*/
  341. .index_arc li .desc{display: none;}
  342. .index_arc{margin-bottom: 15px;}
  343. .index_arc li{line-height: 28px;}
  344. .index_arc li.pageNav-wrap a{max-width: 100%;}
  345. .index_recd li a {max-width: 60%;}
  346. /*评论头像*/
  347. .avatar.size-L, .avatar.size-L img {
  348. width: 30px;
  349. height: 30px;
  350. }
  351. .comment-main {
  352. margin-left: 40px;
  353. }
  354. }
  355. @media screen and (max-width:320px) {
  356. .slider .bd img { height: 100px;}
  357. }
  358. /*common 抖动*/
  359. .dou {
  360. -webkit-animation: dou 0.5s .2s ease both;
  361. -moz-animation: dou 0.5s .2s ease both;
  362. }
  363. @-webkit-keyframes dou {
  364. 0%,100% {
  365. -webkit-transform: translateX(0);
  366. }
  367. 10%,30%,50%,70%,90% {
  368. -webkit-transform: translateX(-5px);
  369. }
  370. 20%,40%,60%,80% {
  371. -webkit-transform: translateX(5px);
  372. }
  373. }
  374. @-moz-keyframes dou {
  375. 0%,100% {
  376. -moz-transform: translateX(0);
  377. }
  378. 10%,30%,50%,70%,90% {
  379. -moz-transform: translateX(-5px);
  380. }
  381. 20%,40%,60%,80% {
  382. -moz-transform: translateX(5px);
  383. }
  384. }
  385. .dou2 {
  386. -webkit-animation: dou2 1s .2s ease both;
  387. -moz-animation: dou2 1s .2s ease both;
  388. }
  389. @-webkit-keyframes dou2 {
  390. 0% {
  391. opacity: 0;
  392. -webkit-transform: translateY(20px)
  393. }
  394. 100% {
  395. opacity: 1;
  396. -webkit-transform: translateY(0)
  397. }
  398. }
  399. @-moz-keyframes dou2 {
  400. 0% {
  401. opacity: 0;
  402. -moz-transform: translateY(20px)
  403. }
  404. 100% {
  405. opacity: 1;
  406. -moz-transform: translateY(0)
  407. }
  408. }