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

模板:版权/style.css

来自EaseCation Wiki
/* ========== 著作权说明模板 ========== */
.copyright-box {
    position: relative;
    overflow: hidden;
    max-width: 800px;
    margin: 20px auto;
    padding: 24px;
    border: 1px solid #d0d7de;
    border-left: 4px solid #0969da;
    border-radius: 8px;
    background: linear-gradient(135deg, #f6f8fa 0%, #ffffff 100%);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', sans-serif;
    line-height: 1.7;
    color: #1f2328;
}

.copyright-watermark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 0;
    pointer-events: none;
}

.copyright-watermark-bg {
    width: 50%;
    max-width: 380px;
    aspect-ratio: 1474 / 518;
    background-image: url('https://ec-wiki.oss-cn-hangzhou.aliyuncs.com/images/d/dd/EaseCation_Logo_%E6%A8%AA%E7%89%88%E9%80%8F%E6%98%8E%E5%BA%95.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.12;
    transform: rotate(40deg);
}

.copyright-content {
    position: relative;
    z-index: 1;
}
.copyright-content p {
    margin: 0 0 10px 0;
    font-size: 14px;
}
.copyright-content p:last-child {
    margin-bottom: 0;
    font-style: italic;
    color: #656d76;
    font-size: 13px;
}
.copyright-highlight {
    font-weight: 600;
    color: #0969da;
}

/* 桌面端 */
@media (min-width: 769px) {
    .copyright-watermark-bg {
        width: 50%;
        max-width: 380px;
        transform: rotate(40deg);
    }
}

/* 手机端 */
@media (max-width: 768px) {
    .copyright-watermark-bg {
        width: 550px;
        max-width: none;
        transform: rotate(45deg);
    }
}

/* ========== 深色模式适配 ========== */
@media (prefers-color-scheme: dark) {
    .copyright-box {
        border-color: #30363d;
        border-left-color: #58a6ff;
        background: linear-gradient(135deg, #161b22 0%, #0d1117 100%);
        color: #c9d1d9;
    }

    .copyright-content p:last-child {
        color: #8b949e;
    }

    .copyright-highlight {
        color: #58a6ff;
    }

    /* 水印在深色背景下需要略微提高透明度,否则完全看不见 */
    .copyright-watermark-bg {
        opacity: 0.18;
    }
}