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

模板:Warning/style.css

来自EaseCation Wiki
.warn-banner {
  display: flex;
  align-items: center;
  background-color: #ffcdcd;
  border-radius: 6px;
  padding: 0 20px;
  position: relative;
  overflow: hidden;
  height: 75px;
}

.warn-banner-left-bar {
  width: 20px;
  height: 100%;
  background-color: #6a0000;
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 6px 0 0 6px;
}

.warn-banner-content {
  display: flex;
  align-items: center;
  width: 100%;
}

.warn-banner-label {
  display: flex;
  align-items: center;
  margin-left: 10px;
}

.warn-banner-text {
  margin-top: 4px;
}

.warn-title {
  font-size: 24px;
  color: #6a0000;
  margin: 0;
}

.warn-desc {
  font-size: 16px;
  color: #6a0000;
  margin: 0;
}

.warn-bigtext {
  font-size: 68px;
  color: #ff7575;
  opacity: 0.75;
  margin: 0 0 0 auto;
  font-family: "HarmonyOS Sans SC Bold", sans-serif;
  height: 95px;
}

@media (max-width: 647px) {
  .warn-title {
    font-size: 18px;
  }
  .warn-desc {
    font-size: 10px;
  }
  .warn-bigtext {
    display: none;
  }
}

/* 
@media screen and (prefers-color-scheme: dark) {
  .warn-title {
    color: #5aa1ff;
  }
  .warn-desc {
    color: #5aa1ff;
  }
  .warn-bigtext {
    color: #004aad;
  }
  .warn-banner {
    background-color: #001b3f;
  }
}
*/