Fork自 虎纹鲨鱼 / avatar
@charset "UTF-8";@import"https://fonts.googleapis.com/css2?family=Rubik&display=swap";@import"https://fonts.googleapis.com/css2?family=Ubuntu+Mono&display=swap";.ps{overflow:hidden!important;overflow-anchor:none;-ms-overflow-style:none;touch-action:auto;-ms-touch-action:auto}.ps__rail-x{display:none;opacity:0;transition:background-color .2s linear,opacity .2s linear;-webkit-transition:background-color .2s linear,opacity .2s linear;height:15px;bottom:0px;position:absolute}.ps__rail-y{display:none;opacity:0;transition:background-color .2s linear,opacity .2s linear;-webkit-transition:background-color .2s linear,opacity .2s linear;width:15px;right:0;position:absolute}.ps--active-x>.ps__rail-x,.ps--active-y>.ps__rail-y{display:block;background-color:transparent}.ps:hover>.ps__rail-x,.ps:hover>.ps__rail-y,.ps--focus>.ps__rail-x,.ps--focus>.ps__rail-y,.ps--scrolling-x>.ps__rail-x,.ps--scrolling-y>.ps__rail-y{opacity:.6}.ps .ps__rail-x:hover,.ps .ps__rail-y:hover,.ps .ps__rail-x:focus,.ps .ps__rail-y:focus,.ps .ps__rail-x.ps--clicking,.ps .ps__rail-y.ps--clicking{background-color:#eee;opacity:.9}.ps__thumb-x{background-color:#aaa;border-radius:6px;transition:background-color .2s linear,height .2s ease-in-out;-webkit-transition:background-color .2s linear,height .2s ease-in-out;height:6px;bottom:2px;position:absolute}.ps__thumb-y{background-color:#aaa;border-radius:6px;transition:background-color .2s linear,width .2s ease-in-out;-webkit-transition:background-color .2s linear,width .2s ease-in-out;width:6px;right:2px;position:absolute}.ps__rail-x:hover>.ps__thumb-x,.ps__rail-x:focus>.ps__thumb-x,.ps__rail-x.ps--clicking .ps__thumb-x{background-color:#999;height:11px}.ps__rail-y:hover>.ps__thumb-y,.ps__rail-y:focus>.ps__thumb-y,.ps__rail-y.ps--clicking .ps__thumb-y{background-color:#999;width:11px}@supports (-ms-overflow-style: none){.ps{overflow:auto!important}}@media screen and (-ms-high-contrast: active),(-ms-high-contrast: none){.ps{overflow:auto!important}}/*! minireset.css v0.0.6 | MIT License | github.com/jgthms/minireset.css */html,body,p,ol,ul,li,dl,dt,dd,blockquote,figure,fieldset,legend,textarea,pre,iframe,hr,h1,h2,h3,h4,h5,h6{margin:0;padding:0}h1,h2,h3,h4,h5,h6{font-weight:400;font-size:100%}ul{list-style:none}button,input,select,textarea{margin:0}html{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}img,video{max-width:100%;height:auto}iframe{border:0}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}td:not([align]),th:not([align]){text-align:left}a{color:inherit;text-decoration:none}button{padding:0;font-family:inherit;border:none}@font-face{font-family:Fallback;src:local(system-ui),local(-apple-system),local(BlinkMacSystemFont),local(Segoe UI),local(Roboto),local(Ubuntu),local(Helvetica),local(Arial),local(sans-serif)}:root{color-scheme:dark}html,body{height:100%;margin:0;font-size:16px;font-family:Rubik,Fallback;scroll-behavior:smooth;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}img{user-select:none;-webkit-user-drag:none}::selection{background:rgba(164,178,193,.15)}#app{width:100%;height:100%}.action-menu[data-v-2dd04e4d]{display:flex;align-items:center;margin-top:5rem;padding:.5rem;background-color:#2a2f37;border-radius:2rem}.action-menu .menu-item[data-v-2dd04e4d]{display:flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;margin:0 .5rem;background-color:#404854;border-radius:50%;cursor:pointer;transition:opacity .2s}.action-menu .menu-item.disabled[data-v-2dd04e4d]{cursor:default;opacity:.6}.ps--active-y .ps__rail-y:hover,.ps--active-y .ps__rail-y.ps--clicking{background-color:#2c323a}.setting-section[data-v-a40a40a0]{padding:1.8rem 1rem}.setting-section .section-title[data-v-a40a40a0]{margin-bottom:1.5rem;font-weight:700;line-height:23px}.configurator-scroll[data-v-50693044]{width:20rem;height:100%}@media screen and (max-width: 976px){.configurator-scroll[data-v-50693044]{background-color:#1f2329}}.configurator[data-v-50693044]{width:100%;color:#a4b2c1}.configurator .wrapper-shape[data-v-50693044]{display:flex;align-items:center}.configurator .wrapper-shape .wrapper-shape__item[data-v-50693044]{padding:.4rem .5rem;cursor:pointer}.configurator .wrapper-shape .wrapper-shape__item .shape[data-v-50693044]{display:inline-block;width:1.5rem;height:1.5rem;background-color:#a4b2c1;transition:background-color .2s}.configurator .wrapper-shape .wrapper-shape__item .shape.circle[data-v-50693044]{border-radius:50%}.configurator .wrapper-shape .wrapper-shape__item .shape.squircle[data-v-50693044]{border-radius:20%}.configurator .wrapper-shape .wrapper-shape__item .shape.active[data-v-50693044]{background-color:#6967fe}.configurator .color-picker[data-v-50693044]{margin:1rem 0 .5rem}.configurator .color-picker summary[data-v-50693044]{color:#677f98;font-size:small;cursor:pointer;user-select:none}.configurator .color-list[data-v-50693044]{display:flex;flex-wrap:wrap;align-items:center}.configurator .color-list .color-list__item[data-v-50693044]{position:relative;z-index:1;width:14.2857142857%;padding:.6rem 0;cursor:pointer;transition:transform .2s}.configurator .color-list .color-list__item .bg-color[data-v-50693044]{position:relative;box-sizing:content-box;width:1.3em;height:1.3em;margin:0 auto;font-size:16px;border-radius:50%;box-shadow:0 0 .05em .2em #1f2329}.configurator .color-list .color-list__item .bg-color.transparent[data-v-50693044]{background:#fff!important}.configurator .color-list .color-list__item .bg-color.transparent[data-v-50693044]:after{position:absolute;top:50%;left:50%;z-index:1;color:#ff4757;font-weight:700;font-size:1.8rem;transform:translate(-50%,-50%) scale(.5);opacity:1;content:"\\"}.configurator .color-list .color-list__item .bg-color[data-v-50693044]:before{position:absolute;top:50%;left:50%;z-index:-1;width:100%;height:100%;background:inherit;border-radius:50%;transform:translate(-50%,-50%);opacity:.5;transition:width .15s,height .15s;content:""}.configurator .color-list .color-list__item .bg-color[data-v-50693044]:after{position:absolute;top:50%;left:50%;z-index:1;color:#1f2329;font-size:1.5rem;transform:translate(-50%,-50%) scale(.5);opacity:0;transition:opacity .15s;content:"\2714"}.configurator .color-list .color-list__item .bg-color.active[data-v-50693044]:before{width:160%;height:160%}.configurator .color-list .color-list__item .bg-color.active[data-v-50693044]:after{opacity:1}.configurator .widget-list[data-v-50693044]{display:flex;flex-wrap:wrap}.configurator .widget-list .list-item[data-v-50693044]{display:flex;align-items:center;justify-content:center;width:25%;height:5rem;padding:1rem;border-radius:.8rem;cursor:pointer;transition:background-color .2s}.configurator .widget-list .list-item.selected.selected[data-v-50693044]{background-color:#2c323a}.configurator .widget-list .list-item[data-v-50693044]:hover{background-color:#1f2329}.configurator .widget-list .list-item[data-v-50693044]>svg{width:100%!important;height:100%!important}.configurator .widget-list .list-item[data-v-50693044] path{stroke:#a4b2c1!important}.avatar-background[data-v-6050a99e]{position:absolute;top:0;left:0;width:100%;height:100%;transition:background-color .1s}.vue-color-avatar[data-v-b13467b4]{position:relative;overflow:hidden}.vue-color-avatar.circle[data-v-b13467b4]{border-radius:50%}.vue-color-avatar.squircle[data-v-b13467b4]{border-radius:25px}.vue-color-avatar .avatar-payload[data-v-b13467b4]{position:relative;z-index:2;width:100%;height:100%}.modal[data-v-7442ae89]{position:fixed;top:0;left:0;z-index:999;width:100%;height:100%;overflow:hidden;backdrop-filter:blur(.1rem)}@media (prefers-reduced-motion: no-preference){.fade-enter-active[data-v-7442ae89],.fade-leave-active[data-v-7442ae89]{transition:opacity .25s ease,transform .2s}}.fade-enter-from[data-v-7442ae89],.fade-leave-to[data-v-7442ae89]{opacity:0}.container[data-v-3f0e140c]{position:absolute;top:50%;left:50%;height:min(90vh,1000px);overflow:hidden;background-color:#252a31;border-radius:1rem;transform:translate(-50%,-50%)}.container .top-bar[data-v-3f0e140c]{position:absolute;right:0;left:0;z-index:10;display:flex;align-items:center;height:3.5rem;padding:1rem 2rem;background-color:#2c323a}.container .top-bar .right[data-v-3f0e140c]{display:flex;align-items:center;margin-left:auto}.container .top-bar .right .download-btn[data-v-3f0e140c]{color:#fff;background-color:#6967fe}.container .top-bar .right .regenerate-btn[data-v-3f0e140c],.container .top-bar .right .download-btn[data-v-3f0e140c]{display:flex;align-items:center;justify-content:center;height:2rem;margin-left:1rem;padding:0 1rem;border-radius:.4rem;cursor:pointer}.container .top-bar .right .regenerate-btn[data-v-3f0e140c]:disabled,.container .top-bar .right .regenerate-btn[disabled][data-v-3f0e140c],.container .top-bar .right .download-btn[data-v-3f0e140c]:disabled,.container .top-bar .right .download-btn[disabled][data-v-3f0e140c]{color:#fffc;cursor:not-allowed}.container .content-box[data-v-3f0e140c]{height:100%;padding:3.5rem 0rem 0rem}.container .content[data-v-3f0e140c]{z-index:10;display:grid;grid-auto-rows:min-content;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:2rem;justify-content:space-between;width:max(85vw,1280px);padding:2rem}.container .content .avatar-box[data-v-3f0e140c]{position:relative;display:flex;align-items:center;justify-content:center}.container .content .avatar-box .download-single[data-v-3f0e140c]{position:absolute;bottom:1rem;left:50%;z-index:10;display:flex;align-items:center;justify-content:center;min-width:6.6rem;height:2.3rem;margin-left:1rem;padding:0 1rem;color:#a4b2c1;font-weight:700;background:#2a2f37;border-radius:.4rem;border-radius:.6rem;transform:translate(-50%);cursor:pointer;opacity:0;transition:color .2s;user-select:none}.container .content .avatar-box .download-single[data-v-3f0e140c]:hover{color:#c2ccd6}.container .content .avatar-box:hover .download-single[data-v-3f0e140c]{opacity:1}.code-box[data-v-b96dadb0]{position:absolute;top:50%;left:50%;width:75%;max-width:800px;height:min(90vh,1000px);margin:0 auto;padding:4rem 2rem 2.5rem;overflow:hidden;background-color:#252a31;border-radius:1rem;transform:translate(-50%,-50%);transition:width .2s}@media screen and (max-width: 1200px){.code-box[data-v-b96dadb0]{width:75%}}@media screen and (max-width: 768px){.code-box[data-v-b96dadb0]{width:80%}}@media screen and (max-width: 480px){.code-box[data-v-b96dadb0]{width:90%;padding:4rem 1rem 2.5rem}.code-box .code-header[data-v-b96dadb0]{padding:0 1rem}}.code-box .code-header[data-v-b96dadb0]{position:absolute;top:0;left:0;display:flex;align-items:center;width:100%;height:4rem;padding:0 2rem}.code-box .code-header .title[data-v-b96dadb0]{font-weight:700}.code-box .code-header .close-btn[data-v-b96dadb0]{display:flex;align-items:center;justify-content:center;width:2rem;height:2rem;margin-left:auto;background-color:#303740;border-radius:50%;cursor:pointer}.code-box .code-header .close-btn .icon-close[data-v-b96dadb0]{width:45%;opacity:.6;transition:opacity .2s}.code-box .code-header .close-btn:hover .icon-close[data-v-b96dadb0]{opacity:1}.code-box .code-content-box[data-v-b96dadb0]{position:relative;height:20rem;height:100%;padding:1rem 0;background:#1d2026;border-radius:.8rem}.code-box .code-content-box .code-scroll-wrapper[data-v-b96dadb0]{height:100%}.code-box .code-content-box .copy-btn[data-v-b96dadb0]{position:absolute;top:100%;left:50%;display:flex;align-items:center;justify-content:center;width:5rem;height:2rem;color:#fff;background-color:#6967fe;border-radius:.4rem;transform:translate(-50%,-45%);cursor:pointer;transition:color .15s,background-color .15s}.code-box .code-content-box .copy-btn.copied[data-v-b96dadb0]{color:#1f2329;background-color:#85e9f4}.code-content{display:block;padding:0 1.5rem;color:#c0c5ce;color:#81cfef;font-size:1.25rem;font-family:Ubuntu Mono,Fallback;line-height:1.4}@media screen and (max-width: 480px){.code-content{padding:0 1rem;font-size:1rem}}.code-content>.token.key{color:#ffcb6b}.code-content>.token.string,.code-content>.token.number{color:#c3e88d}.download-modal-wrapper[data-v-be9118fa]{position:fixed;bottom:0;left:50%;z-index:999;display:flex;align-items:center;justify-content:center;width:100%;height:100%;padding:2rem 0;overflow:hidden;transform:translate(-50%);backdrop-filter:blur(.3rem)}@supports not (backdrop-filter: blur(.3rem)){.download-modal-wrapper[data-v-be9118fa]{background-color:#1f2329cc}}.download-modal[data-v-be9118fa]{position:relative;width:50%;min-width:310px;max-width:500px;background-color:#1d2026;border:.15rem solid rgba(105,103,254,.8);border-radius:1rem}.download-modal .modal-body[data-v-be9118fa]{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;padding:1.8rem 1.2rem 1rem}.download-modal .modal-body .avatar-preview[data-v-be9118fa]{width:60%;margin:0 auto}@media screen and (max-width: 768px){.download-modal .modal-body .avatar-preview[data-v-be9118fa]{width:80%}}@media screen and (max-width: 480px){.download-modal .modal-body .avatar-preview[data-v-be9118fa]{width:90%}}.download-modal .modal-body .avatar-preview .avatar-img[data-v-be9118fa]{width:100%;height:100%;object-fit:contain}.download-modal .modal-body .tip[data-v-be9118fa]{max-width:70%;margin:0 auto;padding:1.5rem 0;color:#a4b2c1;font-size:.85rem;text-align:center;cursor:default}.download-modal .close-btn[data-v-be9118fa]{position:absolute;right:1rem;bottom:-1rem;min-width:5rem;height:2.5rem;margin:0 1rem;margin-left:auto;padding:0 1rem;color:#a4b2c1;font-weight:700;background:#2a2f37;border-radius:.2rem;border-radius:.6rem;cursor:pointer;transition:color .2s,transform .2s;user-select:none}.download-modal .close-btn[data-v-be9118fa]:hover{color:#c2ccd6;transform:translateY(-.3rem)}.container[data-v-434f1076]{height:100%;padding-right:20rem}.container.full[data-v-434f1076]{padding-right:0}@media screen and (max-width: 976px){.container[data-v-434f1076]{padding-right:0}}@media (prefers-reduced-motion: no-preference){.container[data-v-434f1076]{transition:padding-right .2s}}.footer[data-v-19b24bb2]{display:flex;align-items:center;justify-content:center;height:4rem;padding:.8rem 0;color:#a4b2c166;font-weight:700;font-size:.8rem}.footer .divider[data-v-19b24bb2]{padding:0 1rem}.footer .locale[data-v-19b24bb2]{cursor:pointer}.footer .link[data-v-19b24bb2],.footer .locale[data-v-19b24bb2]{transition:color .2s}.footer .link[data-v-19b24bb2]:hover,.footer .locale[data-v-19b24bb2]:hover{color:#a4b2c1}.header[data-v-546b16ed]{display:flex;align-items:center;height:6rem;padding:1rem 2rem}.header .site-title[data-v-546b16ed]{margin-left:1rem;font-weight:700;font-size:1.9rem;cursor:default}@media screen and (max-width: 480px){.header .site-title[data-v-546b16ed]{display:none}}.header .header-right[data-v-546b16ed]{margin-left:auto}.header .header-right .github-button[data-v-546b16ed]{position:relative;z-index:0;display:flex;align-items:center;justify-content:center;width:9rem;height:2.6rem;overflow:hidden;color:#a4b2c1;font-weight:700;font-size:1.05rem;background-color:#1f2329;border-radius:.6rem;cursor:pointer;user-select:none}.header .header-right .github-button[data-v-546b16ed]:hover{background-color:#181b20}.header .header-right .github-button .text[data-v-546b16ed]{margin-left:.5rem;letter-spacing:.03rem}.sider[data-v-1bd06f8a]{position:fixed;top:0;right:0;z-index:200;height:100%}@media (prefers-reduced-motion: no-preference){.sider[data-v-1bd06f8a]{transition:transform .2s;will-change:transform}}.sider .icon-right[data-v-1bd06f8a]{transition:transform .2s}.sider.collapsed[data-v-1bd06f8a]{transform:translate(100%)}.sider.collapsed .icon-right[data-v-1bd06f8a]{transform:rotateY(-180deg)}.sider .trigger[data-v-1bd06f8a]{position:absolute;top:50%;left:1px;display:flex;align-items:center;justify-content:center;width:1.2rem;height:4rem;background-color:#1f2329;border-radius:.4rem 0 0 .4rem;transform:translate(-100%,-50%);cursor:pointer;transition:width .2s,background-color .2s}.sider .trigger[data-v-1bd06f8a]:hover{width:1.5rem;background-color:#2a2f37}.main[data-v-1a54838a]{width:100%;height:100%;overflow:hidden;color:#a4b2c1;background-color:#14161a}.main .content-warpper[data-v-1a54838a]{height:100%;transform:scale(1)}.main .content-warpper .content-view[data-v-1a54838a]{position:relative;z-index:110;display:flex;flex-direction:column;height:100%;overflow-y:auto}.playground[data-v-1a54838a]{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;padding:2rem 0}.playground .avatar-wrapper[data-v-1a54838a]{display:flex;align-items:center;justify-content:center}@media screen and (max-width: 480px){.playground .avatar-wrapper[data-v-1a54838a]{transform:scale(.85)}}.playground .action-group[data-v-1a54838a]{display:flex;align-items:center;justify-content:center;margin-top:4rem;column-gap:1rem}@supports not (column-gap: 1rem){.playground .action-group .action-btn[data-v-1a54838a]{margin:0 .5rem}}.playground .action-group .action-btn[data-v-1a54838a]{min-width:6rem;height:2.5rem;padding:0 1rem;color:#a4b2c1;font-weight:700;background:#2a2f37;border-radius:.6rem;cursor:pointer;transition:color .2s;user-select:none}.playground .action-group .action-btn[data-v-1a54838a]:hover{color:#c2ccd6}.playground .action-group .action-btn[data-v-1a54838a]:disabled,.playground .action-group .action-btn[disabled][data-v-1a54838a]{color:#a4b2c180;cursor:default}@media screen and (max-width: 480px){.playground .action-group .action-multiple[data-v-1a54838a]{display:none}}@supports (filter: blur(4rem)) or (-webkit-filter: blur(4rem)) or (-moz-filter: blur(4rem)){.gradient-bg[data-v-1a54838a]{position:fixed;top:0;left:0;width:100%;height:100%}.gradient-bg .gradient-top[data-v-1a54838a]{position:absolute;width:100vh;height:100vh;background-image:radial-gradient(rgba(133,233,244,.8) 20%,rgba(133,233,244,.6) 40%,rgba(133,233,244,.4) 60%,rgba(133,233,244,.2) 80%,transparent 100%);border-radius:50%;opacity:.2;filter:blur(4rem);top:-50%;right:-20%}.gradient-bg .gradient-bottom[data-v-1a54838a]{position:absolute;width:100vh;height:100vh;background-image:radial-gradient(rgba(105,103,254,.8) 20%,rgba(105,103,254,.6) 40%,rgba(105,103,254,.4) 60%,rgba(105,103,254,.2) 80%,transparent 100%);border-radius:50%;opacity:.2;filter:blur(4rem);bottom:-50%;left:-20%}}