jekyll-theme-anatole 0.1.2

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.
data/_sass/_style.scss ADDED
@@ -0,0 +1,973 @@
1
+ @charset "UTF-8";
2
+
3
+ :root {
4
+ --bg-color: #fff;
5
+ --secondary-bg-color: #eeeeee;
6
+ --heading-color: #5f5f5f;
7
+ --body-color: rgba(0, 0, 0, 0.7);
8
+ --post-color: rgba(0, 0, 0, 0.44);
9
+ --border-color: rgba(0, 0, 0, 0.15);
10
+ --pre-bg-color: #f9f9fd;
11
+ --nav-text-color: #5a5a5a;
12
+ --tag-color: #424242;
13
+ --blockquote-text-color: #858585;
14
+ --blockquote-border-color: #dfe2e5;
15
+ scroll-padding-top: 100px;
16
+ }
17
+
18
+ html[data-theme='dark'] {
19
+ --bg-color: #292a2d;
20
+ --secondary-bg-color: #2c2d32;
21
+ --heading-color: rgb(169, 169, 179);
22
+ --body-color: rgb(169, 169, 179);
23
+ --post-color: rgba(0, 0, 0, 0.44);
24
+ --border-color: rgb(38, 38, 38);
25
+ --pre-bg-color: rgb(33, 33, 45);
26
+ --nav-text-color: rgb(191, 191, 191);
27
+ --tag-color: rgb(191, 191, 191);
28
+ --blockquote-text-color: #808080;
29
+ --blockquote-border-color: #424242;
30
+ }
31
+
32
+ html {
33
+ background-color: var(--bg-color);
34
+ -webkit-font-smoothing: antialiased;
35
+ }
36
+
37
+ body {
38
+ color: var(--body-color);
39
+ font-family: 'Verdana', sans-serif;
40
+ font-size: 15px;
41
+ width: 100%;
42
+ margin: 0 auto 30px auto;
43
+ background-color: var(--bg-color);
44
+ }
45
+
46
+ p {
47
+ line-height: 1.9em;
48
+ font-weight: 400;
49
+ font-size: 14px;
50
+ }
51
+
52
+ a {
53
+ text-decoration: none;
54
+ }
55
+
56
+ blockquote {
57
+ padding: 0 1em;
58
+ border-left: .25em solid var(--blockquote-border-color);
59
+ color: var(--blockquote-text-color);
60
+ }
61
+
62
+ .category {
63
+ padding: 4px 6px;
64
+ border-radius: 3px;
65
+ color: var(--tag-color) !important;
66
+ background-color: var(--secondary-bg-color);
67
+ border: 1px solid var(--border-color);
68
+ }
69
+
70
+ .tag::before {
71
+ content: "#";
72
+ opacity: .5;
73
+ }
74
+
75
+ .tag,
76
+ .category {
77
+ display: inline-block;
78
+ font-size: 15px;
79
+ line-height: 1;
80
+ margin: 5px 8px 5px 0;
81
+ }
82
+
83
+ pre {
84
+ background-color: var(--pre-bg-color);
85
+ padding: 5px;
86
+ display: block;
87
+ overflow-x: auto;
88
+ }
89
+
90
+ .info i {
91
+ opacity: 0.5;
92
+ margin-right: 5px;
93
+ }
94
+
95
+ a:link,
96
+ a:visited {
97
+ opacity: 1;
98
+ color: var(--tag-color);
99
+ }
100
+
101
+ a:hover,
102
+ a:active {
103
+ color: #2660ab;
104
+ }
105
+
106
+ /*basic styles ends*/
107
+ /*animation starts*/
108
+
109
+ .animated {
110
+ transition: top .8s linear;
111
+ -webkit-animation-duration: 1s;
112
+ -moz-animation-duration: 1s;
113
+ -ms-animation-duration: 1s;
114
+ -o-animation-duration: 1s;
115
+ animation-duration: 1s;
116
+ }
117
+
118
+ .animated.hinge {
119
+ -webkit-animation-duration: 1s;
120
+ -moz-animation-duration: 1s;
121
+ -ms-animation-duration: 1s;
122
+ -o-animation-duration: 1s;
123
+ animation-duration: 1s;
124
+ }
125
+
126
+ @-webkit-keyframes fadeInDown {
127
+ 0% {
128
+ -webkit-transform: translateY(-20px);
129
+ }
130
+
131
+ 100% {
132
+ -webkit-transform: translateY(0);
133
+ }
134
+ }
135
+
136
+ @-moz-keyframes fadeInDown {
137
+ 0% {
138
+ -moz-transform: translateY(-20px);
139
+ }
140
+
141
+ 100% {
142
+ -moz-transform: translateY(0);
143
+ }
144
+ }
145
+
146
+ @-o-keyframes fadeInDown {
147
+ 0% {
148
+ -o-transform: translateY(-20px);
149
+ }
150
+
151
+ 100% {
152
+ -o-transform: translateY(0);
153
+ }
154
+ }
155
+
156
+ @keyframes fadeInDown {
157
+ 0% {
158
+ transform: translateY(-20px);
159
+ }
160
+
161
+ 100% {
162
+ transform: translateY(0);
163
+ }
164
+ }
165
+
166
+ .fadeInDown {
167
+ -webkit-animation-name: fadeInDown;
168
+ -moz-animation-name: fadeInDown;
169
+ -o-animation-name: fadeInDown;
170
+ animation-name: fadeInDown;
171
+ }
172
+
173
+ /*animation ends*/
174
+ .content {
175
+ height: auto;
176
+ float: right;
177
+ width: 60%;
178
+ margin-top: 60px;
179
+ }
180
+
181
+ .page-top {
182
+ width: 60%;
183
+ position: fixed;
184
+ right: 0;
185
+ z-index: 3;
186
+ background-color: var(--bg-color);
187
+ height: 60px;
188
+ border-bottom: 1px solid var(--border-color);
189
+ }
190
+
191
+ .page-top .nav {
192
+ list-style: none;
193
+ padding: 11px 30px;
194
+ float: left;
195
+ font-size: 12px;
196
+ display: block;
197
+ width: calc(100% - 30px);
198
+ }
199
+
200
+ .page-top .nav li {
201
+ position: relative;
202
+ display: initial;
203
+ padding-right: 20px;
204
+ }
205
+
206
+ .page-top .nav a {
207
+ color: var(--nav-text-color);
208
+ }
209
+
210
+ .page-top .nav a:hover {
211
+ color: #2660ab;
212
+ }
213
+
214
+ .page-top .nav a.current {
215
+ color: var(--nav-text-color);
216
+ padding-bottom: 22px;
217
+ border-bottom: 1px solid var(--nav-text-color);
218
+ }
219
+
220
+ .theme-switch-item {
221
+ float: right;
222
+ font-size: 2em;
223
+ margin-top: -5px;
224
+ }
225
+
226
+ .page-top .information {
227
+ float: right;
228
+ padding-top: 12px;
229
+ padding-right: 20px;
230
+ }
231
+
232
+ .page-top .information .avatar {
233
+ float: right;
234
+ }
235
+
236
+ .page-top .information .avatar img {
237
+ width: 32px;
238
+ height: 32px;
239
+ border-radius: 300px;
240
+ }
241
+
242
+ .page-top .information .back_btn {
243
+ float: left;
244
+ padding-top: 5px;
245
+ margin-right: -10px;
246
+ }
247
+
248
+ .page-top .information .back_btn li {
249
+ display: initial;
250
+ padding-right: 40px;
251
+ }
252
+
253
+ .sidebar {
254
+ width: 40%;
255
+ -webkit-background-size: cover;
256
+ background-size: cover;
257
+ background-color: var(--bg-color);
258
+ height: 100%;
259
+ top: 0;
260
+ left: 0;
261
+ position: fixed;
262
+ z-index: 4;
263
+ border-right: 1px solid var(--border-color);
264
+ }
265
+
266
+ .sidebar .logo-title {
267
+ text-align: center;
268
+ padding-top: 240px;
269
+ }
270
+
271
+ .sidebar .logo-title .description {
272
+ font-size: 14px;
273
+ }
274
+
275
+ .sidebar .logo-title .logo {
276
+ margin: 0 auto;
277
+ }
278
+
279
+ .sidebar .logo-title .title img {
280
+ width: 127px;
281
+ border-radius: 50%;
282
+ }
283
+
284
+ .sidebar .logo-title .title h3 {
285
+ text-transform: uppercase;
286
+ font-size: 2rem;
287
+ font-weight: bold;
288
+ letter-spacing: 2px;
289
+ line-height: 1;
290
+ margin: 1em;
291
+ }
292
+
293
+ .sidebar .logo-title .title a {
294
+ text-decoration: none;
295
+ color: var(--heading-color);
296
+ font-size: 2rem;
297
+ font-weight: bold;
298
+ }
299
+
300
+ .sidebar .social-links {
301
+ list-style: none;
302
+ padding: 0;
303
+ font-size: 14px;
304
+ text-align: center;
305
+ }
306
+
307
+ .sidebar .social-links i {
308
+ margin-right: 3px;
309
+ }
310
+
311
+ .sidebar .social-links li {
312
+ display: inline;
313
+ padding: 0 4px;
314
+ line-height: 0;
315
+ }
316
+
317
+ .sidebar .social-links a {
318
+ color: var(--heading-color);
319
+ }
320
+
321
+ .sidebar .social-links a:hover {
322
+ color: #2660ab;
323
+ }
324
+
325
+ .post {
326
+ background-color: var(--bg-color);
327
+ margin: 30px;
328
+ }
329
+
330
+ .post .post-title h1 {
331
+ text-transform: uppercase;
332
+ font-size: 30px;
333
+ letter-spacing: 5px;
334
+ line-height: 1;
335
+ }
336
+
337
+ .post .post-title h2 {
338
+ text-transform: uppercase;
339
+ letter-spacing: 1px;
340
+ font-size: 28px;
341
+ line-height: 1;
342
+ font-weight: 600;
343
+ color: var(--heading-color);
344
+ }
345
+
346
+ .post .post-title h3 {
347
+ text-transform: uppercase;
348
+ letter-spacing: 1px;
349
+ line-height: 1;
350
+ font-weight: 600;
351
+ /* color: #464646; */
352
+ color: var(--heading-color);
353
+ font-size: 22px;
354
+ margin: 0;
355
+ }
356
+
357
+ .post .post-title a {
358
+ text-decoration: none;
359
+ letter-spacing: 1px;
360
+ color: var(--heading-color);
361
+ }
362
+
363
+ .post .post-title a:hover {
364
+ text-decoration: underline;
365
+ }
366
+
367
+ .post .post-content a {
368
+ text-decoration: none;
369
+ letter-spacing: 1px;
370
+ color: #2660ab;
371
+ }
372
+
373
+ .post .post-content a:hover {
374
+ color: #2F69B3;
375
+ }
376
+
377
+ .post .post-content h3 {
378
+ font-size: 22px;
379
+ font-weight: 600;
380
+ }
381
+
382
+ .post .post-content h4 {
383
+ /* color: var(--heading-color); */
384
+ font-size: 16px;
385
+ }
386
+
387
+ .post .post-content img {
388
+ max-width: 100%;
389
+ }
390
+
391
+ .post .post-footer {
392
+ padding: 0 0 10px 0;
393
+ border-bottom: 1px solid var(--border-color);
394
+ }
395
+
396
+ .post .post-footer .meta {
397
+ max-width: 100%;
398
+ display: flex;
399
+ color: #bbbbbb;
400
+ }
401
+
402
+ .post .post-footer .meta .info {
403
+ float: left;
404
+ font-size: 12px;
405
+ margin-bottom: 1em;
406
+ color: var(--body-color);
407
+ }
408
+
409
+ .post .post-footer .info .separator a {
410
+ margin-right: 0.2em;
411
+ }
412
+
413
+ .post .post-footer .meta .info .date {
414
+ margin-right: 10px;
415
+ }
416
+
417
+ .info {
418
+ margin: 1em;
419
+ }
420
+
421
+ .post .post-footer .meta a {
422
+ text-decoration: none;
423
+ color: var(--body-color);
424
+ padding-right: 10px;
425
+ }
426
+
427
+ .post .post-footer .meta a:hover {
428
+ color: #2660ab;
429
+ }
430
+
431
+ .post .post-footer .meta i {
432
+ margin-right: 6px;
433
+ }
434
+
435
+ .post .post-footer .tags {
436
+ padding-bottom: 15px;
437
+ font-size: 13px;
438
+ }
439
+
440
+ .post .post-footer .tags ul {
441
+ list-style-type: none;
442
+ display: inline;
443
+ margin: 0;
444
+ padding: 0;
445
+ }
446
+
447
+ .post .post-footer .tags ul li {
448
+ list-style-type: none;
449
+ margin: 0;
450
+ padding-right: 5px;
451
+ display: inline;
452
+ }
453
+
454
+ .post .post-footer .tags a {
455
+ text-decoration: none;
456
+ color: var(--post-color);
457
+ font-weight: 400;
458
+ }
459
+
460
+ .post .post-footer .tags a:hover {
461
+ text-decoration: none;
462
+ }
463
+
464
+ .pagination {
465
+ margin: 30px;
466
+ padding: 0px 0 56px 0;
467
+ text-align: center;
468
+ }
469
+
470
+ .pagination ul {
471
+ list-style: none;
472
+ margin: 0;
473
+ padding: 0;
474
+ height: 13px;
475
+ }
476
+
477
+ .pagination ul li {
478
+ margin: 0 2px 0 2px;
479
+ display: inline;
480
+ line-height: 1;
481
+ }
482
+
483
+ .pagination ul li a {
484
+ text-decoration: none;
485
+ color: var(--body-color);
486
+ }
487
+
488
+ .pagination .pre {
489
+ float: left;
490
+ }
491
+
492
+ .pagination .next {
493
+ float: right;
494
+ }
495
+
496
+ .like-reblog-buttons {
497
+ float: right;
498
+ }
499
+
500
+ .like-button {
501
+ float: right;
502
+ padding: 0 0 0 10px;
503
+ }
504
+
505
+ .reblog-button {
506
+ float: right;
507
+ padding: 0;
508
+ }
509
+
510
+ #install-btn {
511
+ position: fixed;
512
+ bottom: 0px;
513
+ right: 6px;
514
+ }
515
+
516
+ #disqus_thread {
517
+ margin: 30px;
518
+ border-bottom: 1px solid var(--border-color);
519
+ }
520
+
521
+ .footer {
522
+ clear: both;
523
+ text-align: center;
524
+ font-size: 10px;
525
+ margin: 0 auto;
526
+ bottom: 0;
527
+ position: absolute;
528
+ width: 100%;
529
+ padding-bottom: 20px;
530
+ }
531
+
532
+ .footer a {
533
+ color: #A6A6A6;
534
+ }
535
+
536
+ .footer a:hover {
537
+ color: #2660ab;
538
+ }
539
+
540
+ /*for archive*/
541
+ .archive {
542
+ width: 100%;
543
+ }
544
+
545
+ .list-with-title {
546
+ font-size: 14px;
547
+ margin: 30px;
548
+ padding: 0;
549
+ }
550
+
551
+ .list-with-title li {
552
+ list-style-type: none;
553
+ padding: 0;
554
+ }
555
+
556
+ .list-with-title .listing-title {
557
+ font-size: 24px;
558
+ color: #666666;
559
+ font-weight: 600;
560
+ line-height: 2.2em;
561
+ }
562
+
563
+ .list-with-title .listing {
564
+ padding: 0;
565
+ }
566
+
567
+ .list-with-title .listing .listing-post {
568
+ padding-bottom: 5px;
569
+ }
570
+
571
+ .list-with-title .listing .listing-post .post-time {
572
+ float: right;
573
+ color: #C5C5C5;
574
+ }
575
+
576
+ .list-with-title .listing .listing-post a {
577
+ color: #8F8F8F;
578
+ }
579
+
580
+ .list-with-title .listing .listing-post a:hover {
581
+ color: #2660ab;
582
+ }
583
+
584
+ /* share */
585
+ .share {
586
+ margin: 0px 30px;
587
+ display: inline-flex;
588
+ }
589
+
590
+ .evernote {
591
+ width: 32px;
592
+ height: 32px;
593
+ border-radius: 300px;
594
+ background-color: #3E3E3E;
595
+ margin-right: 5px;
596
+ }
597
+
598
+ .evernote a {
599
+ color: #fff;
600
+ padding: 11px;
601
+ font-size: 12px;
602
+ }
603
+
604
+ .evernote a:hover {
605
+ color: #ED6243;
606
+ padding: 11px;
607
+ }
608
+
609
+ .weibo {
610
+ width: 32px;
611
+ height: 32px;
612
+ border-radius: 300px;
613
+ background-color: #ED6243;
614
+ margin-right: 5px;
615
+ }
616
+
617
+ .weibo a {
618
+ color: #fff;
619
+ padding: 9px;
620
+ }
621
+
622
+ .weibo a:hover {
623
+ color: #BD4226;
624
+ }
625
+
626
+ .twitter {
627
+ width: 32px;
628
+ height: 32px;
629
+ border-radius: 300px;
630
+ background-color: #59C0FD;
631
+ margin-right: 5px;
632
+ }
633
+
634
+ .twitter a {
635
+ color: #fff;
636
+ padding: 9px;
637
+ }
638
+
639
+ .twitter a:hover {
640
+ color: #4B9ECE;
641
+ }
642
+
643
+ /* about */
644
+ .about {
645
+ margin: 30px;
646
+ }
647
+
648
+ .about h3 {
649
+ font-size: 22px;
650
+ }
651
+
652
+ /* links*/
653
+ .links {
654
+ margin: 30px;
655
+ }
656
+
657
+ .links h3 {
658
+ font-size: 22px;
659
+ }
660
+
661
+ .links a {
662
+ cursor: pointer;
663
+ }
664
+
665
+ /* Comments */
666
+ .comment-count {
667
+ color: #666;
668
+ }
669
+
670
+ .tab-community {
671
+ color: #666;
672
+ }
673
+
674
+ .read_more {
675
+ font-size: 14px;
676
+ }
677
+
678
+ .back-button {
679
+ padding-top: 30px;
680
+ max-width: 100px;
681
+ padding-left: 40px;
682
+ float: left;
683
+ }
684
+
685
+ /* Facebook Comments */
686
+ #fb_comments_container {
687
+ margin: 30px;
688
+ }
689
+
690
+ /* Buttons */
691
+ a.btn {
692
+ color: #868686;
693
+ font-weight: 400;
694
+ }
695
+
696
+ .btn {
697
+ display: inline-block;
698
+ position: relative;
699
+ outline: 0;
700
+ color: var(--post-color);
701
+ background: transparent;
702
+ font-size: 14px;
703
+ text-align: center;
704
+ text-decoration: none;
705
+ cursor: pointer;
706
+ border: 1px solid var(--border-color);
707
+ white-space: nowrap;
708
+ font-weight: 400;
709
+ font-style: normal;
710
+ border-radius: 999em;
711
+ }
712
+
713
+ .btn:hover {
714
+ display: inline-block;
715
+ position: relative;
716
+ outline: 0px;
717
+ color: #464545;
718
+ background: transparent;
719
+ font-size: 14px;
720
+ text-align: center;
721
+ text-decoration: none;
722
+ cursor: pointer;
723
+ border: 1px solid #464545;
724
+ white-space: nowrap;
725
+ font-weight: 400;
726
+ font-style: normal;
727
+ border-radius: 999em;
728
+ }
729
+
730
+ [role="back"] {
731
+ padding: 0.5em 1.25em;
732
+ line-height: 1.666em;
733
+ }
734
+
735
+ [role="home"] {
736
+ padding: 0.5em 1.25em;
737
+ line-height: 1.666em;
738
+ }
739
+
740
+ [role="navigation"] {
741
+ padding: 0.5em 1.25em;
742
+ line-height: 1.666em;
743
+ }
744
+
745
+ [role="tags"] {
746
+ padding: 6px 12px;
747
+ }
748
+
749
+ /* Menu */
750
+ .menu {
751
+ float: right;
752
+ padding-top: 30px;
753
+ }
754
+
755
+ .menu .btn-down {
756
+ margin: 0px;
757
+ }
758
+
759
+ .menu .btn-down li {
760
+ list-style: none;
761
+ width: 100px;
762
+ }
763
+
764
+ .menu .btn-down li a {
765
+ display: inline-block;
766
+ position: relative;
767
+ padding: 0.5em 1.25em;
768
+ outline: 0;
769
+ color: var(--post-color);
770
+ background: transparent;
771
+ font-size: 14px;
772
+ text-align: center;
773
+ text-decoration: none;
774
+ cursor: pointer;
775
+ border: 1px solid var(--border-color);
776
+ white-space: nowrap;
777
+ font-weight: 400;
778
+ font-style: normal;
779
+ border-radius: 999em;
780
+ margin-top: 5px;
781
+ }
782
+
783
+ .menu .btn-down li a:hover {
784
+ position: relative;
785
+ padding: 0.5em 1.25em;
786
+ outline: 0;
787
+ color: #fff;
788
+ background: #3CBD10;
789
+ font-size: 14px;
790
+ text-align: center;
791
+ text-decoration: none;
792
+ cursor: pointer;
793
+ border: 1px solid rgba(0, 0, 0, 0.15);
794
+ white-space: nowrap;
795
+ font-weight: 400;
796
+ font-style: normal;
797
+ border-radius: 999em;
798
+ margin-top: 5px;
799
+ }
800
+
801
+ .menu .btn-down div {
802
+ position: absolute;
803
+ visibility: hidden;
804
+ width: 100px;
805
+ float: right;
806
+ }
807
+
808
+ .page_404 {
809
+ text-align: center;
810
+ padding-top: 50px;
811
+ }
812
+
813
+ .navbar-burger {
814
+ display: none;
815
+ }
816
+
817
+ @media screen and (max-width: 960px) {
818
+ .sidebar {
819
+ width: 100%;
820
+ position: absolute;
821
+ border-right: none;
822
+ z-index: 1;
823
+ }
824
+
825
+ .sidebar .logo-title {
826
+ padding-top: 120px;
827
+ }
828
+
829
+ .sidebar .logo-title .title img {
830
+ width: 100px;
831
+ }
832
+
833
+ .sidebar .logo-title .title h3 {
834
+ font-size: 20px;
835
+ }
836
+
837
+ .page-top {
838
+ width: 100%;
839
+ }
840
+
841
+ .post-title h3 {
842
+ line-height: 1.6;
843
+ }
844
+
845
+ .content {
846
+ margin-top: 420px;
847
+ width: 100%;
848
+ z-index: 2;
849
+ position: absolute;
850
+ }
851
+
852
+ .footer {
853
+ display: none;
854
+ }
855
+
856
+ .share {
857
+ display: grid;
858
+ }
859
+
860
+ .page-top .nav {
861
+ background-color: var(--secondary-bg-color);
862
+ ;
863
+ box-shadow: 0 8px 16px rgba(10, 10, 10, .1);
864
+ padding: .5rem 0;
865
+ width: 100%;
866
+ display: none;
867
+ margin-top: 0px;
868
+ }
869
+
870
+ .page-top .nav.is-active {
871
+ /* display: block; */
872
+ display: block;
873
+ }
874
+
875
+ .page-top .nav li {
876
+ display: block;
877
+ flex-grow: 0;
878
+ flex-shrink: 0;
879
+ display: block;
880
+ line-height: 2.5;
881
+ padding: .5rem .75rem;
882
+ position: relative;
883
+ text-transform: uppercase;
884
+ text-align: center;
885
+ font-size: 1.3em;
886
+ }
887
+
888
+ .page-top .nav a.current {
889
+ border-bottom: none;
890
+ }
891
+
892
+ .navbar-burger {
893
+ cursor: pointer;
894
+ display: block;
895
+ height: 3.25rem;
896
+ position: relative;
897
+ width: 3.25rem;
898
+ margin-left: auto;
899
+ }
900
+
901
+ .navbar-burger span {
902
+ background-color: var(--heading-color);
903
+ display: block;
904
+ height: 1px;
905
+ left: calc(50% - 8px);
906
+ position: absolute;
907
+ transform-origin: center;
908
+ transition-duration: 86ms;
909
+ transition-property: background-color, opacity, transform;
910
+ transition-timing-function: ease-out;
911
+ width: 16px;
912
+ }
913
+
914
+ .navbar-burger span:nth-child(1) {
915
+ top: calc(50% - 6px);
916
+ }
917
+
918
+ .navbar-burger span:nth-child(2) {
919
+ top: calc(50% - 1px);
920
+ }
921
+
922
+ .navbar-burger span:nth-child(3) {
923
+ top: calc(50% + 4px);
924
+ }
925
+
926
+ .theme-switch-item {
927
+ float: none;
928
+ }
929
+ }
930
+
931
+ /* Medium zoom */
932
+ .medium-zoom-overlay {
933
+ position: fixed;
934
+ top: 0;
935
+ right: 0;
936
+ bottom: 0;
937
+ left: 0;
938
+ opacity: 0;
939
+ transition: opacity 300ms;
940
+ will-change: opacity;
941
+ background: var(--bg-color);
942
+ }
943
+
944
+ .medium-zoom--opened .medium-zoom-overlay {
945
+ cursor: pointer;
946
+ cursor: zoom-out;
947
+ opacity: 1;
948
+ }
949
+
950
+ .medium-zoom-image {
951
+ cursor: pointer;
952
+ cursor: zoom-in;
953
+ /*
954
+ The `transition` is marked as "!important" for the animation to happen
955
+ even though it's overriden by another inline `transition` style attribute.
956
+ This is problematic with frameworks that generate inline styles on their
957
+ images (e.g. Gatsby).
958
+ See https://github.com/francoischalifour/medium-zoom/issues/110
959
+ */
960
+ transition: transform 300ms cubic-bezier(0.2, 0, 0.2, 1) !important;
961
+ z-index: 100;
962
+ }
963
+
964
+ .medium-zoom-image--hidden {
965
+ visibility: hidden;
966
+ }
967
+
968
+ .medium-zoom-image--opened {
969
+ position: relative;
970
+ cursor: pointer;
971
+ cursor: zoom-out;
972
+ will-change: transform;
973
+ }