MediaWiki

EventList.css:修订间差异

来自卡厄思梦境WIKI

律Rhyme留言 | 贡献
无编辑摘要
律Rhyme留言 | 贡献
无编辑摘要
 
第7行: 第7行:
     display: inline-block;
     display: inline-block;
     margin-right: 10px;
     margin-right: 10px;
     transition: min-height 0.3s ease;
     vertical-align: top;
}
}


第19行: 第19行:
     border-radius: 0px 0px 8px 8px;
     border-radius: 0px 0px 8px 8px;
     padding-bottom: 10px;
     padding-bottom: 10px;
    transition: height 0.3s ease;
}
}


第27行: 第26行:
     left: 0px;
     left: 0px;
     cursor: pointer;
     cursor: pointer;
}
.event-image img {
    display: block;
    width: 375px;
    height: auto;
}
}


第48行: 第53行:
     text-align: center;
     text-align: center;
     font-weight: bold;
     font-weight: bold;
    line-height: 20px;
}
}


第54行: 第60行:
     top: 170px;
     top: 170px;
     left: 10px;
     left: 10px;
     width: 365px;
     width: 355px;
}
}


.event-option {
.event-option {
     width: 355px;
     width: 345px;
     min-height: 30px;
     min-height: 30px;
     color: white;
     color: white;
     text-align: left;
     text-align: left;
     padding: 5px 0px 5px 10px;
     padding: 5px 10px;
     background-color: rgba(255, 255, 255, 0.3);
     background-color: rgba(255, 255, 255, 0.3);
     border-radius: 4px;
     border-radius: 4px;
     margin-bottom: 5px;
     margin-bottom: 5px;
     line-height: 20px;
     line-height: 20px;
    word-wrap: break-word;
    box-sizing: border-box;
}
}


第73行: 第81行:
     color: white;
     color: white;
     padding: 5px 10px;
     padding: 5px 10px;
     margin-left: 10px;
     margin-left: 0px;
     margin-bottom: 5px;
     margin-bottom: 5px;
     background-color: rgba(0, 0, 0, 0.4);
     background-color: rgba(0, 0, 0, 0.4);
第81行: 第89行:
     line-height: 18px;
     line-height: 18px;
     display: block;
     display: block;
    word-wrap: break-word;
    box-sizing: border-box;
}
}



2025年10月18日 (六) 13:41的最新版本

.event-container {
    position: relative;
    width: 375px;
    height: auto;
    min-height: 280px;
    margin-bottom: 20px;
    display: inline-block;
    margin-right: 10px;
    vertical-align: top;
}

.event-background {
    position: absolute;
    top: 160px;
    left: 5px;
    width: 365px;
    min-height: 120px;
    background-color: #343434;
    border-radius: 0px 0px 8px 8px;
    padding-bottom: 10px;
}

.event-image {
    position: absolute;
    top: 0px;
    left: 0px;
    cursor: pointer;
}

.event-image img {
    display: block;
    width: 375px;
    height: auto;
}

.event-title-bg {
    position: absolute;
    top: 135px;
    left: 5px;
    width: 365px;
    height: 30px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 0px 0px 8px 8px;
}

.event-title {
    position: absolute;
    top: 140px;
    left: 5px;
    width: 365px;
    height: 30px;
    color: white;
    text-align: center;
    font-weight: bold;
    line-height: 20px;
}

.event-options {
    position: absolute;
    top: 170px;
    left: 10px;
    width: 355px;
}

.event-option {
    width: 345px;
    min-height: 30px;
    color: white;
    text-align: left;
    padding: 5px 10px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    margin-bottom: 5px;
    line-height: 20px;
    word-wrap: break-word;
    box-sizing: border-box;
}

.event-effect {
    width: 345px;
    color: white;
    padding: 5px 10px;
    margin-left: 0px;
    margin-bottom: 5px;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 4px;
    border-left: 3px solid #ffcc00;
    font-size: 14px;
    line-height: 18px;
    display: block;
    word-wrap: break-word;
    box-sizing: border-box;
}

/* 响应式布局 */
@media (max-width: 768px) {
    .event-container {
        width: 100%;
        max-width: 375px;
        margin-right: 0;
        display: block;
        margin: 0 auto 20px auto;
    }
}