hexo-theme-particlex 2.2.9 → 2.2.11

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,7 +5,7 @@
5
5
  <div id="archives">
6
6
  <% if (theme.search.enable) { %>
7
7
  <div id="search-mask" style="z-index: <%= posts.length + 1 %>"></div>
8
- <input id="search-bar" class="ipt" placeholder="搜索" style="z-index: <%= posts.length + 2 %>">
8
+ <input id="search-bar" class="input" placeholder="搜索" style="z-index: <%= posts.length + 2 %>">
9
9
  <% } %>
10
10
  <% posts.forEach((post, id) => { %>
11
11
  <div class="timeline" style="z-index: <%= posts.length - id %>" data-title="<%- post.title.toLowerCase().replace(/\s+/gm, "") %>">
package/layout/index.ejs CHANGED
@@ -1,7 +1,7 @@
1
- <div id="home-background" style="background-image: url(<%- theme.background %>)"></div>
2
1
  <div id="home-head">
2
+ <div id="home-background" style="background-image: url(<%- theme.background %>)"></div>
3
3
  <% if (theme.headBlockEnable) { %>
4
- <div id="home-info" class="home-info" @click="homeclick">
4
+ <div id="home-info" @click="homeclick">
5
5
  <span class="loop"></span>
6
6
  <span class="loop"></span>
7
7
  <span class="loop"></span>
package/layout/layout.ejs CHANGED
@@ -53,18 +53,14 @@
53
53
  <%- partial("loading") %>
54
54
  <div id="layout">
55
55
  <transition name="into">
56
- <div v-show="showpage" style="display: -not-none">
57
- <div id="menushow">
58
- <%- partial("menu") %>
59
- </div>
60
- <div id="main">
61
- <%- partial(type) %>
62
- <%- partial("footer") %>
63
- </div>
56
+ <div id="main" v-show="showpage" style="display: -not-none">
57
+ <%- partial("menu") %>
58
+ <%- partial(type) %>
59
+ <%- partial("footer") %>
64
60
  </div>
65
61
  </transition>
66
62
  <div id="showimg">
67
- <img id="showimg-content" alt="showimg">
63
+ <img id="showimg-content">
68
64
  </div>
69
65
  </div>
70
66
  <%- partial("script", { type }) %>
package/layout/post.ejs CHANGED
@@ -51,7 +51,7 @@
51
51
  }).toString();
52
52
  }
53
53
  %>
54
- <input id="crypto" class="ipt" placeholder="文章被加密,请输入密码" data-encrypt="<%- encrypt(page.content, page.password.toString()) %>" data-check="<%- sha(page.content) %>">
54
+ <input id="crypto" class="input" placeholder="文章被加密,请输入密码" data-encrypt="<%- encrypt(page.content, page.password.toString()) %>" data-check="<%- sha(page.content) %>">
55
55
  <div class="content" style="opacity: 0" v-pre></div>
56
56
  <% } else { %>
57
57
  <div class="content" v-pre>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hexo-theme-particlex",
3
- "version": "2.2.9",
3
+ "version": "2.2.11",
4
4
  "description": "A concise Hexo theme, based on Particle.",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -51,7 +51,6 @@
51
51
  #archives {
52
52
  margin: auto;
53
53
  padding: 20px;
54
- position: relative;
55
54
  top: 100px;
56
55
  }
57
56
  #archives .categories-tags {
@@ -111,20 +110,29 @@
111
110
  border-color: #34d058;
112
111
  color: #34d058;
113
112
  }
114
- #home-background {
115
- position: absolute;
116
- z-index: -1;
117
- height: 100vh;
118
- left: 0;
119
- top: 0;
120
- width: 100vw;
121
- background-position: center;
122
- background-repeat: no-repeat;
123
- background-size: cover;
124
- background-attachment: fixed;
113
+ #footer {
114
+ font-size: 14px;
115
+ margin-top: 150px;
116
+ padding-bottom: 20px;
117
+ text-align: center;
118
+ width: 100%;
119
+ }
120
+ #footer .footer-icon {
121
+ color: #66afef;
122
+ display: inline-block;
123
+ font-size: 18px;
124
+ margin: 0 10px;
125
+ }
126
+ #footer .footer-wrap {
127
+ border-top: 1px solid #aaa;
128
+ color: #5c6b72;
129
+ margin: auto;
130
+ width: 900px;
131
+ }
132
+ #footer .footer-wrap div {
133
+ margin: 15px;
125
134
  }
