439439 .md-header-nav__button .md-logo svg {
440440 width : 40px ;
441441 height : 40px ;
442+ }
443+
444+ @media screen and (max-width : 76.1875em ) {
445+ .repo-stats {
446+ display : none !important ;
447+ }
448+ }
449+
450+ /* Sponsor popup styling */
451+ .sponsor-popup {
452+ position : fixed;
453+ top : 0 ;
454+ left : 0 ;
455+ width : 100% ;
456+ height : 100% ;
457+ background-color : rgba (0 , 0 , 0 , 0.5 );
458+ display : flex;
459+ justify-content : center;
460+ align-items : center;
461+ z-index : 9999 ;
462+ opacity : 0 ;
463+ visibility : hidden;
464+ transition : opacity 0.3s , visibility 0.3s ;
465+ }
466+
467+ .sponsor-popup .active {
468+ opacity : 1 ;
469+ visibility : visible;
470+ }
471+
472+ .sponsor-popup-content {
473+ background-color : # fff ;
474+ border-radius : 8px ;
475+ max-width : 500px ;
476+ width : 90% ;
477+ box-shadow : 0 4px 20px rgba (0 , 0 , 0 , 0.15 );
478+ overflow : hidden;
479+ }
480+
481+ [data-md-color-scheme = "astral-dark" ] .sponsor-popup-content {
482+ background-color : var (--galaxy );
483+ color : var (--white );
484+ }
485+
486+ .sponsor-popup-header {
487+ padding : 16px 20px ;
488+ background-color : var (--rock );
489+ color : var (--black );
490+ display : flex;
491+ justify-content : space-between;
492+ align-items : center;
493+ }
494+
495+ .sponsor-popup-header h2 {
496+ margin : 0 ;
497+ font-size : 1.3rem ;
498+ font-weight : 600 ;
499+ }
500+
501+ .sponsor-popup-close {
502+ background : none;
503+ border : none;
504+ font-size : 24px ;
505+ cursor : pointer;
506+ color : var (--black );
507+ width : 30px ;
508+ height : 30px ;
509+ display : flex;
510+ justify-content : center;
511+ align-items : center;
512+ border-radius : 50% ;
513+ transition : background-color 0.2s ;
514+ }
515+
516+ .sponsor-popup-close : hover {
517+ background-color : rgba (0 , 0 , 0 , 0.1 );
518+ }
519+
520+ .sponsor-popup-body {
521+ padding : 20px ;
522+ }
523+
524+ .sponsor-popup-buttons {
525+ display : flex;
526+ gap : 12px ;
527+ margin : 20px 0 ;
528+ }
529+
530+ .sponsor-popup-button {
531+ display : flex;
532+ align-items : center;
533+ gap : 8px ;
534+ padding : 10px 16px ;
535+ border-radius : 4px ;
536+ text-decoration : none;
537+ font-weight : 600 ;
538+ background-color : # f0f0f0 ;
539+ color : # 333 ;
540+ transition : background-color 0.2s ;
541+ }
542+
543+ .sponsor-popup-button .primary {
544+ background-color : var (--rock );
545+ color : var (--black );
546+ }
547+
548+ .sponsor-popup-button : hover {
549+ opacity : 0.9 ;
550+ }
551+
552+ .sponsor-popup-footer {
553+ margin-top : 16px ;
554+ display : flex;
555+ justify-content : flex-end;
556+ font-size : 0.9rem ;
557+ }
558+
559+ .sponsor-popup-footer label {
560+ display : flex;
561+ align-items : center;
562+ gap : 6px ;
563+ cursor : pointer;
564+ }
565+
566+ /* Sponsor admonition styling */
567+ .md-typeset .admonition .sponsor ,
568+ .md-typeset details .sponsor {
569+ border-left-color : var (--rock );
570+ }
571+
572+ .md-typeset .sponsor > .admonition-title ,
573+ .md-typeset .sponsor > summary {
574+ background-color : rgba (255 , 215 , 0 , 0.1 );
575+ }
576+
577+ .md-typeset .sponsor > .admonition-title ::before ,
578+ .md-typeset .sponsor > summary ::before {
579+ background-color : var (--rock );
580+ -webkit-mask-image : var (--md-admonition-icon--note );
581+ mask-image : var (--md-admonition-icon--note );
582+ }
583+
584+ /* Sponsor button styling */
585+ .md-typeset .md-button {
586+ margin-top : 0.5em ;
587+ margin-right : 0.5em ;
442588 }
0 commit comments