├── css ├── label.css ├── about.css ├── friendsLink.css ├── prettify.css ├── baseArticle.css ├── publish.css ├── index.css ├── article.css ├── base.css ├── detail.css └── detail.css.bak ├── README.md ├── html ├── label.html ├── article.html ├── about.html ├── friendLink.html ├── index.html ├── publish.html └── detail.html └── js ├── friendLink.js ├── template.js ├── index.js ├── label.js ├── base.js ├── publish.js ├── tagCloud └── tagCloud.js ├── template └── art-template.js └── article.js /css/label.css: -------------------------------------------------------------------------------- 1 | .single_new { 2 | border: none; 3 | background-color: #FFFFFF; 4 | } 5 | 6 | .news ul li{ 7 | margin-bottom: 30px; 8 | } 9 | 10 | .label_title { 11 | width: 100%; 12 | margin-top: 80px; 13 | color: #FFFFFF; 14 | text-align: center; 15 | } 16 | 17 | .label_title h1 { 18 | font-weight: 100; 19 | font-size: 24px; 20 | margin-bottom: 15px; 21 | letter-spacing: .1em; 22 | color: #fff; 23 | text-shadow: 0 4px 8px rgba(7,17,27,.4); 24 | } 25 | 26 | .label_title p { 27 | font-size: 15px; 28 | font-weight: 100; 29 | color: rgba(255,255,255,.8); 30 | } 31 | 32 | .label_title a{ 33 | color: #EE2C2C; 34 | } 35 | 36 | .w1000{ 37 | margin-top: 50px; 38 | } -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ## blog_template 2 | 3 | > **个人博客网站前端css js html代码** 4 | 5 | 其中js中包含腾讯开源前端模板引擎语法 art-template,关于语法知识可以自行百度. 6 | 7 | > **博客网址** 8 | 9 | https://zzwazj.online 10 | 11 | [https://zzwazj.online](https://zzwazj.online "AZJ@二人世界") 12 | 13 | > **网站主要样式截图** 14 | 15 | ### 主页 16 | ---------- 17 |  18 | 19 |  20 | 21 |  22 | 23 |  24 | 25 | 26 | 27 | ### 博客文章页面 28 | 29 | ---------- 30 | 31 | 32 |  33 | 34 |  35 | 36 | ### 友情链接页面 37 | ---------- 38 | 39 |  40 | 41 | ### 关于我页面 42 | ---------- 43 |  44 | 45 | 46 | 47 | 48 | 49 | -------------------------------------------------------------------------------- /css/about.css: -------------------------------------------------------------------------------- 1 | .about_left{ 2 | float: left; 3 | width: 68%; 4 | } 5 | 6 | .about_right{ 7 | float: right; 8 | width: 28%; 9 | } 10 | 11 | .about_left h3{ 12 | margin-bottom: 20px; 13 | padding-left: 20px; 14 | margin-top: 20px; 15 | border-left: 3px solid #EE2C2C; 16 | font-size: 18px; 17 | line-height: 22px; 18 | } 19 | 20 | .about_left p{ 21 | line-height: 36px; 22 | margin-left: 20px; 23 | color: #232328; 24 | font-size: 12px; 25 | } 26 | 27 | .about_left>div{ 28 | background-color: rgba(255,255,255,0.9); 29 | border-radius: 10px; 30 | padding: 20px; 31 | margin-bottom: 30px; 32 | } 33 | 34 | .about_left i{ 35 | margin-right: 10px; 36 | } 37 | 38 | .about_left a{ 39 | color: #EE2C2C; 40 | margin:0 5px; 41 | } 42 | 43 | .about_left a:hover{ 44 | text-decoration: underline; 45 | } 46 | 47 | .zzw{ 48 | cursor: none; 49 | } 50 | 51 | /*关于我页面手机适配*/ 52 | @media screen and (max-width: 500px){ 53 | 54 | .about_left{ 55 | float: none; 56 | width: 100%; 57 | } 58 | 59 | .about_right{ 60 | float: none; 61 | width: 100%; 62 | } 63 | 64 | .about_left>div{ 65 | border-radius: 5px; 66 | } 67 | 68 | .about_me{ 69 | border-radius: 5px; 70 | } 71 | 72 | .weChat{ 73 | border-radius: 5px; 74 | } 75 | } 76 | -------------------------------------------------------------------------------- /html/label.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 7 | 8 |Copyright © 2018-2019 AZJ@二人世界 All Rights Reserved 京ICP备18053311号
`; 37 | 38 | $(function () { 39 | // 加载模板数据 40 | // 解析模板文件 41 | let headerRender = template.compile(header); 42 | let fixBarsRender = template.compile(fixBars); 43 | let footerRender = template.compile(footer); 44 | let headerHtml = ""; 45 | // 加载数据 46 | $.ajax({ 47 | type: "POST", 48 | url:'/nav/content.action', 49 | success:function (data) { 50 | var titleData = { 51 | titleList:data.data 52 | }; 53 | headerHtml = headerRender(titleData); 54 | // 渲染页面 55 | $('#header').html(headerHtml); 56 | // 按钮点击事件 57 | let menuId = $('#menu'); 58 | let nav = $('#nav'); 59 | let spans = $('#menu>span'); 60 | // menu点击事件 61 | menuId.click(function () { 62 | if (menuId.hasClass('menu_close')){ 63 | nav.removeClass('bounceOutRight'); 64 | nav.removeAttr('style'); 65 | nav.addClass('bounceInRight'); 66 | spans.each(function () { 67 | $(this).removeClass('fadeInRight'); 68 | $(this).removeAttr('style'); 69 | }); 70 | menuId.removeClass('menu_close'); 71 | menuId.addClass('menu_open'); 72 | nav.removeAttr('hidden'); 73 | }else { 74 | nav.removeClass('bounceInRight'); 75 | nav.removeAttr('style'); 76 | nav.addClass('bounceOutRight'); 77 | menuId.removeClass('menu_open'); 78 | menuId.addClass('menu_close'); 79 | } 80 | }); 81 | } 82 | }); 83 | let fixBarsHtml = fixBarsRender(); 84 | let footerHtml = footerRender(); 85 | $('#fixBars').html(fixBarsHtml); 86 | $('#footer').html(footerHtml); 87 | }); -------------------------------------------------------------------------------- /html/about.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 |因为一个人,爱上一座城。
20 |毕业之后,因为一个故事来到了帝都。
21 |博铭:三十功名尘与土,八千里路云和月
可通过如下方式联系到我
24 |QQ:876784235
26 |Email:zengzhiwei_hfut@163.com
28 |Github:zengzhiwei12138 29 |
30 |Gitee:zzwazj
31 |本站建于2018年9月,主要记录技术分享,交流,生活心得,吐槽等...
34 |本站所用技术
35 |前端:art-template html5&css3 es6 wow tagCould esc
36 |后端:springmvc spring mybatis dubbo esc
37 |数据库:mariadb

原创优先技术优先经常宕机不合法规插边球站红标报毒
21 |本站信息如下:
22 |名称:AZJ
23 | 24 |图标:https://wx3.sinaimg.cn/small/007aGNoFly1fvysv6bn70g305k05k3yy.gif
25 |描述:AZJ @ 二人世界
26 |注意:本站开放自主填写友情链接权限,如自主添加后,请自觉将本站加为友联,本站会不定时清理违规友联
35 | 网名:AZJ
36 |职业:Java后端攻城狮
37 |籍贯:河南-信阳
38 |邮箱:876784235@qq.com

三十功名尘与土,八千里路云和月




















我也是有底线的!
"; 49 | 50 | let pageNum = 1; 51 | let articleRender = template.compile(article); 52 | let exist = false; 53 | 54 | //定义分类,标签,搜索 55 | let is_classify_id = 0; 56 | let is_search_keywords = ""; 57 | let is_label_id = ""; 58 | 59 | $(function () { 60 | getPageArticle(pageNum); 61 | let classifyRender = template.compile(classify); 62 | $.ajax({ 63 | url: '/classify/getClassify.action', 64 | type: 'POST', 65 | success: function (res) { 66 | let classifyData = { 67 | classifyList: res.data 68 | }; 69 | let classifyHtml = classifyRender(classifyData); 70 | $('#classify').html(classifyHtml); 71 | //分类的点击事件 72 | $('#classify>li').each(function () { 73 | $(this).click(function () { 74 | let classifyId = $(this).attr('name'); 75 | 76 | getArticleByClassify(classifyId); 77 | }); 78 | }); 79 | } 80 | }); 81 | 82 | let hotArticleRender = template.compile(hot_article); 83 | $.ajax({ 84 | url: '/article/hotArticle.action', 85 | type: 'POST', 86 | success: function (res) { 87 | let hotArticleData = { 88 | hotArticleList: res.data 89 | }; 90 | let hotArticleHtml = hotArticleRender(hotArticleData); 91 | $('#hot_article').html(hotArticleHtml); 92 | } 93 | }); 94 | 95 | $.ajax({ 96 | url: '/article/topArticle.action', 97 | type: 'POST', 98 | success: function (res) { 99 | let topArticleData = { 100 | hotArticleList: res.data 101 | }; 102 | let topArticleHtml = hotArticleRender(topArticleData); 103 | $('#top_article').html(topArticleHtml); 104 | } 105 | }); 106 | 107 | let labelRender = template.compile(label); 108 | $.ajax({ 109 | url: '/label/getLabel.action', 110 | type: 'POST', 111 | success: function (res) { 112 | let labelData = { 113 | labelList: res.data 114 | }; 115 | let labelHtml = labelRender(labelData); 116 | $('#tag_cloud_widget').html(labelHtml); 117 | tagCloud(); 118 | $('#tag_cloud_widget>span').each(function () { 119 | $(this).click(function () { 120 | // 清楚分类和搜索的标记 121 | is_classify_id = 0; 122 | is_search_keywords = ""; 123 | pageNum = 1; 124 | exist = false; 125 | // 获取labelId 126 | let labelId = $(this).attr('name'); 127 | is_label_id = labelId; 128 | getPageArticle(pageNum); 129 | $('body,html').animate({scrollTop: 0}, 300); 130 | }); 131 | }); 132 | } 133 | }); 134 | 135 | if (document.body.offsetWidth <= 500) { 136 | $('.left1').click(function () { 137 | let hot_article = $("li[name='hot_article']"); 138 | let article_label = $("li[name='article_label']"); 139 | let classify = $('#classifyBox'); 140 | if ($('.left1').text() == '<') { 141 | $('#overLay').removeAttr('hidden'); 142 | $('.left1').text('>'); 143 | if (article_label.hasClass('label_mobile_open')) { 144 | article_label.removeAttr('style'); 145 | article_label.removeClass('fadeInUp'); 146 | article_label.addClass('fadeOutDown'); 147 | $('.left2').text('<'); 148 | } 149 | if (classify.hasClass('classify_mobile_open')) { 150 | classify.removeAttr('style'); 151 | classify.removeClass('bounceInDown'); 152 | classify.addClass('bounceOutDown'); 153 | } 154 | if (hot_article.hasClass('hot_mobile_open')) { 155 | hot_article.removeAttr('style'); 156 | hot_article.addClass('fadeInRight'); 157 | hot_article.removeClass('fadeOutRight'); 158 | } else { 159 | hot_article.addClass('hot_mobile_open'); 160 | hot_article.removeClass('mobile_close'); 161 | } 162 | } else { 163 | hot_article.removeAttr('style'); 164 | hot_article.removeClass('fadeInRight'); 165 | hot_article.addClass('fadeOutRight'); 166 | $('#overLay').attr('hidden', 'hidden'); 167 | $('.left1').text('<'); 168 | } 169 | 170 | $('#overLay').click(function () { 171 | hot_article.removeAttr('style'); 172 | hot_article.removeClass('fadeInRight'); 173 | hot_article.addClass('fadeOutRight'); 174 | $('#overLay').attr('hidden', 'hidden'); 175 | $('.left1').text('<'); 176 | }); 177 | }); 178 | 179 | $('.left2').click(function () { 180 | let hot_article = $("li[name='hot_article']"); 181 | let article_label = $("li[name='article_label']"); 182 | let classify = $('#classifyBox'); 183 | if (hot_article.hasClass('hot_mobile_open')) { 184 | hot_article.removeAttr('style'); 185 | hot_article.removeClass('fadeInRight'); 186 | hot_article.addClass('fadeOutRight'); 187 | $('.left1').text('<'); 188 | } 189 | if (classify.hasClass('classify_mobile_open')) { 190 | classify.removeAttr('style'); 191 | classify.removeClass('bounceInDown'); 192 | classify.addClass('bounceOutDown'); 193 | } 194 | if ($('.left2').text() == '<') { 195 | $('#overLay').removeAttr('hidden'); 196 | $('.left2').text('>'); 197 | if (article_label.hasClass('label_mobile_open')) { 198 | article_label.removeAttr('style'); 199 | article_label.addClass('fadeInUp'); 200 | article_label.removeClass('fadeOutDown'); 201 | } else { 202 | article_label.addClass('label_mobile_open'); 203 | article_label.removeClass('mobile_close'); 204 | } 205 | } else { 206 | article_label.removeAttr('style'); 207 | article_label.removeClass('fadeInUp'); 208 | article_label.addClass('fadeOutDown'); 209 | $('#overLay').attr('hidden', 'hidden'); 210 | $('.left2').text('<'); 211 | } 212 | 213 | $('#overLay').click(function () { 214 | article_label.removeAttr('style'); 215 | article_label.removeClass('fadeInUp'); 216 | article_label.addClass('fadeOutDown'); 217 | $('#overLay').attr('hidden', 'hidden'); 218 | $('.left2').text('<'); 219 | }); 220 | }); 221 | 222 | $('.top1').click(function () { 223 | let hot_article = $("li[name='hot_article']"); 224 | let article_label = $("li[name='article_label']"); 225 | let classify = $('#classifyBox'); 226 | if (hot_article.hasClass('hot_mobile_open')) { 227 | hot_article.removeAttr('style'); 228 | hot_article.removeClass('fadeInRight'); 229 | hot_article.addClass('fadeOutRight'); 230 | $('.left1').text('<'); 231 | } 232 | if (article_label.hasClass('label_mobile_open')) { 233 | article_label.removeAttr('style'); 234 | article_label.removeClass('fadeInUp'); 235 | article_label.addClass('fadeOutDown'); 236 | $('.left2').text('<'); 237 | } 238 | $('#overLay').removeAttr('hidden'); 239 | if (classify.hasClass('classify_mobile_open')) { 240 | if (classify.hasClass('bounceInDown')) { 241 | classify.removeAttr('style'); 242 | classify.removeClass('bounceInDown'); 243 | classify.addClass('bounceOutDown'); 244 | $('#overLay').attr('hidden', 'hidden'); 245 | } else { 246 | classify.removeAttr('style'); 247 | classify.addClass('bounceInDown'); 248 | classify.removeClass('bounceOutDown'); 249 | } 250 | } else { 251 | classify.removeAttr('style'); 252 | classify.removeClass('flipInY'); 253 | classify.addClass('bounceInDown'); 254 | classify.addClass('classify_mobile_open'); 255 | classify.removeClass('mobile_close'); 256 | } 257 | $('#overLay').click(function () { 258 | classify.removeAttr('style'); 259 | classify.removeClass('bounceInDown'); 260 | classify.addClass('bounceOutDown'); 261 | $('#overLay').attr('hidden', 'hidden'); 262 | }); 263 | }); 264 | } 265 | 266 | $('#allClassify').click(function () { 267 | is_search_keywords = ""; 268 | is_classify_id = 0; 269 | is_label_id = ""; 270 | exist = false; 271 | pageNum = 1; 272 | getPageArticle(pageNum); 273 | $('body,html').animate({scrollTop: 0}, 300); 274 | }); 275 | 276 | $(".searchBox>input[type='text']").click(function () { 277 | $(document).keyup(function (event) { 278 | if (event.keyCode == 13) { 279 | searchArticle(); 280 | } 281 | }); 282 | }); 283 | 284 | $('.searchBox>i').click(function () { 285 | searchArticle(); 286 | }); 287 | 288 | }); 289 | 290 | function searchArticle() { 291 | is_label_id = ""; 292 | is_classify_id = 0; 293 | pageNum = 1; 294 | exist = false; 295 | is_search_keywords = $(".searchBox>input[type='text']").val(); 296 | if (is_search_keywords == "") { 297 | swal("请输入查询关键字!", { 298 | button: false, 299 | timer: 2000 300 | }); 301 | } 302 | getPageArticle(pageNum); 303 | $('body,html').animate({scrollTop: 0}, 300); 304 | } 305 | 306 | function getArticleByClassify(classifyId) { 307 | // 清空标签和搜索的分页条件 308 | is_search_keywords = ""; 309 | is_label_id = ""; 310 | exist = false; 311 | pageNum = 1; 312 | is_classify_id = classifyId; 313 | getPageArticle(pageNum); 314 | $('body,html').animate({scrollTop: 0}, 300); 315 | } 316 | 317 | //获取滚动条当前的位置 318 | function getScrollTop() { 319 | let scrollTop = 0; 320 | if (document.documentElement && document.documentElement.scrollTop) { 321 | scrollTop = document.documentElement.scrollTop; 322 | } else if (document.body) { 323 | scrollTop = document.body.scrollTop; 324 | } 325 | return scrollTop; 326 | } 327 | 328 | //获取当前可视范围的高度 329 | function getClientHeight() { 330 | let clientHeight = 0; 331 | if (document.body.clientHeight && document.documentElement.clientHeight) { 332 | clientHeight = Math.min(document.body.clientHeight, document.documentElement.clientHeight); 333 | } else { 334 | clientHeight = Math.max(document.body.clientHeight, document.documentElement.clientHeight); 335 | } 336 | return clientHeight; 337 | } 338 | 339 | //获取文档完整的高度 340 | function getScrollHeight() { 341 | return Math.max(document.body.scrollHeight, document.documentElement.scrollHeight); 342 | } 343 | 344 | //滚动事件触发 345 | window.onscroll = function () { 346 | if (getScrollTop() + getClientHeight() > getScrollHeight() - 110) { 347 | pageNum++; 348 | getPageArticle(pageNum); 349 | } 350 | }; 351 | 352 | function getPageArticle(pageNum) { 353 | if (!exist) { 354 | $.ajax({ 355 | url: '/article/getPageArticle.action', 356 | data: { 357 | pageNum: pageNum, 358 | labelId: is_label_id, 359 | classifyId: is_classify_id, 360 | keywords: is_search_keywords 361 | }, 362 | type: 'POST', 363 | success: function (res) { 364 | if (document.body.offsetWidth <= 500){ 365 | let hot_article = $("li[name='hot_article']"); 366 | let article_label = $("li[name='article_label']"); 367 | let classify = $('#classifyBox'); 368 | if (article_label.hasClass('label_mobile_open')) { 369 | article_label.removeAttr('style'); 370 | article_label.removeClass('fadeInUp'); 371 | article_label.addClass('fadeOutDown'); 372 | $('.left2').text('<'); 373 | } 374 | if (classify.hasClass('classify_mobile_open')) { 375 | classify.removeAttr('style'); 376 | classify.removeClass('bounceInDown'); 377 | classify.addClass('bounceOutDown'); 378 | } 379 | if (hot_article.hasClass('hot_mobile_open')) { 380 | hot_article.removeAttr('style'); 381 | hot_article.removeClass('fadeInRight'); 382 | hot_article.addClass('fadeOutRight'); 383 | $('.left1').text('<'); 384 | } 385 | $('#overLay').attr('hidden', 'hidden'); 386 | } 387 | if (res.data.length > 0) { 388 | var articleData = { 389 | articleList: res.data 390 | }; 391 | let articleHtml = articleRender(articleData); 392 | if (pageNum == 1) { 393 | $('#blog_content').html(articleHtml); 394 | } else { 395 | $('#blog_content').append(articleHtml); 396 | } 397 | $('.article_classify').each(function () { 398 | $(this).click(function () { 399 | let classifyId = $(this).attr('name'); 400 | getArticleByClassify(classifyId); 401 | }); 402 | }); 403 | if (res.data.length < 20){ 404 | $('#blog_content').append(line); 405 | exist = true; 406 | } 407 | } else { 408 | if (pageNum == 1) { 409 | $('#blog_content').html(line); 410 | exist = true; 411 | } else if (!exist) { 412 | $('#blog_content').append(line); 413 | exist = true; 414 | } 415 | } 416 | } 417 | }); 418 | } 419 | } 420 | -------------------------------------------------------------------------------- /css/detail.css: -------------------------------------------------------------------------------- 1 | 2 | fieldset { 3 | border: 1px solid #eee; 4 | border-radius: 3px; 5 | padding: 10px 15px; 6 | } 7 | 8 | fieldset > legend { 9 | background-color: #eb5055; 10 | color: #fff; 11 | border-radius: 2px; 12 | padding: 2px 5px; 13 | font-size: 12px; 14 | } 15 | 16 | .article_label { 17 | font-size: 14px; 18 | word-wrap: break-word; 19 | word-break: break-word; 20 | margin: 0; 21 | padding: 15px 0 15px; 22 | } 23 | 24 | .article_label a { 25 | font-size: 13px; 26 | font-weight: 600; 27 | display: inline-block; 28 | margin: 4px 8px 0 0; 29 | padding: 0 15px; 30 | -webkit-transition-duration: .4s; 31 | transition-duration: .4s; 32 | letter-spacing: 0; 33 | } 34 | 35 | .article_label a:nth-child(n) { 36 | color: #fff; 37 | border: 1px solid #b952c5; 38 | border-radius: 15px; 39 | background: #b952c5; 40 | } 41 | 42 | .article_label a:nth-child(2n) { 43 | color: #fff; 44 | border: 1px solid #ff9800; 45 | border-radius: 15px; 46 | background: #ff9800; 47 | } 48 | 49 | .article_label a:nth-child(3n) { 50 | color: #fff; 51 | border: 1px solid #46c47c; 52 | border-radius: 15px; 53 | background: #46c47c; 54 | } 55 | 56 | .article_label a:nth-child(4n) { 57 | color: #fff; 58 | border: 1px solid #6fa3ef; 59 | border-radius: 15px; 60 | background: #6fa3ef; 61 | } 62 | 63 | .article_label a:nth-child(5n) { 64 | color: #fff; 65 | border: 1px solid #EE2C2C; 66 | border-radius: 15px; 67 | background: #EE2C2C; 68 | } 69 | 70 | .article_label a:hover{ 71 | color: #5f5f5f; 72 | border: 1px solid #f7f7f7; 73 | outline-style: none; 74 | background: #f7f7f7; 75 | } 76 | 77 | .detail_info { 78 | font-size: 13px; 79 | color: #a5a5a5; 80 | text-decoration: none; 81 | text-shadow: 0 0 2px #fff; 82 | padding-bottom: 20px; 83 | border-bottom: 1px dashed #c5c5c5; 84 | } 85 | 86 | .detail_info span { 87 | margin-right: 15px; 88 | display: inline-block; 89 | } 90 | 91 | .detail_info span i { 92 | margin: 0 5px 0 5px; 93 | } 94 | 95 | .detail_content { 96 | margin-top: 30px; 97 | } 98 | 99 | .detail_content > div { 100 | margin-top: 30px; 101 | } 102 | 103 | .detail_comment { 104 | margin-top: 70px; 105 | } 106 | 107 | .reply_comment { 108 | margin-top: 10px; 109 | } 110 | 111 | .detail_comment > h3 { 112 | border-left: 4px solid #eb5055; 113 | padding-left: 10px; 114 | font-size: 16px; 115 | display: inline-block; 116 | line-height: 30px; 117 | margin-bottom: 5px; 118 | } 119 | 120 | .detail_comment > form > ul, #reply_form > ul { 121 | margin-top: 20px; 122 | overflow: hidden; 123 | } 124 | 125 | .detail_comment > form > ul > li:first-child, #reply_form > ul > li:first-child { 126 | position: relative; 127 | bottom: 3px; 128 | width: 14%; 129 | text-align: center; 130 | } 131 | 132 | .detail_comment > form > ul > li:last-child, #reply_form > ul > li:last-child { 133 | margin-left: 30px; 134 | } 135 | 136 | .detail_comment > form > ul > li, #reply_form > ul > li { 137 | float: left; 138 | overflow: hidden; 139 | box-sizing: border-box; 140 | padding-right: 30px; 141 | padding-bottom: 10px; 142 | } 143 | 144 | input[type=text] { 145 | width: 100%; 146 | height: 20px; 147 | background: #F7F7F9; 148 | border: 1px solid #D3D3D7; 149 | border-radius: 5px; 150 | font-size: 14px; 151 | color: black; 152 | padding: 6px 8px; 153 | outline: none; 154 | } 155 | 156 | label { 157 | font-size: 12px; 158 | line-height: 20px; 159 | padding-bottom: 5px; 160 | display: block; 161 | } 162 | 163 | .detail_editor { 164 | padding: 10px 0; 165 | } 166 | 167 | .headImg { 168 | background-color: rgba(0, 0, 0, .4); 169 | text-align: center; 170 | width: 250px; 171 | height: 256px; 172 | position: fixed; 173 | top: calc(50% - 130px); 174 | left: calc(50% - 128px); 175 | z-index: 5; 176 | } 177 | 178 | .headImg ul { 179 | overflow: hidden; 180 | padding: 10px; 181 | } 182 | 183 | .headImg ul li { 184 | overflow: hidden; 185 | display: block; 186 | width: 24%; 187 | padding-top: 5px; 188 | float: left; 189 | } 190 | 191 | .headImg ul li img { 192 | border-radius: 50px; 193 | cursor: pointer; 194 | -webkit-transition: all .3s; 195 | -moz-transition: all .3s; 196 | -ms-transition: all .3s; 197 | -o-transition: all .3s; 198 | transition: all .3s; 199 | } 200 | 201 | .headImg ul li img:hover { 202 | transform: scale(1.3); 203 | } 204 | 205 | .close { 206 | position: absolute; 207 | top: 5px; 208 | right: 5px; 209 | cursor: pointer; 210 | } 211 | 212 | .close i { 213 | font-size: 14px; 214 | color: #EE2C2C; 215 | margin-right: 5px; 216 | } 217 | 218 | #commentHeadImage, #replyHeadImage { 219 | z-index: 2; 220 | border-radius: 50px; 221 | cursor: pointer; 222 | -webkit-transition: all .3s; 223 | -moz-transition: all .3s; 224 | -ms-transition: all .3s; 225 | -o-transition: all .3s; 226 | transition: all .3s; 227 | } 228 | 229 | #commentHeadImage:hover, #replyHeadImage:hover { 230 | transform: scale(1.3); 231 | } 232 | 233 | .email_reply, .email_comment { 234 | position: relative; 235 | float: left; 236 | height: 24px; 237 | margin-bottom: 3px; 238 | vertical-align: middle; 239 | cursor: pointer; 240 | } 241 | 242 | .email_comment span, .email_reply span { 243 | position: relative; 244 | font-size: 14px; 245 | margin-left: 10px; 246 | bottom: 6px; 247 | cursor: pointer; 248 | } 249 | 250 | .email_comment:before, .email_reply:before { 251 | display: inline-block; 252 | position: relative; 253 | content: ''; 254 | width: 45px; 255 | height: 24px; 256 | background-color: #D8D8D8; 257 | border-radius: 100px; 258 | transition: background-color .5s; 259 | } 260 | 261 | .email_comment:after, .email_reply:after { 262 | position: absolute; 263 | left: 4px; 264 | top: 4px; 265 | content: ''; 266 | width: 16px; 267 | height: 16px; 268 | border-radius: 50%; 269 | background-color: #fff; 270 | transition: transform 0.3s ease-in; 271 | } 272 | 273 | #email_reply:checked + .email_reply:before { 274 | background-color: #EE2C2C; 275 | } 276 | 277 | #email_reply:checked + .email_reply:after { 278 | transform: translateX(130%); 279 | } 280 | 281 | #email_comment:checked + .email_comment:before { 282 | background-color: #EE2C2C; 283 | } 284 | 285 | #email_comment:checked + .email_comment:after { 286 | transform: translateX(130%); 287 | } 288 | 289 | #email_reply, #email_comment { 290 | display: none; 291 | } 292 | 293 | .commit_comment, .reply_commit { 294 | border-radius: 5px; 295 | color: #FFFFFF; 296 | font-size: 12px; 297 | padding: 2px 20px; 298 | line-height: 25px; 299 | width: auto; 300 | float: right; 301 | background-color: #EE2C2C; 302 | cursor: pointer; 303 | } 304 | 305 | .submit_info { 306 | overflow: hidden; 307 | text-align: center; 308 | vertical-align: middle; 309 | } 310 | 311 | .commentHeadImg { 312 | position: absolute; 313 | } 314 | 315 | .commentHeadImg img { 316 | width: 48px; 317 | height: 48px; 318 | border-radius: 50%; 319 | border: 0; 320 | vertical-align: middle; 321 | user-select: none; 322 | } 323 | 324 | .replyHeadImg { 325 | position: absolute; 326 | } 327 | 328 | .replyHeadImg img { 329 | width: 35px; 330 | height: 35px; 331 | border-radius: 50%; 332 | border: 0; 333 | vertical-align: middle; 334 | user-select: none; 335 | } 336 | 337 | .comment { 338 | margin-left: 75px; 339 | } 340 | 341 | .comment_reply { 342 | margin-left: 50px; 343 | } 344 | 345 | .comment > h3, .comment_reply > h3 { 346 | line-height: 18px; 347 | padding-bottom: 4px; 348 | display: block; 349 | word-wrap: break-word; 350 | text-decoration: none; 351 | font-size: 12px; 352 | font-weight: 700; 353 | color: #6d757a; 354 | cursor: pointer; 355 | } 356 | 357 | .comment > span, .comment_reply > span { 358 | line-height: 25px; 359 | padding: 2px 0; 360 | font-size: 14px; 361 | text-shadow: none; 362 | overflow: hidden; 363 | word-wrap: break-word; 364 | word-break: break-word; 365 | } 366 | 367 | .comment > span img, .comment_reply > span img { 368 | width: 78px; 369 | height: 78px; 370 | } 371 | 372 | .comment > p, .comment_reply > p { 373 | margin-top: 4px; 374 | margin-bottom: 8px; 375 | font-size: 13px; 376 | color: #99a2aa; 377 | } 378 | 379 | .article_comment { 380 | margin-top: 20px; 381 | } 382 | 383 | .reply { 384 | margin-left: 10px; 385 | cursor: pointer; 386 | } 387 | 388 | .reply:hover { 389 | color: #EE2C2C; 390 | } 391 | 392 | .article_reply { 393 | margin-top: 20px; 394 | margin-left: 75px; 395 | } 396 | 397 | .reply_sign { 398 | font-size: 12px; 399 | color: #EE2C2C; 400 | } 401 | 402 | #commentBox > li { 403 | padding-top: 20px; 404 | } 405 | 406 | #commentBox > li:after { 407 | margin-left: 75px; 408 | content: ""; 409 | display: block; 410 | height: 1px; 411 | background-color: #e5e9ef; 412 | margin-top: 20px; 413 | } 414 | 415 | .prise { 416 | user-select: none; 417 | border-top: 1px solid #eee; 418 | border-bottom: 1px solid #eee; 419 | padding: 15px 5px; 420 | margin: 10px 0; 421 | text-align: center; 422 | -webkit-transition: .4s; 423 | -moz-transition: .4s; 424 | -o-transition: .4s; 425 | -ms-transition: .4s; 426 | opacity: .3; 427 | } 428 | 429 | .prise:hover { 430 | opacity: 1; 431 | } 432 | 433 | .prise > div { 434 | display: inline-block; 435 | margin-right: 15px; 436 | padding-left: 35px; 437 | position: relative; 438 | cursor: pointer; 439 | } 440 | 441 | .likeHeart, .likeHeart:before, .likeHeart:after { 442 | background: url(../images/like_heart.png); 443 | background-position: left; 444 | background-repeat: no-repeat; 445 | height: 80px; 446 | width: 80px; 447 | cursor: pointer; 448 | position: absolute; 449 | left: -25px; 450 | top: -30px; 451 | background-size: 2900%; 452 | } 453 | 454 | .like:hover { 455 | background: 0; 456 | } 457 | 458 | .like:hover .likeHeart { 459 | background-position: right; 460 | } 461 | 462 | .like:hover .likeHeart:before { 463 | content: ''; 464 | background-position: right; 465 | position: absolute; 466 | -webkit-animation: i-like 2.13584698s infinite; 467 | animation: i-like 2.13584698s infinite; 468 | z-index: 0; 469 | } 470 | 471 | .like:hover .likeHeart:after { 472 | content: ''; 473 | background-position: right; 474 | position: absolute; 475 | -webkit-animation: i-like 3.141592653s infinite; 476 | animation: i-like 3.141592653s infinite; 477 | } 478 | 479 | .prise i { 480 | font-size: 28px; 481 | position: absolute; 482 | width: 30px; 483 | left: 0; 484 | top: -5px; 485 | color: #aab8c2; 486 | } 487 | 488 | .priseImg { 489 | position: fixed; 490 | display: none; 491 | background-color: #FFFFFF; 492 | padding-top: 10px; 493 | top: calc(50% - 100px); 494 | left: calc(50% - 200px); 495 | -webkit-animation: dance 5s infinite ease-in-out; 496 | animation: dance 5s infinite ease-in-out; 497 | } 498 | 499 | .weChatPay { 500 | float: left; 501 | } 502 | 503 | .aliPay { 504 | float: right; 505 | } 506 | 507 | .pay:hover .priseImg { 508 | display: block; 509 | } 510 | 511 | .pay img { 512 | padding: 10px; 513 | } 514 | 515 | .mobile{ 516 | display: none; 517 | } 518 | 519 | @media screen and (max-width: 500px) { 520 | .w700 { 521 | padding: 20px 10px 0 10px; 522 | } 523 | 524 | .detail_comment > form > ul > li:first-child, #reply_form > ul > li:first-child { 525 | width: 20%; 526 | } 527 | 528 | .detail_comment > form > ul > li, #reply_form > ul > li { 529 | padding-bottom: 0; 530 | width: 40%; 531 | } 532 | 533 | .detail_comment > form > ul > li:last-child, #reply_form > ul > li:last-child { 534 | margin-left: 0; 535 | } 536 | 537 | .article_reply{ 538 | margin-left: 12px; 539 | } 540 | 541 | #commentBox > li:after{ 542 | margin-left: 2px; 543 | } 544 | 545 | .comment .reply_comment{ 546 | margin-left: -75px; 547 | } 548 | 549 | .comment_reply .reply_comment{ 550 | margin-left: -62px; 551 | } 552 | 553 | .w-e-panel-container{ 554 | width: 320px!important; 555 | } 556 | 557 | .priseImg img{ 558 | width: 100px; 559 | height: 100px; 560 | } 561 | 562 | .priseImg{ 563 | top: calc(50% - 50px); 564 | left: calc(50% - 120px); 565 | } 566 | 567 | .mobile{ 568 | display: block; 569 | } 570 | 571 | } 572 | 573 | @-webkit-keyframes i-like { 574 | 0% { 575 | -webkit-transform: translateY(29px); 576 | transform: translateY(29px); 577 | margin-left: 25px 578 | } 579 | 20% { 580 | margin-left: 35px 581 | } 582 | 40% { 583 | margin-left: -6px 584 | } 585 | 60% { 586 | margin-left: 4px 587 | } 588 | 80% { 589 | margin-left: -2px 590 | } 591 | 100% { 592 | opacity: 0; 593 | -webkit-transform: translateY(-50px) rotate(180deg) scale(.5); 594 | transform: translateY(-50px) rotate(180deg) scale(.5) 595 | } 596 | } 597 | 598 | @keyframes i-like { 599 | 0% { 600 | -webkit-transform: translateY(29px); 601 | transform: translateY(29px); 602 | margin-left: 25px 603 | } 604 | 20% { 605 | margin-left: 35px 606 | } 607 | 40% { 608 | margin-left: -6px 609 | } 610 | 60% { 611 | margin-left: 4px 612 | } 613 | 80% { 614 | margin-left: -2px 615 | } 616 | 100% { 617 | opacity: 0; 618 | -webkit-transform: translateY(-50px) rotate(180deg) scale(.5); 619 | transform: translateY(-50px) rotate(180deg) scale(.5) 620 | } 621 | } 622 | 623 | @-webkit-keyframes dance { 624 | 2% { 625 | -webkit-transform: translateY(1.5px) rotate(1.5deg); 626 | transform: translateY(1.5px) rotate(1.5deg) 627 | } 628 | 4% { 629 | -webkit-transform: translateY(-1.5px) rotate(-.5deg); 630 | transform: translateY(-1.5px) rotate(-.5deg) 631 | } 632 | 6% { 633 | -webkit-transform: translateY(1.5px) rotate(-1.5deg); 634 | transform: translateY(1.5px) rotate(-1.5deg) 635 | } 636 | 8% { 637 | -webkit-transform: translateY(-1.5px) rotate(-1.5deg); 638 | transform: translateY(-1.5px) rotate(-1.5deg) 639 | } 640 | 10% { 641 | -webkit-transform: translateY(2.5px) rotate(1.5deg); 642 | transform: translateY(2.5px) rotate(1.5deg) 643 | } 644 | 12% { 645 | -webkit-transform: translateY(-.5px) rotate(1.5deg); 646 | transform: translateY(-.5px) rotate(1.5deg) 647 | } 648 | 14% { 649 | -webkit-transform: translateY(-1.5px) rotate(1.5deg); 650 | transform: translateY(-1.5px) rotate(1.5deg) 651 | } 652 | 16% { 653 | -webkit-transform: translateY(-.5px) rotate(-1.5deg); 654 | transform: translateY(-.5px) rotate(-1.5deg) 655 | } 656 | 18% { 657 | -webkit-transform: translateY(.5px) rotate(-1.5deg); 658 | transform: translateY(.5px) rotate(-1.5deg) 659 | } 660 | 20% { 661 | -webkit-transform: translateY(-1.5px) rotate(2.5deg); 662 | transform: translateY(-1.5px) rotate(2.5deg) 663 | } 664 | 22% { 665 | -webkit-transform: translateY(.5px) rotate(-1.5deg); 666 | transform: translateY(.5px) rotate(-1.5deg) 667 | } 668 | 24% { 669 | -webkit-transform: translateY(1.5px) rotate(1.5deg); 670 | transform: translateY(1.5px) rotate(1.5deg) 671 | } 672 | 26% { 673 | -webkit-transform: translateY(.5px) rotate(.5deg); 674 | transform: translateY(.5px) rotate(.5deg) 675 | } 676 | 28% { 677 | -webkit-transform: translateY(.5px) rotate(1.5deg); 678 | transform: translateY(.5px) rotate(1.5deg) 679 | } 680 | 30% { 681 | -webkit-transform: translateY(-.5px) rotate(2.5deg); 682 | transform: translateY(-.5px) rotate(2.5deg) 683 | } 684 | 32% { 685 | -webkit-transform: translateY(1.5px) rotate(-.5deg); 686 | transform: translateY(1.5px) rotate(-.5deg) 687 | } 688 | 34% { 689 | -webkit-transform: translateY(1.5px) rotate(-.5deg); 690 | transform: translateY(1.5px) rotate(-.5deg) 691 | } 692 | 36% { 693 | -webkit-transform: translateY(-1.5px) rotate(2.5deg); 694 | transform: translateY(-1.5px) rotate(2.5deg) 695 | } 696 | 38% { 697 | -webkit-transform: translateY(1.5px) rotate(-1.5deg); 698 | transform: translateY(1.5px) rotate(-1.5deg) 699 | } 700 | 40% { 701 | -webkit-transform: translateY(-.5px) rotate(2.5deg); 702 | transform: translateY(-.5px) rotate(2.5deg) 703 | } 704 | 42% { 705 | -webkit-transform: translateY(2.5px) rotate(-1.5deg); 706 | transform: translateY(2.5px) rotate(-1.5deg) 707 | } 708 | 44% { 709 | -webkit-transform: translateY(1.5px) rotate(.5deg); 710 | transform: translateY(1.5px) rotate(.5deg) 711 | } 712 | 46% { 713 | -webkit-transform: translateY(-1.5px) rotate(2.5deg); 714 | transform: translateY(-1.5px) rotate(2.5deg) 715 | } 716 | 48% { 717 | -webkit-transform: translateY(-.5px) rotate(.5deg); 718 | transform: translateY(-.5px) rotate(.5deg) 719 | } 720 | 50% { 721 | -webkit-transform: translateY(.5px) rotate(.5deg); 722 | transform: translateY(.5px) rotate(.5deg) 723 | } 724 | 52% { 725 | -webkit-transform: translateY(2.5px) rotate(2.5deg); 726 | transform: translateY(2.5px) rotate(2.5deg) 727 | } 728 | 54% { 729 | -webkit-transform: translateY(-1.5px) rotate(1.5deg); 730 | transform: translateY(-1.5px) rotate(1.5deg) 731 | } 732 | 56% { 733 | -webkit-transform: translateY(2.5px) rotate(2.5deg); 734 | transform: translateY(2.5px) rotate(2.5deg) 735 | } 736 | 58% { 737 | -webkit-transform: translateY(.5px) rotate(2.5deg); 738 | transform: translateY(.5px) rotate(2.5deg) 739 | } 740 | 60% { 741 | -webkit-transform: translateY(2.5px) rotate(2.5deg); 742 | transform: translateY(2.5px) rotate(2.5deg) 743 | } 744 | 62% { 745 | -webkit-transform: translateY(-.5px) rotate(2.5deg); 746 | transform: translateY(-.5px) rotate(2.5deg) 747 | } 748 | 64% { 749 | -webkit-transform: translateY(-.5px) rotate(1.5deg); 750 | transform: translateY(-.5px) rotate(1.5deg) 751 | } 752 | 66% { 753 | -webkit-transform: translateY(1.5px) rotate(-.5deg); 754 | transform: translateY(1.5px) rotate(-.5deg) 755 | } 756 | 68% { 757 | -webkit-transform: translateY(-1.5px) rotate(-.5deg); 758 | transform: translateY(-1.5px) rotate(-.5deg) 759 | } 760 | 70% { 761 | -webkit-transform: translateY(1.5px) rotate(.5deg); 762 | transform: translateY(1.5px) rotate(.5deg) 763 | } 764 | 72% { 765 | -webkit-transform: translateY(2.5px) rotate(1.5deg); 766 | transform: translateY(2.5px) rotate(1.5deg) 767 | } 768 | 74% { 769 | -webkit-transform: translateY(-.5px) rotate(.5deg); 770 | transform: translateY(-.5px) rotate(.5deg) 771 | } 772 | 76% { 773 | -webkit-transform: translateY(-.5px) rotate(2.5deg); 774 | transform: translateY(-.5px) rotate(2.5deg) 775 | } 776 | 78% { 777 | -webkit-transform: translateY(-.5px) rotate(1.5deg); 778 | transform: translateY(-.5px) rotate(1.5deg) 779 | } 780 | 80% { 781 | -webkit-transform: translateY(1.5px) rotate(1.5deg); 782 | transform: translateY(1.5px) rotate(1.5deg) 783 | } 784 | 82% { 785 | -webkit-transform: translateY(-.5px) rotate(.5deg); 786 | transform: translateY(-.5px) rotate(.5deg) 787 | } 788 | 84% { 789 | -webkit-transform: translateY(1.5px) rotate(2.5deg); 790 | transform: translateY(1.5px) rotate(2.5deg) 791 | } 792 | 86% { 793 | -webkit-transform: translateY(-1.5px) rotate(-1.5deg); 794 | transform: translateY(-1.5px) rotate(-1.5deg) 795 | } 796 | 88% { 797 | -webkit-transform: translateY(-.5px) rotate(2.5deg); 798 | transform: translateY(-.5px) rotate(2.5deg) 799 | } 800 | 90% { 801 | -webkit-transform: translateY(2.5px) rotate(-.5deg); 802 | transform: translateY(2.5px) rotate(-.5deg) 803 | } 804 | 92% { 805 | -webkit-transform: translateY(.5px) rotate(-.5deg); 806 | transform: translateY(.5px) rotate(-.5deg) 807 | } 808 | 94% { 809 | -webkit-transform: translateY(2.5px) rotate(.5deg); 810 | transform: translateY(2.5px) rotate(.5deg) 811 | } 812 | 96% { 813 | -webkit-transform: translateY(-.5px) rotate(1.5deg); 814 | transform: translateY(-.5px) rotate(1.5deg) 815 | } 816 | 98% { 817 | -webkit-transform: translateY(-1.5px) rotate(-.5deg); 818 | transform: translateY(-1.5px) rotate(-.5deg) 819 | } 820 | 0%, to { 821 | -webkit-transform: translate(0) rotate(0deg); 822 | transform: translate(0) rotate(0deg) 823 | } 824 | } 825 | 826 | @keyframes dance { 827 | 2% { 828 | -webkit-transform: translateY(1.5px) rotate(1.5deg); 829 | transform: translateY(1.5px) rotate(1.5deg) 830 | } 831 | 4% { 832 | -webkit-transform: translateY(-1.5px) rotate(-.5deg); 833 | transform: translateY(-1.5px) rotate(-.5deg) 834 | } 835 | 6% { 836 | -webkit-transform: translateY(1.5px) rotate(-1.5deg); 837 | transform: translateY(1.5px) rotate(-1.5deg) 838 | } 839 | 8% { 840 | -webkit-transform: translateY(-1.5px) rotate(-1.5deg); 841 | transform: translateY(-1.5px) rotate(-1.5deg) 842 | } 843 | 10% { 844 | -webkit-transform: translateY(2.5px) rotate(1.5deg); 845 | transform: translateY(2.5px) rotate(1.5deg) 846 | } 847 | 12% { 848 | -webkit-transform: translateY(-.5px) rotate(1.5deg); 849 | transform: translateY(-.5px) rotate(1.5deg) 850 | } 851 | 14% { 852 | -webkit-transform: translateY(-1.5px) rotate(1.5deg); 853 | transform: translateY(-1.5px) rotate(1.5deg) 854 | } 855 | 16% { 856 | -webkit-transform: translateY(-.5px) rotate(-1.5deg); 857 | transform: translateY(-.5px) rotate(-1.5deg) 858 | } 859 | 18% { 860 | -webkit-transform: translateY(.5px) rotate(-1.5deg); 861 | transform: translateY(.5px) rotate(-1.5deg) 862 | } 863 | 20% { 864 | -webkit-transform: translateY(-1.5px) rotate(2.5deg); 865 | transform: translateY(-1.5px) rotate(2.5deg) 866 | } 867 | 22% { 868 | -webkit-transform: translateY(.5px) rotate(-1.5deg); 869 | transform: translateY(.5px) rotate(-1.5deg) 870 | } 871 | 24% { 872 | -webkit-transform: translateY(1.5px) rotate(1.5deg); 873 | transform: translateY(1.5px) rotate(1.5deg) 874 | } 875 | 26% { 876 | -webkit-transform: translateY(.5px) rotate(.5deg); 877 | transform: translateY(.5px) rotate(.5deg) 878 | } 879 | 28% { 880 | -webkit-transform: translateY(.5px) rotate(1.5deg); 881 | transform: translateY(.5px) rotate(1.5deg) 882 | } 883 | 30% { 884 | -webkit-transform: translateY(-.5px) rotate(2.5deg); 885 | transform: translateY(-.5px) rotate(2.5deg) 886 | } 887 | 32% { 888 | -webkit-transform: translateY(1.5px) rotate(-.5deg); 889 | transform: translateY(1.5px) rotate(-.5deg) 890 | } 891 | 34% { 892 | -webkit-transform: translateY(1.5px) rotate(-.5deg); 893 | transform: translateY(1.5px) rotate(-.5deg) 894 | } 895 | 36% { 896 | -webkit-transform: translateY(-1.5px) rotate(2.5deg); 897 | transform: translateY(-1.5px) rotate(2.5deg) 898 | } 899 | 38% { 900 | -webkit-transform: translateY(1.5px) rotate(-1.5deg); 901 | transform: translateY(1.5px) rotate(-1.5deg) 902 | } 903 | 40% { 904 | -webkit-transform: translateY(-.5px) rotate(2.5deg); 905 | transform: translateY(-.5px) rotate(2.5deg) 906 | } 907 | 42% { 908 | -webkit-transform: translateY(2.5px) rotate(-1.5deg); 909 | transform: translateY(2.5px) rotate(-1.5deg) 910 | } 911 | 44% { 912 | -webkit-transform: translateY(1.5px) rotate(.5deg); 913 | transform: translateY(1.5px) rotate(.5deg) 914 | } 915 | 46% { 916 | -webkit-transform: translateY(-1.5px) rotate(2.5deg); 917 | transform: translateY(-1.5px) rotate(2.5deg) 918 | } 919 | 48% { 920 | -webkit-transform: translateY(-.5px) rotate(.5deg); 921 | transform: translateY(-.5px) rotate(.5deg) 922 | } 923 | 50% { 924 | -webkit-transform: translateY(.5px) rotate(.5deg); 925 | transform: translateY(.5px) rotate(.5deg) 926 | } 927 | 52% { 928 | -webkit-transform: translateY(2.5px) rotate(2.5deg); 929 | transform: translateY(2.5px) rotate(2.5deg) 930 | } 931 | 54% { 932 | -webkit-transform: translateY(-1.5px) rotate(1.5deg); 933 | transform: translateY(-1.5px) rotate(1.5deg) 934 | } 935 | 56% { 936 | -webkit-transform: translateY(2.5px) rotate(2.5deg); 937 | transform: translateY(2.5px) rotate(2.5deg) 938 | } 939 | 58% { 940 | -webkit-transform: translateY(.5px) rotate(2.5deg); 941 | transform: translateY(.5px) rotate(2.5deg) 942 | } 943 | 60% { 944 | -webkit-transform: translateY(2.5px) rotate(2.5deg); 945 | transform: translateY(2.5px) rotate(2.5deg) 946 | } 947 | 62% { 948 | -webkit-transform: translateY(-.5px) rotate(2.5deg); 949 | transform: translateY(-.5px) rotate(2.5deg) 950 | } 951 | 64% { 952 | -webkit-transform: translateY(-.5px) rotate(1.5deg); 953 | transform: translateY(-.5px) rotate(1.5deg) 954 | } 955 | 66% { 956 | -webkit-transform: translateY(1.5px) rotate(-.5deg); 957 | transform: translateY(1.5px) rotate(-.5deg) 958 | } 959 | 68% { 960 | -webkit-transform: translateY(-1.5px) rotate(-.5deg); 961 | transform: translateY(-1.5px) rotate(-.5deg) 962 | } 963 | 70% { 964 | -webkit-transform: translateY(1.5px) rotate(.5deg); 965 | transform: translateY(1.5px) rotate(.5deg) 966 | } 967 | 72% { 968 | -webkit-transform: translateY(2.5px) rotate(1.5deg); 969 | transform: translateY(2.5px) rotate(1.5deg) 970 | } 971 | 74% { 972 | -webkit-transform: translateY(-.5px) rotate(.5deg); 973 | transform: translateY(-.5px) rotate(.5deg) 974 | } 975 | 76% { 976 | -webkit-transform: translateY(-.5px) rotate(2.5deg); 977 | transform: translateY(-.5px) rotate(2.5deg) 978 | } 979 | 78% { 980 | -webkit-transform: translateY(-.5px) rotate(1.5deg); 981 | transform: translateY(-.5px) rotate(1.5deg) 982 | } 983 | 80% { 984 | -webkit-transform: translateY(1.5px) rotate(1.5deg); 985 | transform: translateY(1.5px) rotate(1.5deg) 986 | } 987 | 82% { 988 | -webkit-transform: translateY(-.5px) rotate(.5deg); 989 | transform: translateY(-.5px) rotate(.5deg) 990 | } 991 | 84% { 992 | -webkit-transform: translateY(1.5px) rotate(2.5deg); 993 | transform: translateY(1.5px) rotate(2.5deg) 994 | } 995 | 86% { 996 | -webkit-transform: translateY(-1.5px) rotate(-1.5deg); 997 | transform: translateY(-1.5px) rotate(-1.5deg) 998 | } 999 | 88% { 1000 | -webkit-transform: translateY(-.5px) rotate(2.5deg); 1001 | transform: translateY(-.5px) rotate(2.5deg) 1002 | } 1003 | 90% { 1004 | -webkit-transform: translateY(2.5px) rotate(-.5deg); 1005 | transform: translateY(2.5px) rotate(-.5deg) 1006 | } 1007 | 92% { 1008 | -webkit-transform: translateY(.5px) rotate(-.5deg); 1009 | transform: translateY(.5px) rotate(-.5deg) 1010 | } 1011 | 94% { 1012 | -webkit-transform: translateY(2.5px) rotate(.5deg); 1013 | transform: translateY(2.5px) rotate(.5deg) 1014 | } 1015 | 96% { 1016 | -webkit-transform: translateY(-.5px) rotate(1.5deg); 1017 | transform: translateY(-.5px) rotate(1.5deg) 1018 | } 1019 | 98% { 1020 | -webkit-transform: translateY(-1.5px) rotate(-.5deg); 1021 | transform: translateY(-1.5px) rotate(-.5deg) 1022 | } 1023 | 0%, to { 1024 | -webkit-transform: translate(0) rotate(0deg); 1025 | transform: translate(0) rotate(0deg) 1026 | } 1027 | } 1028 | -------------------------------------------------------------------------------- /css/detail.css.bak: -------------------------------------------------------------------------------- 1 | 2 | fieldset { 3 | border: 1px solid #eee; 4 | border-radius: 3px; 5 | padding: 10px 15px; 6 | } 7 | 8 | fieldset > legend { 9 | background-color: #eb5055; 10 | color: #fff; 11 | border-radius: 2px; 12 | padding: 2px 5px; 13 | font-size: 12px; 14 | } 15 | 16 | .article_label { 17 | font-size: 14px; 18 | word-wrap: break-word; 19 | word-break: break-word; 20 | margin: 0; 21 | padding: 15px 0 15px; 22 | } 23 | 24 | .article_label a { 25 | font-size: 13px; 26 | font-weight: 600; 27 | display: inline-block; 28 | margin: 4px 8px 0 0; 29 | padding: 0 15px; 30 | -webkit-transition-duration: .4s; 31 | transition-duration: .4s; 32 | letter-spacing: 0; 33 | } 34 | 35 | .article_label a:nth-child(n) { 36 | color: #fff; 37 | border: 1px solid #b952c5; 38 | border-radius: 15px; 39 | background: #b952c5; 40 | } 41 | 42 | .article_label a:nth-child(2n) { 43 | color: #fff; 44 | border: 1px solid #ff9800; 45 | border-radius: 15px; 46 | background: #ff9800; 47 | } 48 | 49 | .article_label a:nth-child(3n) { 50 | color: #fff; 51 | border: 1px solid #46c47c; 52 | border-radius: 15px; 53 | background: #46c47c; 54 | } 55 | 56 | .article_label a:nth-child(4n) { 57 | color: #fff; 58 | border: 1px solid #6fa3ef; 59 | border-radius: 15px; 60 | background: #6fa3ef; 61 | } 62 | 63 | .article_label a:nth-child(5n) { 64 | color: #fff; 65 | border: 1px solid #EE2C2C; 66 | border-radius: 15px; 67 | background: #EE2C2C; 68 | } 69 | 70 | .article_label a:hover{ 71 | color: #5f5f5f; 72 | border: 1px solid #f7f7f7; 73 | outline-style: none; 74 | background: #f7f7f7; 75 | } 76 | 77 | .detail_info { 78 | font-size: 13px; 79 | color: #a5a5a5; 80 | text-decoration: none; 81 | text-shadow: 0 0 2px #fff; 82 | padding-bottom: 20px; 83 | border-bottom: 1px dashed #c5c5c5; 84 | } 85 | 86 | .detail_info span { 87 | margin-right: 15px; 88 | display: inline-block; 89 | } 90 | 91 | .detail_info span i { 92 | margin: 0 5px 0 5px; 93 | } 94 | 95 | .detail_content { 96 | margin-top: 30px; 97 | } 98 | 99 | .detail_content > div { 100 | margin-top: 30px; 101 | } 102 | 103 | .detail_comment { 104 | margin-top: 70px; 105 | } 106 | 107 | .reply_comment { 108 | margin-top: 10px; 109 | } 110 | 111 | .detail_comment > h3 { 112 | border-left: 4px solid #eb5055; 113 | padding-left: 10px; 114 | font-size: 16px; 115 | display: inline-block; 116 | line-height: 30px; 117 | margin-bottom: 5px; 118 | } 119 | 120 | .detail_comment > form > ul, #reply_form > ul { 121 | margin-top: 20px; 122 | overflow: hidden; 123 | } 124 | 125 | .detail_comment > form > ul > li:first-child, #reply_form > ul > li:first-child { 126 | position: relative; 127 | bottom: 3px; 128 | width: 14%; 129 | text-align: center; 130 | } 131 | 132 | .detail_comment > form > ul > li:last-child, #reply_form > ul > li:last-child { 133 | margin-left: 30px; 134 | } 135 | 136 | .detail_comment > form > ul > li, #reply_form > ul > li { 137 | float: left; 138 | overflow: hidden; 139 | box-sizing: border-box; 140 | padding-right: 30px; 141 | padding-bottom: 10px; 142 | } 143 | 144 | input[type=text] { 145 | width: 100%; 146 | height: 20px; 147 | background: #F7F7F9; 148 | border: 1px solid #D3D3D7; 149 | border-radius: 5px; 150 | font-size: 14px; 151 | color: black; 152 | padding: 6px 8px; 153 | outline: none; 154 | } 155 | 156 | label { 157 | font-size: 12px; 158 | line-height: 20px; 159 | padding-bottom: 5px; 160 | display: block; 161 | } 162 | 163 | .detail_editor { 164 | padding: 10px 0; 165 | } 166 | 167 | .headImg { 168 | background-color: rgba(0, 0, 0, .4); 169 | text-align: center; 170 | width: 250px; 171 | height: 256px; 172 | position: fixed; 173 | top: calc(50% - 130px); 174 | left: calc(50% - 128px); 175 | z-index: 5; 176 | } 177 | 178 | .headImg ul { 179 | overflow: hidden; 180 | padding: 10px; 181 | } 182 | 183 | .headImg ul li { 184 | overflow: hidden; 185 | display: block; 186 | width: 24%; 187 | padding-top: 5px; 188 | float: left; 189 | } 190 | 191 | .headImg ul li img { 192 | border-radius: 50px; 193 | cursor: pointer; 194 | -webkit-transition: all .3s; 195 | -moz-transition: all .3s; 196 | -ms-transition: all .3s; 197 | -o-transition: all .3s; 198 | transition: all .3s; 199 | } 200 | 201 | .headImg ul li img:hover { 202 | transform: scale(1.3); 203 | } 204 | 205 | .close { 206 | position: absolute; 207 | top: 5px; 208 | right: 5px; 209 | cursor: pointer; 210 | } 211 | 212 | .close i { 213 | font-size: 14px; 214 | color: #EE2C2C; 215 | margin-right: 5px; 216 | } 217 | 218 | #commentHeadImage, #replyHeadImage { 219 | z-index: 2; 220 | border-radius: 50px; 221 | cursor: pointer; 222 | -webkit-transition: all .3s; 223 | -moz-transition: all .3s; 224 | -ms-transition: all .3s; 225 | -o-transition: all .3s; 226 | transition: all .3s; 227 | } 228 | 229 | #commentHeadImage:hover, #replyHeadImage:hover { 230 | transform: scale(1.3); 231 | } 232 | 233 | .email_reply, .email_comment { 234 | position: relative; 235 | float: left; 236 | height: 24px; 237 | margin-bottom: 3px; 238 | vertical-align: middle; 239 | cursor: pointer; 240 | } 241 | 242 | .email_comment span, .email_reply span { 243 | position: relative; 244 | font-size: 14px; 245 | margin-left: 10px; 246 | bottom: 6px; 247 | cursor: pointer; 248 | } 249 | 250 | .email_comment:before, .email_reply:before { 251 | display: inline-block; 252 | position: relative; 253 | content: ''; 254 | width: 45px; 255 | height: 24px; 256 | background-color: #D8D8D8; 257 | border-radius: 100px; 258 | transition: background-color .5s; 259 | } 260 | 261 | .email_comment:after, .email_reply:after { 262 | position: absolute; 263 | left: 4px; 264 | top: 4px; 265 | content: ''; 266 | width: 16px; 267 | height: 16px; 268 | border-radius: 50%; 269 | background-color: #fff; 270 | transition: transform 0.3s ease-in; 271 | } 272 | 273 | #email_reply:checked + .email_reply:before { 274 | background-color: #EE2C2C; 275 | } 276 | 277 | #email_reply:checked + .email_reply:after { 278 | transform: translateX(130%); 279 | } 280 | 281 | #email_comment:checked + .email_comment:before { 282 | background-color: #EE2C2C; 283 | } 284 | 285 | #email_comment:checked + .email_comment:after { 286 | transform: translateX(130%); 287 | } 288 | 289 | #email_reply, #email_comment { 290 | display: none; 291 | } 292 | 293 | .commit_comment, .reply_commit { 294 | border-radius: 5px; 295 | color: #FFFFFF; 296 | font-size: 12px; 297 | padding: 2px 20px; 298 | line-height: 25px; 299 | width: auto; 300 | float: right; 301 | background-color: #EE2C2C; 302 | cursor: pointer; 303 | } 304 | 305 | .submit_info { 306 | overflow: hidden; 307 | text-align: center; 308 | vertical-align: middle; 309 | } 310 | 311 | .commentHeadImg { 312 | position: absolute; 313 | } 314 | 315 | .commentHeadImg img { 316 | width: 48px; 317 | height: 48px; 318 | border-radius: 50%; 319 | border: 0; 320 | vertical-align: middle; 321 | user-select: none; 322 | } 323 | 324 | .replyHeadImg { 325 | position: absolute; 326 | } 327 | 328 | .replyHeadImg img { 329 | width: 35px; 330 | height: 35px; 331 | border-radius: 50%; 332 | border: 0; 333 | vertical-align: middle; 334 | user-select: none; 335 | } 336 | 337 | .comment { 338 | margin-left: 75px; 339 | } 340 | 341 | .comment_reply { 342 | margin-left: 50px; 343 | } 344 | 345 | .comment > h3, .comment_reply > h3 { 346 | line-height: 18px; 347 | padding-bottom: 4px; 348 | display: block; 349 | word-wrap: break-word; 350 | text-decoration: none; 351 | font-size: 12px; 352 | font-weight: 700; 353 | color: #6d757a; 354 | cursor: pointer; 355 | } 356 | 357 | .comment > span, .comment_reply > span { 358 | line-height: 25px; 359 | padding: 2px 0; 360 | font-size: 14px; 361 | text-shadow: none; 362 | overflow: hidden; 363 | word-wrap: break-word; 364 | word-break: break-word; 365 | } 366 | 367 | .comment > span img, .comment_reply > span img { 368 | width: 78px; 369 | height: 78px; 370 | } 371 | 372 | .comment > p, .comment_reply > p { 373 | margin-top: 4px; 374 | margin-bottom: 8px; 375 | font-size: 13px; 376 | color: #99a2aa; 377 | } 378 | 379 | .article_comment { 380 | margin-top: 20px; 381 | } 382 | 383 | .reply { 384 | margin-left: 10px; 385 | cursor: pointer; 386 | } 387 | 388 | .reply:hover { 389 | color: #EE2C2C; 390 | } 391 | 392 | .article_reply { 393 | margin-top: 20px; 394 | margin-left: 75px; 395 | } 396 | 397 | .reply_sign { 398 | font-size: 12px; 399 | color: #EE2C2C; 400 | } 401 | 402 | #commentBox > li { 403 | padding-top: 20px; 404 | } 405 | 406 | #commentBox > li:after { 407 | margin-left: 75px; 408 | content: ""; 409 | display: block; 410 | height: 1px; 411 | background-color: #e5e9ef; 412 | margin-top: 20px; 413 | } 414 | 415 | .prise { 416 | user-select: none; 417 | border-top: 1px solid #eee; 418 | border-bottom: 1px solid #eee; 419 | padding: 15px 5px; 420 | margin: 10px 0; 421 | text-align: center; 422 | -webkit-transition: .4s; 423 | -moz-transition: .4s; 424 | -o-transition: .4s; 425 | -ms-transition: .4s; 426 | opacity: .3; 427 | } 428 | 429 | .prise:hover { 430 | opacity: 1; 431 | } 432 | 433 | .prise > div { 434 | display: inline-block; 435 | margin-right: 15px; 436 | padding-left: 35px; 437 | position: relative; 438 | cursor: pointer; 439 | } 440 | 441 | .likeHeart, .likeHeart:before, .likeHeart:after { 442 | background: url(../images/like_heart.png); 443 | background-position: left; 444 | background-repeat: no-repeat; 445 | height: 80px; 446 | width: 80px; 447 | cursor: pointer; 448 | position: absolute; 449 | left: -25px; 450 | top: -30px; 451 | background-size: 2900%; 452 | } 453 | 454 | .like:hover { 455 | background: 0; 456 | } 457 | 458 | .like:hover .likeHeart { 459 | background-position: right; 460 | } 461 | 462 | .like:hover .likeHeart:before { 463 | content: ''; 464 | background-position: right; 465 | position: absolute; 466 | -webkit-animation: i-like 2.13584698s infinite; 467 | animation: i-like 2.13584698s infinite; 468 | z-index: 0; 469 | } 470 | 471 | .like:hover .likeHeart:after { 472 | content: ''; 473 | background-position: right; 474 | position: absolute; 475 | -webkit-animation: i-like 3.141592653s infinite; 476 | animation: i-like 3.141592653s infinite; 477 | } 478 | 479 | .prise i { 480 | font-size: 28px; 481 | position: absolute; 482 | width: 30px; 483 | left: 0; 484 | top: -5px; 485 | color: #aab8c2; 486 | } 487 | 488 | .priseImg { 489 | position: fixed; 490 | display: none; 491 | background-color: #FFFFFF; 492 | padding-top: 10px; 493 | top: calc(50% - 100px); 494 | left: calc(50% - 200px); 495 | -webkit-animation: dance 5s infinite ease-in-out; 496 | animation: dance 5s infinite ease-in-out; 497 | } 498 | 499 | .weChatPay { 500 | float: left; 501 | } 502 | 503 | .aliPay { 504 | float: right; 505 | } 506 | 507 | .pay:hover .priseImg { 508 | display: block; 509 | } 510 | 511 | .pay img { 512 | padding: 10px; 513 | } 514 | 515 | .mobile{ 516 | display: none; 517 | } 518 | 519 | @media screen and (max-width: 500px) { 520 | .w700 { 521 | width: 90%; 522 | padding: 20px 10px 0 10px; 523 | } 524 | 525 | .detail_comment > form > ul > li:first-child, #reply_form > ul > li:first-child { 526 | width: 20%; 527 | } 528 | 529 | .detail_comment > form > ul > li, #reply_form > ul > li { 530 | padding-bottom: 0; 531 | width: 40%; 532 | } 533 | 534 | .detail_comment > form > ul > li:last-child, #reply_form > ul > li:last-child { 535 | margin-left: 0; 536 | } 537 | 538 | .article_reply{ 539 | margin-left: 12px; 540 | } 541 | 542 | #commentBox > li:after{ 543 | margin-left: 2px; 544 | } 545 | 546 | .comment .reply_comment{ 547 | margin-left: -75px; 548 | } 549 | 550 | .comment_reply .reply_comment{ 551 | margin-left: -62px; 552 | } 553 | 554 | .w-e-panel-container{ 555 | width: 320px!important; 556 | } 557 | 558 | .priseImg img{ 559 | width: 100px; 560 | height: 100px; 561 | } 562 | 563 | .priseImg{ 564 | top: calc(50% - 50px); 565 | left: calc(50% - 120px); 566 | } 567 | 568 | .mobile{ 569 | display: block; 570 | } 571 | 572 | } 573 | 574 | @-webkit-keyframes i-like { 575 | 0% { 576 | -webkit-transform: translateY(29px); 577 | transform: translateY(29px); 578 | margin-left: 25px 579 | } 580 | 20% { 581 | margin-left: 35px 582 | } 583 | 40% { 584 | margin-left: -6px 585 | } 586 | 60% { 587 | margin-left: 4px 588 | } 589 | 80% { 590 | margin-left: -2px 591 | } 592 | 100% { 593 | opacity: 0; 594 | -webkit-transform: translateY(-50px) rotate(180deg) scale(.5); 595 | transform: translateY(-50px) rotate(180deg) scale(.5) 596 | } 597 | } 598 | 599 | @keyframes i-like { 600 | 0% { 601 | -webkit-transform: translateY(29px); 602 | transform: translateY(29px); 603 | margin-left: 25px 604 | } 605 | 20% { 606 | margin-left: 35px 607 | } 608 | 40% { 609 | margin-left: -6px 610 | } 611 | 60% { 612 | margin-left: 4px 613 | } 614 | 80% { 615 | margin-left: -2px 616 | } 617 | 100% { 618 | opacity: 0; 619 | -webkit-transform: translateY(-50px) rotate(180deg) scale(.5); 620 | transform: translateY(-50px) rotate(180deg) scale(.5) 621 | } 622 | } 623 | 624 | @-webkit-keyframes dance { 625 | 2% { 626 | -webkit-transform: translateY(1.5px) rotate(1.5deg); 627 | transform: translateY(1.5px) rotate(1.5deg) 628 | } 629 | 4% { 630 | -webkit-transform: translateY(-1.5px) rotate(-.5deg); 631 | transform: translateY(-1.5px) rotate(-.5deg) 632 | } 633 | 6% { 634 | -webkit-transform: translateY(1.5px) rotate(-1.5deg); 635 | transform: translateY(1.5px) rotate(-1.5deg) 636 | } 637 | 8% { 638 | -webkit-transform: translateY(-1.5px) rotate(-1.5deg); 639 | transform: translateY(-1.5px) rotate(-1.5deg) 640 | } 641 | 10% { 642 | -webkit-transform: translateY(2.5px) rotate(1.5deg); 643 | transform: translateY(2.5px) rotate(1.5deg) 644 | } 645 | 12% { 646 | -webkit-transform: translateY(-.5px) rotate(1.5deg); 647 | transform: translateY(-.5px) rotate(1.5deg) 648 | } 649 | 14% { 650 | -webkit-transform: translateY(-1.5px) rotate(1.5deg); 651 | transform: translateY(-1.5px) rotate(1.5deg) 652 | } 653 | 16% { 654 | -webkit-transform: translateY(-.5px) rotate(-1.5deg); 655 | transform: translateY(-.5px) rotate(-1.5deg) 656 | } 657 | 18% { 658 | -webkit-transform: translateY(.5px) rotate(-1.5deg); 659 | transform: translateY(.5px) rotate(-1.5deg) 660 | } 661 | 20% { 662 | -webkit-transform: translateY(-1.5px) rotate(2.5deg); 663 | transform: translateY(-1.5px) rotate(2.5deg) 664 | } 665 | 22% { 666 | -webkit-transform: translateY(.5px) rotate(-1.5deg); 667 | transform: translateY(.5px) rotate(-1.5deg) 668 | } 669 | 24% { 670 | -webkit-transform: translateY(1.5px) rotate(1.5deg); 671 | transform: translateY(1.5px) rotate(1.5deg) 672 | } 673 | 26% { 674 | -webkit-transform: translateY(.5px) rotate(.5deg); 675 | transform: translateY(.5px) rotate(.5deg) 676 | } 677 | 28% { 678 | -webkit-transform: translateY(.5px) rotate(1.5deg); 679 | transform: translateY(.5px) rotate(1.5deg) 680 | } 681 | 30% { 682 | -webkit-transform: translateY(-.5px) rotate(2.5deg); 683 | transform: translateY(-.5px) rotate(2.5deg) 684 | } 685 | 32% { 686 | -webkit-transform: translateY(1.5px) rotate(-.5deg); 687 | transform: translateY(1.5px) rotate(-.5deg) 688 | } 689 | 34% { 690 | -webkit-transform: translateY(1.5px) rotate(-.5deg); 691 | transform: translateY(1.5px) rotate(-.5deg) 692 | } 693 | 36% { 694 | -webkit-transform: translateY(-1.5px) rotate(2.5deg); 695 | transform: translateY(-1.5px) rotate(2.5deg) 696 | } 697 | 38% { 698 | -webkit-transform: translateY(1.5px) rotate(-1.5deg); 699 | transform: translateY(1.5px) rotate(-1.5deg) 700 | } 701 | 40% { 702 | -webkit-transform: translateY(-.5px) rotate(2.5deg); 703 | transform: translateY(-.5px) rotate(2.5deg) 704 | } 705 | 42% { 706 | -webkit-transform: translateY(2.5px) rotate(-1.5deg); 707 | transform: translateY(2.5px) rotate(-1.5deg) 708 | } 709 | 44% { 710 | -webkit-transform: translateY(1.5px) rotate(.5deg); 711 | transform: translateY(1.5px) rotate(.5deg) 712 | } 713 | 46% { 714 | -webkit-transform: translateY(-1.5px) rotate(2.5deg); 715 | transform: translateY(-1.5px) rotate(2.5deg) 716 | } 717 | 48% { 718 | -webkit-transform: translateY(-.5px) rotate(.5deg); 719 | transform: translateY(-.5px) rotate(.5deg) 720 | } 721 | 50% { 722 | -webkit-transform: translateY(.5px) rotate(.5deg); 723 | transform: translateY(.5px) rotate(.5deg) 724 | } 725 | 52% { 726 | -webkit-transform: translateY(2.5px) rotate(2.5deg); 727 | transform: translateY(2.5px) rotate(2.5deg) 728 | } 729 | 54% { 730 | -webkit-transform: translateY(-1.5px) rotate(1.5deg); 731 | transform: translateY(-1.5px) rotate(1.5deg) 732 | } 733 | 56% { 734 | -webkit-transform: translateY(2.5px) rotate(2.5deg); 735 | transform: translateY(2.5px) rotate(2.5deg) 736 | } 737 | 58% { 738 | -webkit-transform: translateY(.5px) rotate(2.5deg); 739 | transform: translateY(.5px) rotate(2.5deg) 740 | } 741 | 60% { 742 | -webkit-transform: translateY(2.5px) rotate(2.5deg); 743 | transform: translateY(2.5px) rotate(2.5deg) 744 | } 745 | 62% { 746 | -webkit-transform: translateY(-.5px) rotate(2.5deg); 747 | transform: translateY(-.5px) rotate(2.5deg) 748 | } 749 | 64% { 750 | -webkit-transform: translateY(-.5px) rotate(1.5deg); 751 | transform: translateY(-.5px) rotate(1.5deg) 752 | } 753 | 66% { 754 | -webkit-transform: translateY(1.5px) rotate(-.5deg); 755 | transform: translateY(1.5px) rotate(-.5deg) 756 | } 757 | 68% { 758 | -webkit-transform: translateY(-1.5px) rotate(-.5deg); 759 | transform: translateY(-1.5px) rotate(-.5deg) 760 | } 761 | 70% { 762 | -webkit-transform: translateY(1.5px) rotate(.5deg); 763 | transform: translateY(1.5px) rotate(.5deg) 764 | } 765 | 72% { 766 | -webkit-transform: translateY(2.5px) rotate(1.5deg); 767 | transform: translateY(2.5px) rotate(1.5deg) 768 | } 769 | 74% { 770 | -webkit-transform: translateY(-.5px) rotate(.5deg); 771 | transform: translateY(-.5px) rotate(.5deg) 772 | } 773 | 76% { 774 | -webkit-transform: translateY(-.5px) rotate(2.5deg); 775 | transform: translateY(-.5px) rotate(2.5deg) 776 | } 777 | 78% { 778 | -webkit-transform: translateY(-.5px) rotate(1.5deg); 779 | transform: translateY(-.5px) rotate(1.5deg) 780 | } 781 | 80% { 782 | -webkit-transform: translateY(1.5px) rotate(1.5deg); 783 | transform: translateY(1.5px) rotate(1.5deg) 784 | } 785 | 82% { 786 | -webkit-transform: translateY(-.5px) rotate(.5deg); 787 | transform: translateY(-.5px) rotate(.5deg) 788 | } 789 | 84% { 790 | -webkit-transform: translateY(1.5px) rotate(2.5deg); 791 | transform: translateY(1.5px) rotate(2.5deg) 792 | } 793 | 86% { 794 | -webkit-transform: translateY(-1.5px) rotate(-1.5deg); 795 | transform: translateY(-1.5px) rotate(-1.5deg) 796 | } 797 | 88% { 798 | -webkit-transform: translateY(-.5px) rotate(2.5deg); 799 | transform: translateY(-.5px) rotate(2.5deg) 800 | } 801 | 90% { 802 | -webkit-transform: translateY(2.5px) rotate(-.5deg); 803 | transform: translateY(2.5px) rotate(-.5deg) 804 | } 805 | 92% { 806 | -webkit-transform: translateY(.5px) rotate(-.5deg); 807 | transform: translateY(.5px) rotate(-.5deg) 808 | } 809 | 94% { 810 | -webkit-transform: translateY(2.5px) rotate(.5deg); 811 | transform: translateY(2.5px) rotate(.5deg) 812 | } 813 | 96% { 814 | -webkit-transform: translateY(-.5px) rotate(1.5deg); 815 | transform: translateY(-.5px) rotate(1.5deg) 816 | } 817 | 98% { 818 | -webkit-transform: translateY(-1.5px) rotate(-.5deg); 819 | transform: translateY(-1.5px) rotate(-.5deg) 820 | } 821 | 0%, to { 822 | -webkit-transform: translate(0) rotate(0deg); 823 | transform: translate(0) rotate(0deg) 824 | } 825 | } 826 | 827 | @keyframes dance { 828 | 2% { 829 | -webkit-transform: translateY(1.5px) rotate(1.5deg); 830 | transform: translateY(1.5px) rotate(1.5deg) 831 | } 832 | 4% { 833 | -webkit-transform: translateY(-1.5px) rotate(-.5deg); 834 | transform: translateY(-1.5px) rotate(-.5deg) 835 | } 836 | 6% { 837 | -webkit-transform: translateY(1.5px) rotate(-1.5deg); 838 | transform: translateY(1.5px) rotate(-1.5deg) 839 | } 840 | 8% { 841 | -webkit-transform: translateY(-1.5px) rotate(-1.5deg); 842 | transform: translateY(-1.5px) rotate(-1.5deg) 843 | } 844 | 10% { 845 | -webkit-transform: translateY(2.5px) rotate(1.5deg); 846 | transform: translateY(2.5px) rotate(1.5deg) 847 | } 848 | 12% { 849 | -webkit-transform: translateY(-.5px) rotate(1.5deg); 850 | transform: translateY(-.5px) rotate(1.5deg) 851 | } 852 | 14% { 853 | -webkit-transform: translateY(-1.5px) rotate(1.5deg); 854 | transform: translateY(-1.5px) rotate(1.5deg) 855 | } 856 | 16% { 857 | -webkit-transform: translateY(-.5px) rotate(-1.5deg); 858 | transform: translateY(-.5px) rotate(-1.5deg) 859 | } 860 | 18% { 861 | -webkit-transform: translateY(.5px) rotate(-1.5deg); 862 | transform: translateY(.5px) rotate(-1.5deg) 863 | } 864 | 20% { 865 | -webkit-transform: translateY(-1.5px) rotate(2.5deg); 866 | transform: translateY(-1.5px) rotate(2.5deg) 867 | } 868 | 22% { 869 | -webkit-transform: translateY(.5px) rotate(-1.5deg); 870 | transform: translateY(.5px) rotate(-1.5deg) 871 | } 872 | 24% { 873 | -webkit-transform: translateY(1.5px) rotate(1.5deg); 874 | transform: translateY(1.5px) rotate(1.5deg) 875 | } 876 | 26% { 877 | -webkit-transform: translateY(.5px) rotate(.5deg); 878 | transform: translateY(.5px) rotate(.5deg) 879 | } 880 | 28% { 881 | -webkit-transform: translateY(.5px) rotate(1.5deg); 882 | transform: translateY(.5px) rotate(1.5deg) 883 | } 884 | 30% { 885 | -webkit-transform: translateY(-.5px) rotate(2.5deg); 886 | transform: translateY(-.5px) rotate(2.5deg) 887 | } 888 | 32% { 889 | -webkit-transform: translateY(1.5px) rotate(-.5deg); 890 | transform: translateY(1.5px) rotate(-.5deg) 891 | } 892 | 34% { 893 | -webkit-transform: translateY(1.5px) rotate(-.5deg); 894 | transform: translateY(1.5px) rotate(-.5deg) 895 | } 896 | 36% { 897 | -webkit-transform: translateY(-1.5px) rotate(2.5deg); 898 | transform: translateY(-1.5px) rotate(2.5deg) 899 | } 900 | 38% { 901 | -webkit-transform: translateY(1.5px) rotate(-1.5deg); 902 | transform: translateY(1.5px) rotate(-1.5deg) 903 | } 904 | 40% { 905 | -webkit-transform: translateY(-.5px) rotate(2.5deg); 906 | transform: translateY(-.5px) rotate(2.5deg) 907 | } 908 | 42% { 909 | -webkit-transform: translateY(2.5px) rotate(-1.5deg); 910 | transform: translateY(2.5px) rotate(-1.5deg) 911 | } 912 | 44% { 913 | -webkit-transform: translateY(1.5px) rotate(.5deg); 914 | transform: translateY(1.5px) rotate(.5deg) 915 | } 916 | 46% { 917 | -webkit-transform: translateY(-1.5px) rotate(2.5deg); 918 | transform: translateY(-1.5px) rotate(2.5deg) 919 | } 920 | 48% { 921 | -webkit-transform: translateY(-.5px) rotate(.5deg); 922 | transform: translateY(-.5px) rotate(.5deg) 923 | } 924 | 50% { 925 | -webkit-transform: translateY(.5px) rotate(.5deg); 926 | transform: translateY(.5px) rotate(.5deg) 927 | } 928 | 52% { 929 | -webkit-transform: translateY(2.5px) rotate(2.5deg); 930 | transform: translateY(2.5px) rotate(2.5deg) 931 | } 932 | 54% { 933 | -webkit-transform: translateY(-1.5px) rotate(1.5deg); 934 | transform: translateY(-1.5px) rotate(1.5deg) 935 | } 936 | 56% { 937 | -webkit-transform: translateY(2.5px) rotate(2.5deg); 938 | transform: translateY(2.5px) rotate(2.5deg) 939 | } 940 | 58% { 941 | -webkit-transform: translateY(.5px) rotate(2.5deg); 942 | transform: translateY(.5px) rotate(2.5deg) 943 | } 944 | 60% { 945 | -webkit-transform: translateY(2.5px) rotate(2.5deg); 946 | transform: translateY(2.5px) rotate(2.5deg) 947 | } 948 | 62% { 949 | -webkit-transform: translateY(-.5px) rotate(2.5deg); 950 | transform: translateY(-.5px) rotate(2.5deg) 951 | } 952 | 64% { 953 | -webkit-transform: translateY(-.5px) rotate(1.5deg); 954 | transform: translateY(-.5px) rotate(1.5deg) 955 | } 956 | 66% { 957 | -webkit-transform: translateY(1.5px) rotate(-.5deg); 958 | transform: translateY(1.5px) rotate(-.5deg) 959 | } 960 | 68% { 961 | -webkit-transform: translateY(-1.5px) rotate(-.5deg); 962 | transform: translateY(-1.5px) rotate(-.5deg) 963 | } 964 | 70% { 965 | -webkit-transform: translateY(1.5px) rotate(.5deg); 966 | transform: translateY(1.5px) rotate(.5deg) 967 | } 968 | 72% { 969 | -webkit-transform: translateY(2.5px) rotate(1.5deg); 970 | transform: translateY(2.5px) rotate(1.5deg) 971 | } 972 | 74% { 973 | -webkit-transform: translateY(-.5px) rotate(.5deg); 974 | transform: translateY(-.5px) rotate(.5deg) 975 | } 976 | 76% { 977 | -webkit-transform: translateY(-.5px) rotate(2.5deg); 978 | transform: translateY(-.5px) rotate(2.5deg) 979 | } 980 | 78% { 981 | -webkit-transform: translateY(-.5px) rotate(1.5deg); 982 | transform: translateY(-.5px) rotate(1.5deg) 983 | } 984 | 80% { 985 | -webkit-transform: translateY(1.5px) rotate(1.5deg); 986 | transform: translateY(1.5px) rotate(1.5deg) 987 | } 988 | 82% { 989 | -webkit-transform: translateY(-.5px) rotate(.5deg); 990 | transform: translateY(-.5px) rotate(.5deg) 991 | } 992 | 84% { 993 | -webkit-transform: translateY(1.5px) rotate(2.5deg); 994 | transform: translateY(1.5px) rotate(2.5deg) 995 | } 996 | 86% { 997 | -webkit-transform: translateY(-1.5px) rotate(-1.5deg); 998 | transform: translateY(-1.5px) rotate(-1.5deg) 999 | } 1000 | 88% { 1001 | -webkit-transform: translateY(-.5px) rotate(2.5deg); 1002 | transform: translateY(-.5px) rotate(2.5deg) 1003 | } 1004 | 90% { 1005 | -webkit-transform: translateY(2.5px) rotate(-.5deg); 1006 | transform: translateY(2.5px) rotate(-.5deg) 1007 | } 1008 | 92% { 1009 | -webkit-transform: translateY(.5px) rotate(-.5deg); 1010 | transform: translateY(.5px) rotate(-.5deg) 1011 | } 1012 | 94% { 1013 | -webkit-transform: translateY(2.5px) rotate(.5deg); 1014 | transform: translateY(2.5px) rotate(.5deg) 1015 | } 1016 | 96% { 1017 | -webkit-transform: translateY(-.5px) rotate(1.5deg); 1018 | transform: translateY(-.5px) rotate(1.5deg) 1019 | } 1020 | 98% { 1021 | -webkit-transform: translateY(-1.5px) rotate(-.5deg); 1022 | transform: translateY(-1.5px) rotate(-.5deg) 1023 | } 1024 | 0%, to { 1025 | -webkit-transform: translate(0) rotate(0deg); 1026 | transform: translate(0) rotate(0deg) 1027 | } 1028 | } 1029 | --------------------------------------------------------------------------------
发表评论
21 | 42 |