打开/关闭菜单
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

模板:用户页快捷模板/styles.css:修订间差异

来自CalcWiki
小小白哦留言 | 贡献
创建页面,内容为“用户页快捷模板样式 - 深色模式兼容:​ .user-quick-card { margin: 1em auto; max-width: 800px; border: 1px solid #a2a9b1; background: #f8f9fa; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); font-family: sans-serif; } .user-quick-card-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: 1.2em 1.5em; background: linear-gradient(145deg…”
 
小小白哦留言 | 贡献
无编辑摘要
第1行: 第1行:
/* 用户页快捷模板样式 - 深色模式兼容 */
.user-quick-card {
.user-quick-card {
     margin: 1em auto;
     margin: 1em auto;
第15行: 第14行:
     align-items: center;
     align-items: center;
     justify-content: space-between;
     justify-content: space-between;
     padding: 1.2em 1.5em;
     padding: 1.2em 1.8em;
     background: linear-gradient(145deg, #eaf3ff, #ffffff);
     background: #ffffff;
     border-bottom: 1px solid #c8ccd1;
     border-bottom: 1px solid #c8ccd1;
     border-radius: 8px 8px 0 0;
     border-radius: 8px 8px 0 0;
第30行: 第29行:
     margin-left: 12px;
     margin-left: 12px;
     background: #eaecf0;
     background: #eaecf0;
     padding: 4px 10px;
     padding: 4px 12px;
     border-radius: 20px;
     border-radius: 20px;
     font-size: 0.85em;
     font-size: 0.85em;
     color: #54595d;
     color: #54595d;
}
.user-quick-button-group {
    display: flex;
    gap: 8px;
}
}


第39行: 第43行:
     padding: 5px 14px;
     padding: 5px 14px;
     border-radius: 20px;
     border-radius: 20px;
     border: 1px solid;
     background: #f8f9fa;
    color: #202122;
    text-decoration: none;
     display: inline-block;
     display: inline-block;
    border: none;
}
}


.user-quick-button-contrib {
.user-quick-button-talk {
     background: #eaf3ff;
     background: #eaf3ff;
    border-color: #a7d7f9;
}
}


.user-quick-button-talk {
.user-quick-button-email {
     background: #f8eccf;
     background: #fde7e6;
     border-color: #f0c68c;
}
 
.user-quick-contact {
     background: #f0f4c0;
}
 
.user-quick-content {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    padding: 1.8em;
}
}


.user-quick-button-email {
.user-quick-left {
     background: #fee7e6;
    flex: 2 1 280px;
     border-color: #f39c9c;
     background: #ffffff;
     border-radius: 8px;
    padding: 1.2em 1.5em;
}
}


.user-quick-section {
.user-quick-right {
     background: white;
     flex: 1.2 1 240px;
     border: 1px solid #eaecf0;
     background: #ffffff;
     border-radius: 8px;
     border-radius: 8px;
     padding: 1.2em;
     padding: 1.2em 1.5em;
}
}


第68行: 第86行:
     display: flex;
     display: flex;
     align-items: center;
     align-items: center;
     gap: 6px;
     gap: 8px;
     margin-bottom: 15px;
     margin-bottom: 1em;
     border-bottom: 2px solid #36c;
     border-bottom: 2px solid #3366cc;
     padding-bottom: 8px;
     padding-bottom: 8px;
     font-weight: 600;
     font-weight: 600;
第77行: 第95行:
}
}


.user-quick-section-title-about {
.user-quick-item {
     border-bottom-color: #2a4b8c;
     display: flex;
    margin-bottom: 12px;
    padding: 4px 0;
    line-height: 1.5;
}
}


.user-quick-label {
.user-quick-label {
     min-width: 85px;
     min-width: 85px;
     color: #36c;
     color: #3366cc;
     font-weight: 500;
     font-weight: 500;
}
.user-quick-item {
    display: flex;
    margin-bottom: 10px;
    padding: 5px 0;
}
}


.user-quick-about {
.user-quick-about {
     margin: 0;
     margin: 0;
     line-height: 1.5em;
     line-height: 1.6;
     color: #2c3e50;
     color: #2c3e50;
}
.user-quick-toolbox {
    margin-top: 20px;
}
.user-quick-toolbox-title {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    color: #54595d;
    border-bottom: 1px dashed #c8ccd1;
    padding-bottom: 5px;
    font-weight: 500;
}
.user-quick-tool {
    background: #f8f9fa;
    border: 1px solid #c8ccd1;
    border-radius: 16px;
    padding: 4px 12px;
    font-size: 0.9em;
    display: inline-block;
    margin: 0 4px 4px 0;
}
}


