Warning: file_exists(): open_basedir restriction in effect. File(/bin/bash) is not within the allowed path(s): (/www/wwwroot/iadb.scy.la/:/tmp/) in /www/wwwroot/iadb.scy.la/mediawiki-1.43.0/includes/shell/CommandFactory.php on line 119
MediaWiki:Common.css:修订间差异 - IADb 跳转到内容

MediaWiki:Common.css:修订间差异

来自IADb
无编辑摘要
标签手工回退
无编辑摘要
第55行: 第55行:
.moe-info-box {
.moe-info-box {
   background: #0B0D12;
   background: #0B0D12;
   border: 1px solid #4b9fd5; /* 浅蓝色边框 */
   border: 1px solid #4b9fd5;
   border-radius: 8px;
   border-radius: 8px;
   padding: 12px;
   padding: 12px;
   margin: 15px 0;
   margin: 15px auto; /* 关键修改:auto实现水平居中 */
   display: flex;
   display: flex;
   align-items: center;
   max-width: 800px;  /* 控制最大宽度避免拉伸 */
   box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  width: 90%;         /* 响应式宽度 */
   justify-content: center; /* 内部元素水平居中 */
}
}



2025年4月13日 (日) 23:44的版本

/* 这里放置的CSS将应用于所有皮肤 */
/* 放置新的css之后请务必用注释标明该段css代码作用于什么以及何处。 */

/* 用于隐藏文字模板、模块 */
.spoiler {
    border: 1px solid #ccc;
    padding: 10px;
    margin: 10px 0;
}

.spoiler-header {
    font-weight: bold;
    cursor: pointer;
    color: #0645ad;
}

.spoiler-header:hover {
    text-decoration: underline;
}

.spoiler-content {
    margin-top: 10px;
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
}

/* 用于 模板:Documentation */
/* Documentation 模板样式 */
.template-documentation {
    border: 1px solid #aaa;
    background-color: #f9f9f9;
    padding: 10px;
    margin-top: 10px;
}

.template-documentation-header {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 10px;
}

.template-documentation-content {
    margin-bottom: 10px;
}

.template-documentation-footer {
    font-size: 0.9em;
    color: #666;
    text-align: right;
}

/* 模板topnotice所用的css */
/* 信息框容器 */
.moe-info-box {
  background: #0B0D12;
  border: 1px solid #4b9fd5;
  border-radius: 8px;
  padding: 12px;
  margin: 15px auto;  /* 关键修改:auto实现水平居中 */
  display: flex;
  max-width: 800px;   /* 控制最大宽度避免拉伸 */
  width: 90%;         /* 响应式宽度 */
  justify-content: center;  /* 内部元素水平居中 */
}

/* 左侧图标容器 */
.moe-info-icon {
  background: #4b9fd5;        /* 萌娘百科标志蓝 */
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  margin-right: 12px;
}

/* 图标字符"i" */
.moe-i-char {
  color: #fff;
  font-family: Arial, sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
  position: relative;
  top: -1px;                  /* 视觉居中微调 */
}

/* 右侧文字内容 */
.moe-info-text {
  color: #467BE3;                /* 深灰色文字 */
  font-size: 14px;
  line-height: 1.5;
  font-family: "Microsoft Yahei", "Segoe UI", sans-serif;
}

/* 内容居中 */
.topnotice-container {
  display: flex;
  justify-content: center;  /* 水平居中 */
  align-items: center;      /* 垂直居中 */
  min-height: 100vh;        /* 撑满视口高度 */
}