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

模板:Mbox/styles.css

来自EaseCation Wiki

/* 手机PC布局优化自适应 */
.content-wrapper {
  overflow: auto;
}

.text-content {
  margin-right: 20px;
}

.table-content {
  margin-bottom: 20px;
}

@media screen and (min-width: 768px) {
  .text-content {
    float: left;
    width: 50%;
  }
  .table-content {
    float: right;
    width: 40%;
    margin-right: 30px;
  }
}

@media screen and (max-width: 767px) {
  .text-content,
  .table-content {
    float: none;
    width: 100%;
  }
  .table-content {
    margin-bottom: 20px;
  }
}

/* 模板NewInfoBox */
.info {
  display: flex; 
  width: 100%;
  margin: 15px auto;
  border-radius: 8px;
  overflow: hidden; 
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.info + .info {
  margin-top: -15px;
  border-top-left-radius: 0; 
  border-top-right-radius: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}



.info-sidebar {
  width: 13px;
  background: var(--sidebar-color, brown); /* 使用传入的颜色,默认棕色 */
}



.info-content {
  flex: 1;
  padding: 12px 15px;
  background: var(--content-bg, #F9F5F0); /* 使用传入的背景色,默认浅米色 */
  position: relative;
}

.info-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 1px;
  color: var(--title-color, #000000);
}

.info-description {
  font-size: 14px;
  color: var(--desc-color, #333);      
  line-height: 1.45; 
}

.info-watermark {
  position: absolute;
  right: 15px;
  top: 48px;
  transform: translateY(-50%);
  font-size: 78px;
  font-weight: 600; /* 修正为标准值 */
  color: var(--watermark-color, #1a3e8c);
  opacity: 0.15;
  z-index: 0;
  white-space: nowrap; /* 防止换行 */
  overflow: hidden; /* 隐藏溢出内容 */
  text-overflow: ellipsis;
  max-width: calc(100% - 30px); /* 限制宽度,留出 padding 空间 */
}

.info-image {
  width: 85px;
  flex-shrink: 0;
  background-color: var(--content-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 5px;
  box-sizing: border-box;
}

.info-image img,
.info-image .thumb {
  max-width: 65px;
  max-height: 65px;
  border-radius: 5px;
  object-fit: contain;
}



@media (max-width: 600px) {
  .info-watermark {
    display: none;
  }
}



/* 一个超级无敌好看的框框和按钮 */

.guide-font {
    font-family: 'Arial', 'PingFang SC', sans-serif;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.card {
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 20px;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card h2 {
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

.button {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.button:hover {
    background: #2980b9;
}

.card ul {
    list-style-type: disc;
    margin-left: 20px;
}

.card:nth-child(1) { animation-delay: 0.2s; }
.card:nth-child(2) { animation-delay: 0.4s; }
.card:nth-child(3) { animation-delay: 0.6s; }
.card:nth-child(4) { animation-delay: 0.8s; }


@media screen and (prefers-color-scheme: dark) {
    .card {
        background: #1e1e1e;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
        color: #e0e0e0;
    }

    .card h2 {
        color: #ffffff;
        border-bottom-color: #4a9eff;
    }

    .button {
        background: #4a9eff;
        color: #ffffff;
    }

    .button:hover {
        background: #3a8ee6;
    }
}





.heimu,
.heimu a,
a.heimu,
.heimu a.new {
    background-color: #000000 !important;  
    color: #000000 !important;            
    text-shadow: none !important; 
    transition: color 0.15s, background-color 0.15s;
}

.heimu:hover,
.heimu:active,
.heimu:focus,
.heimu:hover a,
.heimu:active a,
.heimu:focus a,
.heimu:hover .heimu,
.heimu:active .heimu {
    color: #ddd !important;
    background-color: transparent;
}