.user-quick-footer {
.user-quick-footer {
     background: #f0f4fc;
     background: #f0f4fc;
     padding: 0.7em 1.5em;
     padding: 0.8em 1.8em;
     border-top: 1px solid #c8ccd1;
     border-top: 1px solid #c8ccd1;
     border-radius: 0 0 8px 8px;
     border-radius: 0 0 8px 8px;
第135行: 第125行:


.user-quick-footer-left {
.user-quick-footer-left {
     color: #36c;
     color: #3366cc;
    font-weight: 500;
}
}


.user-quick-footer-right {
.user-quick-footer-right {
     color: #54595d;
     color: #54595d;
     font-size: 0.9em;
     font-size: 0.85em;
}
}


/* 深色模式 */
@media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) {
     .user-quick-card {
     .user-quick-card {
         border-color: #404244;
         border-color: #404244;
         background: #1e1f20;
         background: #1a1c1e;
         box-shadow: 0 2px 8px rgba(0,0,0,0.3);
         box-shadow: 0 2px 8px rgba(0,0,0,0.5);
     }
     }
   
 
     .user-quick-card-header {
     .user-quick-card-header {
         background: linear-gradient(145deg, #1a2a3a, #1e1f20);
         background: #1e1f21;
         border-bottom-color: #404244;
         border-bottom-color: #404244;
     }
     }
   
 
     .user-quick-card-title {
     .user-quick-card-title {
         color: #e0e2e5;
         color: #eaeef2;
     }
     }
   
 
     .user-quick-timezone {
     .user-quick-timezone {
        background: #2c2e30;
        color: #d1d5d9;
    }
    .user-quick-button {
         background: #2a2c2e;
         background: #2a2c2e;
         color: #c8ccd1;
         color: #eaeef2;
        border: none;
     }
     }
   
 
    .user-quick-button-contrib {
        background: #1a2a3a;
        border-color: #3366cc;
    }
   
     .user-quick-button-talk {
     .user-quick-button-talk {
         background: #3a3220;
         background: #1e2a3a;
         border-color: #e6b873;
         color: #b9d0f0;
     }
     }
   
 
     .user-quick-button-email {
     .user-quick-button-email {
         background: #3a2020;
         background: #3a2424;
         border-color: #e67e7e;
         color: #f0c0c0;
     }
     }
   
 
     .user-quick-section {
     .user-quick-contact {
         background: #1e1f20;
         background: #3a3a1e;
         border-color: #404244;
         color: #f0f0b0;
    }
 
    .user-quick-left,
    .user-quick-right {
        background: #1e1f21;
     }
     }
   
 
     .user-quick-section-title {
     .user-quick-section-title {
         color: #b9d0f0;
         color: #c8d9ff;
         border-bottom-color: #6699ff;
         border-bottom-color: #88aaff;
     }
     }
   
 
     .user-quick-label {
     .user-quick-label {
         color: #88aaff;
         color: #99bbff;
     }
     }
   
 
     .user-quick-about {
     .user-quick-about {
         color: #d0d4d8;
         color: #d4d8dc;
     }
     }
   
 
    .user-quick-toolbox-title {
        color: #c8ccd1;
        border-bottom-color: #404244;
    }
   
    .user-quick-tool {
        background: #2a2c2e;
        border-color: #54595d;
    }
   
     .user-quick-footer {
     .user-quick-footer {
         background: #1a2a3a;
         background: #1a1c1e;
         border-top-color: #404244;
         border-top-color: #404244;
     }
     }
   
 
     .user-quick-footer-left {
     .user-quick-footer-left {
         color: #88aaff;
         color: #99bbff;
     }
     }
   
 
     .user-quick-footer-right {
     .user-quick-footer-right {
         color: #c8ccd1;
         color: #b0b4b8;
    }
 
    .user-quick-item,
    .user-quick-section-title,
    .user-quick-footer,
    .user-quick-card-header {
        border-style: solid;
        border-color: #404244;
     }
     }
}
}


/* 窄屏适配 */
@media (max-width: 640px) {
@media (max-width: 600px) {
     .user-quick-card-header {
     .user-quick-card-header {
         flex-direction: column;
         flex-direction: column;
         align-items: flex-start;
         align-items: flex-start;
         gap: 10px;
         gap: 12px;
     }
     }
   
 
     .user-quick-timezone {
     .user-quick-button-group {
         margin-left: 0;
         width: 100%;
         margin-top: 5px;
         flex-wrap: wrap;
     }
     }
   
 
     .user-quick-item {
     .user-quick-item {
         flex-direction: column;
         flex-direction: column;
     }
     }
   
 
     .user-quick-label {
     .user-quick-label {
         margin-bottom: 4px;
         margin-bottom: 4px;
    }
    .user-quick-content {
        padding: 1.2em;
     }
     }
}
}

2026年2月12日 (四) 00:56的版本

.user-quick-card {
    margin: 1em auto;
    max-width: 800px;
    border: 1px solid #a2a9b1;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    font-family: sans-serif;
}

.user-quick-card-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 1.2em 1.8em;
    background: #ffffff;
    border-bottom: 1px solid #c8ccd1;
    border-radius: 8px 8px 0 0;
}