126
135
  #home-card {
127
- position: relative;
128
136
  width: 300px;
129
137
  }
130
138
  #home-card .card-style {
@@ -159,9 +167,9 @@
159
167
  margin-bottom: 5px;
160
168
  }
161
169
  #home-card .card-style .friend-links a {
162
- display: block;
163
170
  border-radius: 5px;
164
171
  color: #5c6b72;
172
+ display: block;
165
173
  padding: 8px 0;
166
174
  }
167
175
  #home-card .card-style .icon-links .icon-link {
@@ -174,7 +182,8 @@
174
182
  padding: 5px;
175
183
  }
176
184
  #home-card .card-style .icon-links a:hover,
177
- #home-card .card-style .friend-links a:hover {
185
+ #home-card .card-style .friend-links a:hover,
186
+ #home-posts .page-current .page-num:hover {
178
187
  background: #66afef;
179
188
  color: #fff;
180
189
  }
@@ -194,50 +203,58 @@
194
203
  #home-head {
195
204
  display: flex;
196
205
  height: 100vh;
197
- position: relative;
198
206
  width: 100vw;
199
207
  }
200
- #home-head .home-info .info {
208
+ #home-head #home-background {
209
+ background-position: center;
210
+ background-repeat: no-repeat;
211
+ background-size: cover;
212
+ height: 100vh;
213
+ left: 0;
214
+ position: absolute;
215
+ top: 0;
216
+ width: 100vw;
217
+ z-index: -1;
218
+ }
219
+ #home-head #home-info .info {
201
220
  align-items: center;
202
221
  border-radius: 50%;
203
222
  color: #333;
204
223
  display: flex;
205
224
  justify-content: center;
206
- position: absolute;
207
225
  text-align: center;
208
226
  }
209
- #home-head .home-info .loop:nth-child(1) {
227
+ #home-head #home-info .loop:nth-child(1) {
210
228
  animation: loop1 10s linear infinite;
211
229
  background: #fff;
212
230
  border-radius: 38% 62% 63% 37%/41% 44% 56% 59%;
213
231
  opacity: 0.3;
214
232
  transform: rotate(30deg);
215
233
  }
216
- #home-head .home-info .loop:nth-child(2) {
234
+ #home-head #home-info .loop:nth-child(2) {
217
235
  animation: loop2 15s linear infinite;
218
236
  background: #fff;
219
237
  border-radius: 38% 62% 63% 37%/41% 44% 56% 59%;
220
238
  opacity: 0.45;
221
239
  transform: rotate(60deg);
222
240
  }
223
- #home-head .home-info .loop:nth-child(3) {
241
+ #home-head #home-info .loop:nth-child(3) {
224
242
  animation: loop3 10s linear infinite;
225
243
  background: #fff;
226
244
  border-radius: 38% 62% 63% 37%/41% 44% 56% 59%;
227
245
  opacity: 0.3;
228
246
  transform: rotate(90deg);
229
247
  }
230
- #home-head .home-info .loop:nth-child(4) {
248
+ #home-head #home-info .loop:nth-child(4) {
231
249
  animation: loop4 15s linear infinite;
232
250
  background: #fff;
233
251
  border-radius: 38% 62% 63% 37%/41% 44% 56% 59%;
234
252
  opacity: 0.45;
235
253
  transform: rotate(120deg);
236
254
  }
237
- #home-head .home-info,
255
+ #home-head #home-info,
238
256
  #home-posts {
239
257
  margin: auto;
240
- position: relative;
241
258
  }
242
259
  #home-posts .page-current {
243
260
  align-items: center;
@@ -272,10 +289,6 @@
272
289
  padding: 5px;
273
290
  width: 35px;
274
291
  }
275
- #home-posts .page-current .page-num:hover {
276
- background: #66afef;
277
- color: #fff;
278
- }
279
292
  #home-posts .page-current .prev,
280
293
  #home-posts .page-current .next {
281
294
  text-align: center;
@@ -288,7 +301,6 @@
288
301
  background: #fff;
289
302
  border-radius: 20px;
