.announcement-page {
    padding: 0;
    display: flex;
    justify-content: center;
}

.frontboard {
    width: 60%;
    min-width: 600px;
    height: auto;
    padding: 40px 20px 0;
}

.container {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    padding: 0 5%;
    max-width: 80vw;
}

.ccontainner {
    margin-top: 15vh;
    margin-bottom: 5vh;
    padding: 20px;
}

.announcement {
    margin-bottom: 20px;
    border-radius: 8px;
    padding: 1.5rem;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.announcements-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 10vh;
}

.titlep {
    font-size: 25px;
    font-weight: 900;
}

.contentp {
    margin: 20px 0;
}



/* 固定右下角按钮 */
.is-fixed-bottom-right {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.is-fixed-bottom-right-for-new-slide-button {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 1000;
}

.icon-xitongguanli {
    color: aliceblue;
}

.icon-xiangshang {
    color: aliceblue;
}

/* 弹窗自定义样式 */
.modal.is-custom .modal-card {
    max-width: 500px;
    width: 90%;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.modal.is-custom .modal-card-head {
    background-color: rgb(166, 84, 241);
    color: white;
}

.modal.is-custom .modal-card-title {
    font-weight: bold;
}

.is-purple {
    background-color: rgb(166, 84, 241);
    color: black;
}












[data-theme=light] {

    .announcement {
        border: 1px solid #e5e7eb;
        background-color: #fff;
    }

    .titlep {
        color: rgb(0, 0, 0);
        font-weight: 300;
    }

    .contentp {
        color: rgb(0, 0, 0);
    }

    .administrator {
        color: rgb(0, 0, 0);
    }

    .date {
        color: rgb(0, 0, 0);
    }

    .announcement-page {
        background-color: #f9fafb;
    }
}

[data-theme=dark] {

    .announcement {
        background-color: rgb(51, 51, 51);
        border: 1px solid rgb(75, 75, 75);
    }

    .titlep {
        color: aliceblue;
        font-weight: 200;
    }

    .contentp {
        color: aliceblue;
    }

    .administrator {
        color: aliceblue;
    }

    .date {
        color: aliceblue;
    }
}