.user-quick-card-title {
    font-size: 1.8em;
    font-weight: 600;
    color: #202122;
}

.user-quick-timezone {
    margin-left: 12px;
    background: #eaecf0;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    color: #54595d;
}

.user-quick-button-group {
    display: flex;
    gap: 8px;
}

.user-quick-button {
    padding: 5px 14px;
    border-radius: 20px;
    background: #f8f9fa;
    color: #202122;
    text-decoration: none;
    display: inline-block;
    border: none;
}

.user-quick-button-talk {
    background: #eaf3ff;
}

.user-quick-button-email {
    background: #fde7e6;
}

.user-quick-contact {
    background: #f0f4c0;
}

.user-quick-content {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    padding: 1.8em;
}

.user-quick-left {
    flex: 2 1 280px;
    background: #ffffff;
    border-radius: 8px;
    padding: 1.2em 1.5em;
}

.user-quick-right {
    flex: 1.2 1 240px;
    background: #ffffff;
    border-radius: 8px;
    padding: 1.2em 1.5em;
}

.user-quick-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1em;
    border-bottom: 2px solid #3366cc;
    padding-bottom: 8px;
    font-weight: 600;
    color: #1d2c4a;
    font-size: 1.1em;
}

.user-quick-item {
    display: flex;
    margin-bottom: 12px;
    padding: 4px 0;
    line-height: 1.5;
}

.user-quick-label {
    min-width: 85px;
    color: #3366cc;
    font-weight: 500;
}

.user-quick-about {
    margin: 0;
    line-height: 1.6;
    color: #2c3e50;
}

.user-quick-footer {
    background: #f0f4fc;
    padding: 0.8em 1.8em;
    border-top: 1px solid #c8ccd1;
    border-radius: 0 0 8px 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-quick-footer-left {
    color: #3366cc;
    font-weight: 500;
}

.user-quick-footer-right {
    color: #54595d;
    font-size: 0.85em;
}

@media (prefers-color-scheme: dark) {
    .user-quick-card {
        border-color: #404244;
        background: #1a1c1e;
        box-shadow: 0 2px 8px rgba(0,0,0,0.5);
    }

    .user-quick-card-header {
        background: #1e1f21;
        border-bottom-color: #404244;
    }

    .user-quick-card-title {
        color: #eaeef2;
    }

    .user-quick-timezone {
        background: #2c2e30;
        color: #d1d5d9;
    }

    .user-quick-button {
        background: #2a2c2e;
        color: #eaeef2;
        border: none;
    }

    .user-quick-button-talk {
        background: #1e2a3a;
        color: #b9d0f0;
    }

    .user-quick-button-email {
        background: #3a2424;
        color: #f0c0c0;
    }

    .user-quick-contact {
        background: #3a3a1e;
        color: #f0f0b0;
    }

    .user-quick-left,
    .user-quick-right {
        background: #1e1f21;
    }

    .user-quick-section-title {
        color: #c8d9ff;
        border-bottom-color: #88aaff;
    }

    .user-quick-label {
        color: #99bbff;
    }

    .user-quick-about {
        color: #d4d8dc;
    }

    .user-quick-footer {
        background: #1a1c1e;
        border-top-color: #404244;
    }

    .user-quick-footer-left {
        color: #99bbff;
    }

    .user-quick-footer-right {
        color: #b0b4b8;
    }

    .user-quick-item,
    .user-quick-section-title,
    .user-quick-footer,
    .user-quick-card-header {
        border-style: solid;
        border-color: #404244;
    }
}

@media (max-width: 640px) {
    .user-quick-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .user-quick-button-group {
        width: 100%;
        flex-wrap: wrap;
    }

    .user-quick-item {
        flex-direction: column;
    }

    .user-quick-label {
        margin-bottom: 4px;
    }

    .user-quick-content {
        padding: 1.2em;
    }
}