290
303
  box-shadow: 0 0 20px #d9d9d980;
291
- position: relative;
292
304
  transition: box-shadow 0.25s, transform 0.25s;
293
305
  }
294
306
  #home-posts .post .category-and-date {
@@ -310,7 +322,8 @@
310
322
  color: #5c6b72;
311
323
  }
312
324
  #home-posts .post .category-and-date .date,
313
- #archives .tags {
325
+ #archives .tags,
326
+ #menu .desktop-menu a span {
314
327
  display: inline-block;
315
328
  }
316
329
  #home-posts .post .category-and-date .special {
@@ -365,12 +378,11 @@
365
378
  display: flex;
366
379
  margin: auto;
367
380
  padding: 20px;
368
- position: relative;
369
381
  }
370
382
  #home-posts-wrap,
371
383
  #archives,
372
384
  .article,
373
- footer .footer-wrap {
385
+ #footer .footer-wrap {
374
386
  box-sizing: border-box;
375
387
  }
376
388
  #main {
@@ -393,7 +405,7 @@ footer .footer-wrap {
393
405
  #menu .desktop-menu .title {
394
406
  color: #555;
395
407
  display: inline-block;
396
- font-family: "Lexend", "Noto Sans SC", sans-serif;
408
+ font-family: Lexend, "Noto Sans SC", sans-serif;
397
409
  margin-left: 30px;
398
410
  text-transform: uppercase;
399
411
  }
@@ -402,13 +414,8 @@ footer .footer-wrap {
402
414
  display: inline-block;
403
415
  margin-left: 30px;
404
416
  }
405
- #menu .desktop-menu a span {
406
- display: inline-block;
407
- position: relative;
408
- }
409
417
  #menu .desktop-menu a span img {
410
418
  height: 20px;
411
- position: relative;
412
419
  top: 3px;
413
420
  width: 20px;
414
421
  }
@@ -429,7 +436,6 @@ footer .footer-wrap {
429
436
  }
430
437
  #menu .phone-menu .items {
431
438
  padding: 10px 0 20px;
432
- position: relative;
433
439
  z-index: 10003;
434
440
  }
435
441
  #menu .phone-menu .items .item {
@@ -446,9 +452,19 @@ footer .footer-wrap {
446
452
  color: #555;
447
453
  cursor: pointer;
448
454
  text-transform: uppercase;
449
- position: relative;
450
455
  z-index: 10004;
451
456
  }
457
+ #menu.hidden-menu {
458
+ top: -70px !important;
459
+ }
460
+ #menu.menu-color {
461
+ background: #0003 !important;
462
+ box-shadow: 0 -1px 10px 0 transparent !important;
463
+ }
464
+ #menu.menu-color .title,
465
+ #menu.menu-color a {
466
+ color: #fff !important;
467
+ }
452
468
  #search-bar {
453
469
  margin: 0 auto 50px;
454
470
  }
@@ -458,14 +474,13 @@ footer .footer-wrap {
458
474
  margin: auto;
459
475
  margin-bottom: -25px;
460
476
  margin-top: -125px;
461
- position: relative;
462
477
  width: 100%;
463
478
  }
464
479
  #showimg {
465
480
  align-items: center;
466
481
  background-color: #fffc;
467
482
  display: flex;
468
- height: 100%;
483
+ height: 100vh;
469
484
  justify-content: center;
470
485
  left: 0;
471
486
  opacity: 0;
@@ -473,7 +488,7 @@ footer .footer-wrap {
473
488
  top: 0;
474
489
  transition: opacity 0.25s, visibility 0.25s;
475
490
  visibility: hidden;
476
- width: 100%;
491
+ width: 100vw;
477
492
  z-index: 10006;
478
493
  }
479
494
  #showimg-content {
@@ -481,11 +496,11 @@ footer .footer-wrap {
481
496
  margin: auto;
482
497
  max-height: 95%;
483
498
  max-width: 95%;
484
- position: relative;
485
499
  }
