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

杂物间:空山新雨后/styles.css

来自EaseCation Wiki
/* 杂物间:空山新雨后 - "我想你"蔓延效果样式 */
/* 配合 JS 动态生成文字 */

/* 容器 - 仿论坛帖子风格 */
.miss-you-container {
    position: relative;
    width: 100%;
    min-height: 600px;
    overflow: hidden;
    background: #FEFEFE;
    font-family: "SimSun", "宋体", "Microsoft YaHei", serif;
    font-size: 14px;
    line-height: 1.6;
    color: #2F2F2F;
    padding: 15px;
    box-sizing: border-box;
    border: 1px solid #DDD;
    transition: background-color 0.5s ease;
}

/* 正文文字 */
.miss-you-content p {
    margin: 0.8em 0;
    text-indent: 2em;
    font-weight: normal;
}

/* 覆盖层 - JS 动态生成文字的容器 */
.miss-you-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
    overflow: hidden;
}

/* JS 动态生成的文字 */
.miss-word {
    position: absolute;
    font-weight: bold;
    color: #000000;
    white-space: nowrap;
    pointer-events: none;
    font-family: inherit;
    transition: opacity 0.15s ease;
    z-index: 15;
}

/* 黑色遮罩 */
.miss-you-blackout {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    z-index: 50;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1.5s ease;
}

.miss-you-blackout.show {
    opacity: 0.92;
}

/* 终局红色大字 */
.miss-you-final {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    font-weight: bold;
    color: #FF0000;
    text-align: center;
    z-index: 100;
    font-family: "SimHei", "Microsoft YaHei", sans-serif;
    letter-spacing: 8px;
    text-shadow: 0 0 20px rgba(255,0,0,0.5), 0 0 40px rgba(255,0,0,0.3);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s ease;
}

.miss-you-final.show {
    opacity: 1;
}

/* 仿论坛头部 */
.miss-you-header {
    background: #F0F7FF;
    border-bottom: 1px solid #CCCCCC;
    padding: 12px 15px;
    margin: -15px -15px 20px -15px;
}

.miss-you-header h2 {
    font-size: 18px;
    font-weight: bold;
    color: #003366;
    margin: 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #EAEFF3;
}

.miss-you-header .post-meta {
    color: #999;
    font-size: 11px;
    margin-top: 5px;
}

/* 仿论坛底部 */
.miss-you-footer {
    margin-top: 20px;
    border-top: 1px solid #EEE;
    padding-top: 10px;
    text-align: right;
    font-size: 12px;
}

.miss-you-footer a {
    color: #003366;
    text-decoration: none;
}