blog-hexo/themes/hexo-theme-cosy/source/css/c6b6a0f2.css
2023-11-01 15:10:40 +08:00

1 line
7.7 KiB
CSS

.magic-cards{display:grid;gap:24px;grid-template-columns:repeat(auto-fill,300px);justify-content:center}.magic-cards:hover .card:after{opacity:1}.magic-cards .card{background-color:var(--color-border);border-radius:10px;color:var(--color-font);cursor:pointer;display:flex;flex-direction:column;height:220px;position:relative;width:300px}.magic-cards .card:hover:before{opacity:1}.magic-cards .card:after,.magic-cards .card:before{background:radial-gradient(800px circle at var(--mouse-x) var(--mouse-y),hsla(0,0%,100%,.06),transparent 40%);z-index:3}.magic-cards .card:after,.magic-cards .card:before{border-radius:inherit;content:"";height:100%;left:0;opacity:0;position:absolute;top:0;transition:opacity .5s;width:100%}.magic-cards .card:after{background:radial-gradient(800px circle at var(--mouse-x) var(--mouse-y),hsla(0,0%,100%,.4),transparent 40%);z-index:1}.magic-cards .card>.card-content{background-color:var(--color-bg-2);border-radius:inherit;display:flex;flex-direction:column;flex-grow:1;inset:1px;padding:10px;position:absolute;z-index:2}.magic-cards .card .card-image{align-items:center;display:flex;height:140px;justify-content:center;overflow:hidden}.magic-cards .card .card-info-wrapper{flex:1}main{border:0!important}.resume{background-size:22.5px 22.5px;height:100%;overflow-y:auto;position:relative}.resume .container{column-gap:24px;display:grid;grid-template-columns:1fr 5fr;margin:0 auto}.resume .container aside{border-right:1px solid var(--color-border)}.resume .container aside .base{padding:24px}.resume .container aside .base figure{background:var(--color-bg-3);border-radius:32px;height:128px;margin:0 auto;width:128px}.resume .container aside .base figure img{border-radius:32px;width:100%}.resume .container aside .base h3{font-size:24px;font-weight:500;margin:2rem 0;text-align:center;text-transform:capitalize}.resume .container aside .base .badge{text-align:center}.resume .container aside .base .badge>span{background:var(--color-bg-3);border-radius:var(--radius);color:var(--color-font);padding:.5rem 1rem}.resume .container aside .base .seperation{background:var(--color-border);height:1px;margin:2.5rem 0}.resume .container aside .base>ul{list-style:none;margin:0;padding:0}.resume .container aside .base>ul li{align-items:center;display:flex;margin-bottom:2rem}.resume .container aside .base>ul li .icon{align-items:center;border-radius:var(--radius);color:var(--color-primary);display:inline-flex;height:36px;justify-content:center;padding:8px;width:36px}.resume .container aside .base>ul li .icon svg{height:20px;width:20px}.resume .container aside .base>ul li>div{display:flex;flex:1;flex-direction:column;justify-content:space-between;padding-left:1rem}.resume .container aside .base>ul li>div p{color:var(--color-font-2);font-size:12px;line-height:1;margin:0;text-transform:uppercase}.resume .container aside .base>ul li>div h4{color:var(--color-font);font-size:14px;font-weight:400;margin:0;padding-top:.5rem}.resume .container aside .base .social{column-gap:12px;display:grid;grid-template-columns:1fr 1fr 1fr 1fr 1fr}.resume .container aside .base .social a{border-radius:var(--radius);color:var(--color-font-2);display:inline-flex;height:32px;padding:4px;transition:all .3s ease;width:32px}.resume .container aside .base .social a:hover{background:var(--color-bg-3)}.resume .container main{border:1px solid var(--color-border);border-radius:var(--radius);padding:24px}.resume .container main>h2{font-family:linear;font-size:2rem;font-weight:600;margin-bottom:2rem;margin-top:0}.resume .container main>h2 span{position:relative}.resume .container main>h2 span:before{background:var(--color-primary);border-radius:.5rem;bottom:-1.0625rem;content:"";height:.3125rem;left:0;position:absolute;width:50%;z-index:1}.resume .container main .portfolio-title{margin:2rem 0 4rem;text-align:center}.resume .container main .portfolio-title span:before{left:50%;transform:translateX(-50%)}.resume .container main .about-me p{color:var(--color-font-2);font-weight:400;line-height:1.5}.resume .container main .skill{list-style:disc;padding-bottom:3rem;padding-left:16px}.resume .container main .skill li{color:var(--color-font-2);font-weight:300;line-height:1.5}.resume .container main ul{list-style:none;margin:0;padding:0 0 1rem}.resume .container main ul:last-of-type{padding-bottom:0}.resume .container main ul .title{align-items:center;display:flex;margin-bottom:2.5rem}.resume .container main ul .title>span{align-items:center;border-radius:var(--radius);color:var(--color-primary);display:inline-flex;height:36px;justify-content:center;position:relative;width:36px;z-index:10}.resume .container main ul .title>span:after{background:var(--color-border);bottom:-2.5rem;content:"";left:49%;position:absolute;top:100%;transform:translateX(-47%);width:1px;z-index:1}.resume .container main ul .title>span svg{height:20px;width:20px}.resume .container main ul .title h4{flex:1;font-size:1.5rem;font-weight:600;line-height:1.3;margin:0;padding-left:1rem}.resume .container main ul .item{border-left:1px solid var(--color-border);margin-left:17px;padding-bottom:2rem;padding-left:2.5rem;position:relative;z-index:10}.resume .container main ul .item:last-of-type{border-left:0}.resume .container main ul .item:before{background:var(--color-primary);border-radius:50%;box-shadow:0 0 0 .25rem var(--color-primary-4);content:"";height:.5625rem;left:-.3125rem;position:absolute;top:.0625rem;width:.5625rem}.resume .container main ul .item .name{font-size:1rem;margin:0}.resume .container main ul .item .name>label{display:inline-block;height:20px;margin-right:12px;vertical-align:middle;width:20px}.resume .container main ul .item .period{color:var(--color-font-2);font-size:15px;font-weight:400;line-height:1;padding-top:1rem}.resume .container main ul .item .content{color:var(--color-font-2);margin:0;padding:0 0 1rem}.resume .container main ul .item .desc{color:var(--color-font-2);line-height:1.5;margin:0;padding:.5rem 0 1rem}.resume .container main ul .item .list{list-style:decimal;padding-left:16px}.resume .container main ul .item .list li{line-height:1.5;margin-bottom:.5rem}.resume .container main .project .name{background:linear-gradient(45deg,var(--color-primary-2),transparent);border-radius:var(--radius) 0 0 var(--radius);padding:.5rem;transform:translateY(-.6rem)}.resume .container main .portfolio .magic-cards .card:hover .card-image{background-size:120% 120%}.resume .container main .portfolio .magic-cards .card:hover .card-image>span{opacity:.5;visibility:inherit}.resume .container main .portfolio .magic-cards .card .card-image{background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-radius:var(--radius);transition:background-size .3s ease-in-out}.resume .container main .portfolio .magic-cards .card .card-image>span{align-items:center;background:var(--color-bg);border-radius:var(--radius);color:var(--color-font);display:inline-flex;height:100%;justify-content:center;opacity:0;padding:8px;transition:all .3s ease;visibility:hidden;width:100%}.resume .container main .portfolio .magic-cards .card .card-image>span>svg{height:24px;width:24px}.resume .container main .portfolio .magic-cards .card .card-info-wrapper{padding:12px 12px 0 0}.resume .container main .portfolio .magic-cards .card .card-info-wrapper .card-info>svg{color:var(--color-font-2);height:24px;width:24px}.resume .container main .portfolio .magic-cards .card .card-info-wrapper .card-info .card-info-title h3,.resume .container main .portfolio .magic-cards .card .card-info-wrapper .card-info .card-info-title h4{margin:0}.resume .container main .portfolio .magic-cards .card .card-info-wrapper .card-info .card-info-title h3{line-height:2}.resume .container main .portfolio .magic-cards .card .card-info-wrapper .card-info .card-info-title h4{color:var(--color-font-2);font-weight:400}