486
500
  * {
487
501
  margin: 0;
488
502
  padding: 0;
503
+ position: relative;
489
504
  scrollbar-color: #8ab5ff #e6efff;
490
505
  scrollbar-width: thin;
491
506
  word-break: keep-all;
@@ -496,7 +511,6 @@ footer .footer-wrap {
496
511
  font-size: 15px;
497
512
  margin: auto;
498
513
  padding: 20px;
499
- position: relative;
500
514
  top: 100px;
501
515
  }
502
516
  .article .content {
@@ -555,7 +569,7 @@ footer .footer-wrap {
555
569
  display: none;
556
570
  }
557
571
  .content a,
558
- footer .footer-wrap a {
572
+ #footer .footer-wrap a {
559
573
  color: #66afef;
560
574
  }
561
575
  .content b,
@@ -588,39 +602,51 @@ footer .footer-wrap a {
588
602
  border-radius: 15px;
589
603
  box-shadow: 0 2px 12px 0 #0000001a;
590
604
  margin: 25px 0;
591
- position: relative;
592
605
  }
593
606
  .content pre code {
594
607
  background: none;
595
608
  padding: 0;
596
609
  }
597
- .content table tbody tr {
598
- border-top: 2px solid #fff;
599
- }
600
- .content table tr td {
601
- padding: 8px 20px;
602
- }
603
- .content table tr td:nth-child(2n) {
610
+ .content table tbody tr td:nth-child(even) {
604
611
  background: #c7e0fb4d;
605
612
  }
606
- .content table tr td:nth-child(2n-1) {
613
+ .content table tbody tr td:nth-child(odd) {
607
614
  background: #d9e8ff4d;
608
615
  }
609
- .content table tr th {
616
+ .content table thead tr th {
617
+ background: #a3ddfb;
610
618
  color: #1e3e3f;
611
619
  padding: 8px 20px;
612
620
  }
613
- .content table tr th:nth-child(2n),
614
- .content table tr th:nth-child(2n-1) {
615
- background: #a3ddfb;
616
- }
617
- .hidden-menu {
618
- top: -70px !important;
621
+ .content table tr td {
622
+ padding: 8px 20px;
619
623
  }
620
624
  .icon {
621
625
  color: #5c6b72;
622
626
  margin-right: 5px;
623
627
  }
628
+ .input {
629
+ background: #f6f8fa;
630
+ border: 1px solid #d0d7de;
631
+ border-radius: 50px;
632
+ box-sizing: border-box;
633
+ color: #000;
634
+ display: block;
635
+ font: 15px "Fira Code", "Noto Sans SC", monospace;
636
+ height: 50px;
637
+ text-indent: 20px;
638
+ transition: background 0.25s, border 0.25s, box-shadow 0.25s;
639
+ width: 100%;
640
+ }
641
+ .input:focus {
642
+ background: #fff;
643
+ border-color: #0969da;
644
+ box-shadow: 0 0 0 3px #0969da4d;
645
+ outline: none;
646
+ }
647
+ .input:hover {
648
+ background: #fff;
649
+ }
624
650
  .into-enter-active,
625
651
  .into-leave-active {
626
652
  animation: into 0.6s;
@@ -628,14 +654,6 @@ footer .footer-wrap a {
628
654
  .math.display .katex {
629
655
  overflow: auto;
630
656
  }
631
- .menu-color {
632
- background: #0003 !important;
633
- box-shadow: 0 -1px 10px 0 transparent !important;
634
- }
635
- .menu-color .title,
636
- .menu-color a {
637
- color: #fff !important;
638
- }
639
657
  .page-num,
640
658
  .icon-link a,
641
659
  .friend-link a {
@@ -659,7 +677,6 @@ footer .footer-wrap a {
659
677
  }
660
678
  .timeline {
661
679
  margin-bottom: 30px;
662
- position: relative;
663
680
  transition: margin-top 0.5s, opacity 0.25s;
664
681
  }
665
682
  .timeline-content {
@@ -725,7 +742,7 @@ blockquote {
725
742
  body {
726
743
  background: #f6f8fa;
727
744
  color: #000000d9;
728
- font: 500 14px "Lexend", "Noto Sans SC", sans-serif;
745
+ font: 500 14px Lexend, "Noto Sans SC", sans-serif;
729
746
  overflow-x: hidden;
730
747
  width: 100%;
731
748
  }
@@ -746,52 +763,29 @@ pre .language,
746
763
  pre .copycode {
747
764
  user-select: none;
748
765
  }
749
- footer {
750
- font-size: 14px;
751
- padding-bottom: 20px;
752
- position: relative;
753
- text-align: center;
754
- top: 150px;
755
- width: 100%;
756
- }
757
- footer .footer-icon {
758
- color: #66afef;
759
- display: inline-block;
760
- font-size: 18px;
761
- margin: 0 10px;
762
- }
763
- footer .footer-wrap {
764
- border-top: 1px solid #aaa;
765
- color: #5c6b72;
766
- margin: auto;
767
- width: 900px;
768
- }
769
- footer .footer-wrap div {
770
- margin: 15px;
771
- }
772
766
  h1 {
773
767
  color: #1e3e3f;
774
- font: bold 30px "Lexend", "Noto Sans SC", sans-serif;
768
+ font: bold 30px Lexend, "Noto Sans SC", sans-serif;
775
769
  margin: 15px 0;
776
770
  }
777
771
  h2 {
778
772
  color: #1e3e3f;
779
- font: bold 27px "Lexend", "Noto Sans SC", sans-serif;
773
+ font: bold 27px Lexend, "Noto Sans SC", sans-serif;
780
774
  margin: 15px 0;
781
775
  }
782
776
  h3 {
783
777
  color: #1e3e3f;
784
- font: bold 24px "Lexend", "Noto Sans SC", sans-serif;
778
+ font: bold 24px Lexend, "Noto Sans SC", sans-serif;
785
779
  margin: 15px 0;
786
780
  }
787
781
  h4 {
788
782
  color: #1e3e3f;
789
- font: bold 21px "Lexend", "Noto Sans SC", sans-serif;
783
+ font: bold 21px Lexend, "Noto Sans SC", sans-serif;
790
784
  margin: 15px 0;
791
785
  }
792
786
  h5 {
793
787
  color: #1e3e3f;
794
- font: bold 18px "Lexend", "Noto Sans SC", sans-serif;
788
+ font: bold 18px Lexend, "Noto Sans SC", sans-serif;
795
789
  margin: 15px 0;
796
790
  }
797
791
  hr {
@@ -804,29 +798,6 @@ hr {
804
798
  img {
805
799
  border-radius: 10px;
806
800
  }
807
- input.ipt {
808
- background: #f6f8fa;
809
- border: 1px solid #d0d7de;
810
- border-radius: 50px;
811
- box-sizing: border-box;
812
- color: #000;
813
- display: block;
814
- font: 15px "Fira Code", "Noto Sans SC", monospace;
815
- height: 50px;
816
- position: relative;
817
- text-indent: 20px;
818
- transition: background 0.25s, border 0.25s, box-shadow 0.25s;
819
- width: 100%;
820
- }
821
- input.ipt:focus {
822
- background: #fff;
823
- border-color: #0969da;
824
- box-shadow: 0 0 0 3px #0969da4d;
825
- outline: none;
826
- }
827
- input.ipt:hover {
828
- background: #fff;
829
- }
830
801
  p {
831
802
  line-height: 1.7;
832
803
  margin: 15px 0;
@@ -845,30 +816,30 @@ ol {
845
816
  #home-card {
846
817
  margin-right: auto;
847
818
  }
848
- #home-head .home-info .info .wrap {
819
+ #home-head #home-info .info .wrap {
849
820
  padding: 25px;
850
821
  }
851
- #home-head .home-info .info .wrap h1 {
822
+ #home-head #home-info .info .wrap h1 {
852
823
  font-size: 52px;
853
824
  font-weight: bold;
854
825
  margin-bottom: 10px;
855
826
  }
856
- #home-head .home-info .info .wrap h3 {
827
+ #home-head #home-info .info .wrap h3 {
857
828
  font-size: 24px;
858
829
  margin: 10px 0;
859
830
  }
860
- #home-head .home-info .info .wrap h5 {
831
+ #home-head #home-info .info .wrap h5 {
861
832
  font-size: 16px;
862
833
  margin: 20px 0;
863
834
  }
864
- #home-head .home-info .loop {
835
+ #home-head #home-info .loop {
865
836
  display: inline-block;
866
837
  height: 500px;
867
838
  position: absolute;
868
839
  width: 500px;
869
840
  }
870
- #home-head .home-info,
871
- #home-head .home-info .info {
841
+ #home-head #home-info,
842
+ #home-head #home-info .info {
872
843
  height: 500px;
873
844
  width: 500px;
874
845
  }
@@ -896,7 +867,7 @@ ol {
896
867
  }
897
868
  .article,
898
869
  #archives,
899
- footer .footer-wrap {
870
+ #footer .footer-wrap {
900
871
  width: 900px;
901
872
  }
902
873
  .home-posts-wrap-no-card #home-posts {
@@ -921,11 +892,11 @@ ol {
921
892
  }
922
893
  }
923
894
  @media (max-width: 900px) {
924
- #home-head .home-info {
895
+ #home-head #home-info {
925
896
  height: 350px;
926
897
  width: 350px;
927
898
  }
928
- #home-head .home-info .info {
899
+ #home-head #home-info .info {
929
900
  align-items: center;
930
901
  background: #ffffffa6;
931
902
  display: flex;
@@ -934,22 +905,22 @@ ol {
934
905
  margin: auto;
935
906
  width: 350px;
936
907
  }
937
- #home-head .home-info .info .wrap {
908
+ #home-head #home-info .info .wrap {
938
909
  padding: 50px;
939
910
  }
940
- #home-head .home-info .info .wrap h1 {
941
- font: bold 46px "Lexend", "Noto Sans SC", sans-serif;
911
+ #home-head #home-info .info .wrap h1 {
912
+ font: bold 46px Lexend, "Noto Sans SC", sans-serif;
942
913
  margin-bottom: 10px;
943
914
  }
944
- #home-head .home-info .info .wrap h3 {
915
+ #home-head #home-info .info .wrap h3 {
945
916
  font-size: 20px;
946
917
  margin: 10px 0;
947
918
  }
948
- #home-head .home-info .info .wrap h5 {
919
+ #home-head #home-info .info .wrap h5 {
949
920
  font-size: 14px;
950
921
  margin: 20px 0;
951
922
  }
952
- #home-head .home-info .loop {
923
+ #home-head #home-info .loop {
953
924
  display: none;
954
925
  height: 350px;
955
926
  position: absolute;
@@ -972,7 +943,7 @@ ol {
972
943
  #home-posts-wrap,
973
944
  .article,
974
945
  #archives,
975
- footer .footer-wrap {
946
+ #footer .footer-wrap {
976
947
  width: 100%;
977
948
  }
978
949
  #menu .desktop-menu,
@@ -25,8 +25,9 @@ function showimg() {
25
25
  let wrap = document.getElementById("showimg"),
26
26
  content = document.getElementById("showimg-content"),
27
27
  images = document.querySelectorAll(".article .content img");
28
- function show(src) {
29
- content.src = src;
28
+ function show(image) {
29
+ content.alt = image.alt;
30
+ content.src = image.src;
30
31
  wrap.style.opacity = 1;
31
32
  wrap.style.visibility = "visible";
32
33
  }
@@ -36,7 +37,7 @@ function showimg() {
36
37
  }
37
38
  for (let i of images)
38
39
  i.addEventListener("click", function () {
39
- show(this.getAttribute("src"));
40
+ show(this);
40
41
  });
41
42
  wrap.addEventListener("click", hide);
42
43
  window.addEventListener("resize", hide);
@@ -57,20 +57,14 @@ const app = Vue.createApp({
57
57
  let newlocal = document.documentElement.scrollTop;
58
58
  let menu = document.getElementById("menu");
59
59
  let wrap = document.getElementById("home-posts-wrap");
60
- let footer = document.getElementById("footer");
61
60
  if (this.barlocal < newlocal) {
62
61
  menu.className = "hidden-menu";
63
62
  this.menushow = false;
64
63
  } else menu.className = "show-menu";
65
64
  if (wrap) {
66
65
  if (newlocal <= window.innerHeight - 100) menu.className += " menu-color";
67
- if (newlocal <= 400) {
68
- wrap.style.top = newlocal / -5 + "px";
69
- footer.style.top = newlocal / -5 + 150 + "px";
70
- } else {
71
- wrap.style.top = "-80px";
72
- footer.style.top = "70px";
73
- }
66
+ if (newlocal <= 400) wrap.style.marginTop = newlocal / -5 + "px";
67
+ else wrap.style.marginTop = "-80px";
74
68
  }
75
69
  this.barlocal = newlocal;
76
70
  },