webxc 1.0.4 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Binary file
Binary file
Binary file
package/css/link.css ADDED
@@ -0,0 +1 @@
1
+ .flink-item-icon{margin-right:0 !important;transition:0.5s !important;}.flink-item-name,.flink-item-desc{padding-left:10px !important;}#article-container .flink .flink-list>.flink-list-item::before{content:none;}#article-container .flink .flink-list>.flink-list-item:hover{background-color:#61bcf2cc;box-shadow:0 0 20px rgba(0,0,0,0.3);}#article-container .flink .flink-list>.flink-list-item:hover a{color:white !important;}#article-container .flink .flink-list>.flink-list-item:hover .flink-item-icon{width:60px;margin-left:-70px;-webkit-transform:rotate(-180deg);-moz-transform:rotate(-180deg);-o-transform:rotate(-180deg);-ms-transform:rotate(-180deg);transform:rotate(-180deg);}
package/css/max.css ADDED
@@ -0,0 +1 @@
1
+ @media screen and (max-width:668px){#recent-posts>.recent-post-item:not(:first-child){margin-top:0px;}.cardHover,.error404 #error-wrap .error-content,.layout>div:first-child:not(.recent-posts),#recent-posts>.recent-post-item,#aside-content .card-widget,.layout>.recent-posts .pagination>*:not(.space){-webkit-box-shadow:0 3px 8px 6px #ffffff00;box-shadow:0 3px 8px 6px #ffffff00;}#recent-posts>.recent-post-item{border-radius:0px 0px !important;border:0px !important;}.card-widget.card-info{display:none;}#aside-content .card-widget{margin-top:0px !important;border-radius:0px 0px !important;}.sticky_layout{margin-top:20px;}#aside-content .card-widget.card-recent-post{border-radius:20px 20px 0px 0px !important;}#aside-content .card-widget.card-webinfo{border-radius:0px 0px 20px 20px !important;}#recent-posts :nth-of-type(1).recent-post-item{border-radius:20px 20px 0px 0px !important;}#recent-posts :nth-of-type(30).recent-post-item{border-radius:0px 0px 20px 20px !important;}}nav#pagination{margin:0 auto;}a.search-result-title{color:#006bff;font-weight:bold;}#sidebar-menus.open>:nth-child(4),#sidebar-menus.open>:nth-child(2),#sidebar-menus.open>:nth-child(3){-webkit-animation:sidebarItem 0.0s;}canvas:not(#ribbon-canvas),#web_bg,#page-header{animation:to_show 0s;}#twikoo .el-textarea textarea{height:120px !important;}.fa-inbox:before{content:"\f061";}.fa-calendar-alt:before,.fa-calendar-days:before{content:"\f0e0";}.pace{-webkit-pointer-events:none;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;z-index:2000;position:fixed;margin:auto;top:10px;left:0;right:0;height:8px;border-radius:8px;width:4rem;background:#eaecf2;border:1px #e3e8f7;overflow:hidden}.pace-inactive .pace-progress{opacity:0;transition:.3s ease-in}.pace .pace-progress{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;-o-box-sizing:border-box;box-sizing:border-box;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);-o-transform:translate3d(0,0,0);transform:translate3d(0,0,0);max-width:200px;position:absolute;z-index:2000;display:block;top:0;right:100%;height:100%;width:100%;background:linear-gradient(-45deg,#ee7752,#e73c7e,#23a6d5,#23d5ab);animation:gradient 1.5s ease infinite;background-size:200%}.pace.pace-inactive{opacity:0;transition:.3s;top:-8px}@keyframes gradient{0%{background-position:0% 50%;}50%{background-position:100% 50%;}100%{background-position:0% 50%;}}
package/css/style.js ADDED
@@ -0,0 +1,45 @@
1
+ categoriesBarActive()
2
+ topCategoriesBarScroll()
3
+
4
+ //分类条
5
+ function categoriesBarActive() {
6
+ var urlinfo = window.location.pathname;
7
+ urlinfo = decodeURIComponent(urlinfo)
8
+ console.log(urlinfo);
9
+ //判断是否是首页
10
+ if (urlinfo == '/') {
11
+ if (document.querySelector('#category-bar')) {
12
+ document.getElementById('首页').classList.add("select")
13
+ }
14
+ } else {
15
+ // 验证是否是分类链接
16
+ var pattern = /\/categories\/.*?\//;
17
+ var patbool = pattern.test(urlinfo);
18
+ console.log(patbool);
19
+ // 获取当前的分类
20
+ if (patbool) {
21
+ var valuegroup = urlinfo.split("/");
22
+ console.log(valuegroup[2]);
23
+ // 获取当前分类
24
+ var nowCategorie = valuegroup[2];
25
+ if (document.querySelector('#category-bar')) {
26
+ document.getElementById(nowCategorie).classList.add("select");
27
+ }
28
+ }
29
+ }
30
+
31
+ }
32
+
33
+ //鼠标控制横向滚动
34
+ function topCategoriesBarScroll() {
35
+ if (document.getElementById("category-bar-items")) {
36
+ let xscroll = document.getElementById("category-bar-items");
37
+ xscroll.addEventListener("mousewheel", function(e) {
38
+ //计算鼠标滚轮滚动的距离
39
+ let v = -e.wheelDelta / 2;
40
+ xscroll.scrollLeft += v;
41
+ //阻止浏览器默认方法
42
+ e.preventDefault();
43
+ }, false);
44
+ }
45
+ }
package/css/styles.css ADDED
@@ -0,0 +1 @@
1
+ :root{--heo-white:#fff;--heo-black:#000;--heo-none:rgba(0,0,0,0);--heo-gray:#999999;--heo-yellow:#ffc93e;--heo-main:var(--heo-theme);--heo-main-op:var(--heo-theme-op);--heo-shadow-theme:0 8px 12px -3px var(--heo-theme-op);--heo-shadow-main:0 8px 12px -3px var(--heo-main-op);--heo-shadow-blue:0 8px 12px -3px rgba(40,109,234,.20);--heo-shadow-white:0 8px 12px -3px rgba(255,255,255,.20);--heo-shadow-black:0 0 12px 4px rgba(0,0,0,.05);--heo-shadow-yellow:0px 38px 77px -26px rgba(255,201,62,.12);--heo-shadow-red:0 8px 12px -3px #ee7d7936;--heo-shadow-green:0 8px 12px -3px #87ee7936;--heo-logo-color:linear-gradient(215deg,#4584ff 30%,#ff7676 70%);--style-border:1px solid var(--heo-card-border);--style-border-hover:1px solid var(--heo-theme);}::selection{background:var(--heo-fontcolor);color:var(--heo-background);}[data-theme=light]{--heo-theme:#425AEF;--heo-theme-op:#4259ef23;--heo-blue:#425AEF;--heo-red:#D8213C;--heo-pink:#FF7C7C;--heo-green:#57bd6a;--heo-fontcolor:#363636;--heo-background:#f7f9fe;--heo-reverse:#000;--heo-maskbg:rgba(255,255,255,0.6);--heo-maskbgdeep:rgba(255,255,255,0.85);--heo-hovertext:var(--heo-theme);--heo-ahoverbg:#F7F7FA;--heo-lighttext:var(--heo-main);--heo-secondtext:rgba(60,60,67,0.6);--heo-scrollbar:rgba(60,60,67,0.4);--heo-card-btn-bg:#edf0f7;--heo-post-blockquote-bg:#fafcff;--heo-post-tabs-bg:#f2f5f8;--heo-secondbg:#edf0f7;--heo-shadow-nav:0 5px 12px -5px rgba(102,68,68,0.05);--heo-card-bg:#fff;--heo-shadow-lightblack:0 5px 12px -5px rgba(102,68,68,0.00);--heo-shadow-light2black:0 5px 12px -5px rgba(102,68,68,0.00);--heo-card-border:#e3e8f7;}[data-theme=dark]{--heo-theme:#0084FF;--heo-theme-op:#0084FF23;--heo-blue:#0084FF;--heo-red:#FF3842;--heo-pink:#FF7C7C;--heo-green:#57bd6a;--heo-fontcolor:#F7F7FA;--heo-background:#18171d;--heo-reverse:#fff;--heo-maskbg:rgba(0,0,0,0.6);--heo-maskbgdeep:rgba(0,0,0,0.85);--heo-hovertext:#0A84FF;--heo-ahoverbg:#fff;--heo-lighttext:#f2b94b;--heo-secondtext:#a1a2b8;--heo-scrollbar:rgba(200,200,223,0.4);--heo-card-btn-bg:#30343f;--heo-post-blockquote-bg:#000;--heo-post-tabs-bg:#121212;--heo-secondbg:#30343f;--heo-shadow-nav:0 5px 20px 0px rgba(28,28,28,0.4);--heo-card-bg:#1d1b26;--heo-shadow-lightblack:0 5px 12px -5px rgba(102,68,68,0.0);--heo-shadow-light2black:0 5px 12px -5px rgba(102,68,68,0.0);--heo-card-border:#42444a;}@media screen and (max-width:768px){:root{--style-border:0px solid var(--heo-card-border);--style-border-hover:0px solid var(--heo-theme);}}#category-bar{padding:0.4rem 1rem 0.4rem 0.5rem;background:var(--heo-card-bg);border-radius:12px;display:flex;white-space:nowrap;overflow:hidden;margin-bottom:1rem;border:var(--style-border);}@media screen and (max-width:768px){#category-bar{border-radius:22px;}}#aside-content .card-tag-cloud a:hover,.tag-cloud-list a:hover{color:#fff !important;font-size:15px !important;background:#425AEF;box-shadow:1px 3px 20px 10px #0022ff30;}#category #category-bar{padding:0;border:none;}#category a.category-bar-item.select a{display:none;}.category-in-bar{display:flex;white-space:nowrap;}.category-in-bar-tips{margin-right:1rem;}.category-bar-items{white-space:nowrap;overflow-x:scroll;display:flex;}.category-bar-items::-webkit-scrollbar{display:none;}.category-bar-item a{padding:0.1rem 0.5rem;margin:0 0.25rem;font-weight:bold;border-radius:12px;}.category-bar-item:hover a{background:var(--heo-main);color:var(--heo-white);}.category-bar-item.select a{background:var(--heo-main);color:var(--heo-white);border-radius:12px;}.category-bar-more{margin-left:1rem;font-weight:bold;}@media screen and (max-width:668px){#recent-posts>.recent-post-item:not(:first-child){margin-top:0px;}.cardHover,.error404 #error-wrap .error-content,.layout>div:first-child:not(.recent-posts),#recent-posts>.recent-post-item,#aside-content .card-widget,.layout>.recent-posts .pagination>*:not(.space){-webkit-box-shadow:0 3px 8px 6px #ffffff00;box-shadow:0 3px 8px 6px #ffffff00;}#recent-posts>.recent-post-item{border-radius:0px 0px !important;border:0px !important;}.card-widget.card-info{display:none;}#aside-content .card-widget{margin-top:0px !important;border-radius:0px 0px !important;}.sticky_layout{margin-top:20px;}#aside-content .card-widget.card-recent-post{border-radius:20px 20px 0px 0px !important;}#aside-content .card-widget.card-webinfo{border-radius:0px 0px 20px 20px !important;}#recent-posts :nth-of-type(2).recent-post-item{border-radius:20px 20px 0px 0px !important;}#recent-posts :nth-of-type(31).recent-post-item{border-radius:0px 0px 20px 20px !important;}}nav#pagination{margin:0 auto;}a.search-result-title{color:#006bff;font-weight:bold;}#sidebar-menus.open>:nth-child(4),#sidebar-menus.open>:nth-child(2),#sidebar-menus.open>:nth-child(3){-webkit-animation:sidebarItem 0.0s;}canvas:not(#ribbon-canvas),#web_bg,#page-header{animation:to_show 0s;}#twikoo .el-textarea textarea{height:120px !important;}.fa-inbox:before{content:"\f061";}.fa-calendar-alt:before,.fa-calendar-days:before{content:"\f0e0";}.pace{-webkit-pointer-events:none;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;z-index:2000;position:fixed;margin:auto;top:10px;left:0;right:0;height:8px;border-radius:8px;width:4rem;background:#eaecf2;border:1px #e3e8f7;overflow:hidden}.pace-inactive .pace-progress{opacity:0;transition:.3s ease-in}.pace .pace-progress{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;-o-box-sizing:border-box;box-sizing:border-box;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);-o-transform:translate3d(0,0,0);transform:translate3d(0,0,0);max-width:200px;position:absolute;z-index:2000;display:block;top:0;right:100%;height:100%;width:100%;background:linear-gradient(-45deg,#ee7752,#e73c7e,#23a6d5,#23d5ab);animation:gradient 1.5s ease infinite;background-size:200%}.pace.pace-inactive{opacity:0;transition:.3s;top:-8px}@keyframes gradient{0%{background-position:0% 50%;}50%{background-position:100% 50%;}100%{background-position:0% 50%;}}.flink-item-icon{margin-right:0 !important;transition:0.5s !important;}.flink-item-name,.flink-item-desc{padding-left:10px !important;}#article-container .flink .flink-list>.flink-list-item::before{content:none;}#article-container .flink .flink-list>.flink-list-item:hover{background-color:#61bcf2cc;box-shadow:0 0 20px rgba(0,0,0,0.3);}#article-container .flink .flink-list>.flink-list-item:hover a{color:white !important;}#article-container .flink .flink-list>.flink-list-item:hover .flink-item-icon{width:60px;margin-left:-70px;-webkit-transform:rotate(-180deg);-moz-transform:rotate(-180deg);-o-transform:rotate(-180deg);-ms-transform:rotate(-180deg);transform:rotate(-180deg);}#local-search .search-dialog .local-search-box input{padding:5px 14px;width:100%;outline:0;border:2px solid #49b1f5;border-radius:40px;background:var(--search-bg);color:var(--search-input-color);-webkit-appearance:none;}#nav .menus_items{position:absolute;width:fit-content;top:10px;left:50%;transform:translateX(-50%);}#nav .menus_items .menus_item:hover .menus_item_child{display:flex;}.menus_items .menus_item:nth-child(2) .menus_item_child{left:-65px;}#universe{display:block;position:fixed;margin:0;padding:0;border:0;outline:0;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:1;}.tag-cloud-list.is-center a{border:1px solid #cdd1e0;margin:6px;border-radius:10px;}.card-tag-cloud a{border:1px solid #cdd1e0 ;margin:3px;border-radius:6px;font-size:14px !important;}@media screen and (max-width:768px){}#recent-posts>.recent-post-item>.recent-post-info{float:right !important;width:198px !important;margin-top:28px !important;}#recent-posts>.recent-post-item .post_cover img.post_bg{width:92% !important;height:92px !important;margin-top:15px !important;margin-left:10px !important;border-radius:10px !important;}#recent-posts>.recent-post-item .post_cover{width:150px !important;height:150px !important;float:left !important;}#recent-posts>.recent-post-item .post_cover{width:44% !important;height:100% !important;}#recent-posts>.recent-post-item>.recent-post-info>.article-title{-webkit-line-clamp:1 !important;margin-top:-4px !important;margin-left:-25px !important;margin-bottom:0.3rem !important;color:var(--text-highlight-color) !important;font-size:1.1em !important;line-height:1.4 !important;font-weight:bold !important;}#recent-posts>.recent-post-item>.recent-post-info>.article-meta-wrap{margin-bottom:1rem !important;margin-left:-25px !important;}img[src*="#img-radius"]{border-radius:9px;}#aside-content .card-widget{border-radius:15px 15px;}.layout>div:first-child:not(.recent-posts){border-radius:0 0 15px 15px;}#recent-posts>.recent-post-item{border-radius:7px 7px 7px 7px;}#card-info-btn{border-radius:20px;overflow:hidden;}#card-info-btn:before{border-radius:20px;}#rightside>div>button,#to_comment{margin-right:1px;border-radius:5px;}#aside-content #card-toc .toc-content .toc-link.active{border-radius:5px;}#recent-posts{margin-top:0px;align-content:flex-start;display:flex;flex-wrap:wrap;justify-content:space-between;}#recent-posts>.recent-post-item{margin-top:1rem;display:inline-block;height:auto;width:49%;}#recent-posts>.recent-post-item .post_cover{width:150px;height:150px;float:left;}#recent-posts>.recent-post-item .post_cover img.post_bg{width:92%;height:92px;margin-top:15px;margin-left:10px;border-radius:10px;}#recent-posts>.recent-post-item>.recent-post-info>.content{display:none;}#recent-posts>.recent-post-item{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}#recent-posts>.recent-post-item .left_radius{border-radius:8px 8px 0 0;}#recent-posts>.recent-post-item .right_radius{border-radius:8px 8px 0 0;}.recent-post-item{height:auto !important;}.recent-post-info{float:right;width:198px;margin-top:36px;}#recent-posts>.recent-post-item>.recent-post-info>.article-title{-webkit-line-clamp:1;margin-top:-4px;margin-left:-25px;margin-bottom:0.3rem;color:var(--text-highlight-color);font-size:1.1em;line-height:1.4;font-weight:600;}#recent-posts>.recent-post-item>.recent-post-info>.article-meta-wrap{margin-bottom:1rem;margin-left:-25px}@media screen and (max-width:768px){#recent-posts>.recent-post-item{width:100%;}main#content-inner{padding:0 !important;}div#post{width:100% !important;}#recent-posts>.recent-post-item .post_cover{width:100%;height:125px !important;}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "webxc",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "description": "blog-img\u001b[D\u001b[D\u001b[D\u001b[D\u001b[D\u001b[D\u001b[D\u001b[Dwebxc-\u001b[C\u001bblog-img",
5
5
  "main": "index.js",
6
6
  "scripts": {