china0396 发表于 2026-6-2 17:07:01

公告(从右往左滚动)

<style>
                /* 简约白色风美化 */
                body, .limiter, .container-login100, .bg {
                        background: #f5f7fa !important;
                        font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
                }
                html, body {
                        width: 100%;
                        height: 100%;
                        margin: 0 !important;
                        padding: 0 !important;
                }
                .limiter, .container-login100, .bg {
                        width: 100% !important;
                        min-height: 100vh !important;
                        padding: 0 !important;
                        margin: 0 !important;
                        align-items: stretch !important;
                }
                .wrap-login100 {
                        background: #ffffff !important;
                        border-radius: 0 !important;
                        box-shadow: none !important;
                        padding: 0 !important;
                        border: none !important;
                        width: 100% !important;
                        max-width: none !important;
                        margin: 0 !important;
                        min-height: 100vh !important;
                }
                .login100-form-title {
                        color: #2d3748 !important;
                        font-size: 24px !important;
                        font-weight: bold !important;
                        padding-bottom: 20px !important;
                        border-bottom: 1px solid #edf2f9 !important;
                        margin-bottom: 25px !important;
                }
                .form-control, .bootstrap-select > .dropdown-toggle {
                        background-color: #fafbfe !important;
                        border: 1px solid #e2e8f0 !important;
                        border-radius: 8px !important;
                        color: #4a5568 !important;
                        box-shadow: none !important;
                        margin-bottom: 15px !important;
                        height: auto !important;
                        padding: 10px 15px !important;
                }
                .form-control:focus {
                        border-color: #cbd5e0 !important;
                        background-color: #ffffff !important;
                }
                .btn {
                        border-radius: 8px !important;
                        font-weight: 500 !important;
                        border: none !important;
                        padding: 10px 20px !important;
                        margin-bottom: 10px !important;
                        transition: all 0.3s ease !important;
                        box-shadow: 0 2px 6px rgba(0,0,0,0.05) !important;
                }
                .btn-success { background-color: #48bb78 !important; color: #fff !important; }
                .btn-success:hover { background-color: #38a169 !important; box-shadow: 0 4px 10px rgba(72,187,120,0.2) !important;}
               
                .btn-primary { background-color: #4299e1 !important; color: #fff !important; }
                .btn-primary:hover { background-color: #3182ce !important; box-shadow: 0 4px 10px rgba(66,153,225,0.2) !important;}
               
                .btn-danger { background-color: #f56565 !important; color: #fff !important; }
                .btn-danger:hover { background-color: #e53e3e !important; box-shadow: 0 4px 10px rgba(245,101,101,0.2) !important;}
               
                hr {
                        border-top: 1px dashed #e2e8f0 !important;
                        margin: 25px 0 !important;
                }
                span {
                        color: #718096 !important;
                        font-size: 14px !important;
                }
                .txt1 {
                        color: #a0aec0 !important;
                        margin-top: 20px !important;
                        font-size: 12px !important;
                }
                .modal-body { padding: 18px 18px 0 18px !important; }
                .item-panel {
                        border: none;
                        border-radius: 10px;
                        background: #ffffff;
                        padding: 12px;
                }
                .item-panel-title {
                        font-size: 14px;
                        color: #4a5568;
                        font-weight: 600;
                        margin-bottom: 10px;
                }
                .item-selected {
                        display: flex;
                        gap: 8px;
                        align-items: center;
                        font-size: 12px;
                        color: #718096;
                        margin-bottom: 10px;
                }
                .item-selected-name {
                        color: #2d3748;
                        font-weight: 600;
                }
                .item-selected-desc {
                        color: #a0aec0;
                        font-size: 12px;
                        margin-bottom: 10px;
                }
                .item-list {
                        display: flex;
                        flex-wrap: wrap;
                        gap: 8px;
                        max-height: 260px;
                        overflow: auto;
                        padding: 8px;
                        border: none;
                        border-radius: 10px;
                        background: #fafbfe;
                }
                .item-pill {
                        border: 1px solid #e2e8f0;
                        background: #ffffff;
                        color: #2d3748;
                        border-radius: 14px;
                        padding: 6px 10px;
                        font-size: 12px;
                        line-height: 1;
                        cursor: pointer;
                        white-space: nowrap;
                }
                .item-pill.is-active {
                        border-color: #4299e1;
                        background: rgba(66,153,225,0.10);
                        color: #2b6cb0;
                }
                .notice {
                        color: #2d3748;
                        font-size: 13px;
                        line-height: 1.6;
                        padding: 12px 14px;
                        background: #fafbfe;
                        border: none;
                        border-radius: 10px;
                }
                .notice-title {
                        font-weight: 700;
                        color: #4a5568;
                }
                .tabbar {
                        display: flex;
                        gap: 10px;
                        align-items: center;
                        border-bottom: 1px solid #edf2f9;
                        margin: 18px 0 16px;
                        padding-bottom: 10px;
                }
                .tabbar-item {
                        border: 1px solid #e2e8f0;
                        background: #ffffff;
                        color: #4a5568;
                        border-radius: 999px;
                        padding: 8px 14px;
                        font-size: 13px;
                        cursor: pointer;
                }
                .tabbar-item.is-active {
                        border-color: #4299e1;
                        background: rgba(66,153,225,0.12);
                        color: #2b6cb0;
                }
                .tab-panel { display: none; }
                .tab-panel.is-active { display: block; }
                .embed-frame {
                        width: 100%;
                        height: 72vh;
                        border: 0;
                        background: #ffffff;
                }
                .marquee {
                        width: 100%;
                        overflow: hidden;
                        background: #fff7ed;
                        color: #9a3412;
                        border-bottom: 1px solid #fed7aa;
                        border-top: 1px solid #fed7aa;
                        padding: 10px 0;
                        margin: 0 0 14px 0;
                }
                .marquee-track {
                        display: inline-flex;
                        align-items: center;
                        white-space: nowrap;
                        will-change: transform;
                        animation: marquee 18s linear infinite;
                }
                .marquee-track > span {
                        padding-right: 48px;
                        font-size: 13px;
                        font-weight: 600;
                        letter-spacing: 0.2px;
                }
                @keyframes marquee {
                        from { transform: translateX(0); }
                        to { transform: translateX(-50%); }
                }

                /* 广告位样式美化 */
                .ad-section {
                        margin-top: 25px;
                        padding: 0 18px;
                }
                .ad-container {
                        display: flex;
                        gap: 15px;
                        margin-bottom: 20px;
                        width: 100%;
                }
                .ad-item {
                        flex: 1;
                        border-radius: 12px;
                        overflow: hidden;
                        box-shadow: 0 4px 15px rgba(0,0,0,0.08);
                        transition: all 0.3s ease;
                        background: #fff;
                        border: 1px solid #f0f0f0;
                        text-decoration: none;
                        display: block;
                }
                .ad-item:hover {
                        transform: translateY(-5px);
                        box-shadow: 0 8px 25px rgba(0,0,0,0.12);
                }
                .ad-item img {
                        width: 100%;
                        display: block;
                        aspect-ratio: 16 / 9;
                        object-fit: cover;
                }
                .ad-info {
                        padding: 12px;
                }
                .ad-title {
                        font-size: 15px;
                        font-weight: bold;
                        color: #333;
                        margin-bottom: 6px;
                        display: block;
                        white-space: nowrap;
                        overflow: hidden;
                        text-overflow: ellipsis;
                }
                .ad-desc {
                        font-size: 12px;
                        color: #666;
                        line-height: 1.5;
                        display: -webkit-box;
                        -webkit-line-clamp: 2;
                        -webkit-box-orient: vertical;
                        overflow: hidden;
                        height: 36px;
                }
                .ad-tag {
                        display: inline-block;
                        background: linear-gradient(135deg, #ff4d4f 0%, #ff7875 100%);
                        color: #fff;
                        font-size: 10px;
                        padding: 1px 6px;
                        border-radius: 4px;
                        margin-right: 6px;
                        vertical-align: middle;
                }

                /* 手机版轮播样式 */
                @media (max-width: 768px) {
                        .ad-container {
                                display: block;
                                position: relative;
                                overflow: hidden;
                                height: auto;
                        }
                        .ad-wrapper {
                                display: flex;
                                transition: transform 0.5s ease;
                                width: 200%;
                        }
                        .ad-item {
                                flex: 0 0 50%;
                                margin: 0;
                                border-radius: 0;
                                border: none;
                                box-shadow: none;
                        }
                        .ad-item img {
                                border-radius: 10px;
                                width: calc(100% - 20px);
                                margin: 0 10px;
                        }
                        .ad-dots {
                                display: flex;
                                justify-content: center;
                                gap: 8px;
                                margin-top: 10px;
                        }
                        .ad-dot {
                                width: 6px;
                                height: 6px;
                                border-radius: 50%;
                                background: #ddd;
                                transition: all 0.3s;
                        }
                        .ad-dot.active {
                                background: #4299e1;
                                width: 15px;
                                border-radius: 3px;
                        }
                }
        </style>
</head>

<body>

        <div class="limiter">
                <div class="bg container-login100">
                        <div class="wrap-login100">
                                <div class="marquee"><div class="marquee-track"><span>china0396公益游戏,请勿倒卖,资源请勿过多发送</span><span>china0396公益游戏,请勿倒卖,资源请勿过多发送</span></div>

页: [1]
查看完整版本: 公告(从右往左滚动)