@charset "UTF-8";

/*basic*/

body {
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #333;
}

h1 {
  background-color: #3b5998;
  color: white;
  font-weight: bold;
  font-size: 28px;
  width: 100%;
  padding: 10px 0;
  margin: 0;
  text-align: center;
  box-sizing: border-box;
  display: flex;
}

h2 {
  font-size: 20px;
  color: #333;
  font-weight: normal;
  text-align: center;
}

a {
  color: #000;
}

/*
hr {
  display: block;
  margin-block-start: 0.5em;
  margin-block-end: 0.5em;
  margin-inline-start: auto;
  margin-inline-end: auto;
  border-style: inset;
  border-width: 4px;
}
*/

.hr_special {
  display: block;
  margin-block-start: 0.5em;
  margin-block-end: 0.5em;
  margin-inline-start: auto;
  margin-inline-end: auto;
  border-style: inset;
  border-width: 4px;
}

/*table_related*/

table {
  border: 2px solid black;
  border-radius: 5px;
  width: 100%;
  table-layout: auto; /* 定义了固定的表格布局 */
  border-collapse: collapse;
}

tr {
  border-bottom: 1px solid #ccc;
}

th,
td {
  overflow: hidden; /* 在内容过多时隐藏溢出部分 */
  background-color: #fff;
}

th {
  background-color: #aaa;
  text-align: center;
}

/* 为第2至第5列设置最大宽度为10% */
th:nth-child(2),
td:nth-child(2),
th:nth-child(3),
td:nth-child(3),
th:nth-child(4),
td:nth-child(4),
th:nth-child(5),
td:nth-child(5) {
  max-width: 8%;
  word-wrap: break-word; /* 允许在单词处自动换行 */
}

th:nth-child(6),
td:nth-child(6) {
  /* 假设“名称”是在第六列 */
  max-width: 65%;
  word-wrap: break-word; /* 允许单词内换行 */
}

td {
  text-align: left;
}

/*decoration*/

.id_completed {
  color: green;
}

.id_uncompleted {
  color: red;
}

.td_code_data {
  text-align: center;
  font-weight: bold;
}

.i18n_card {
  border: 0.5px solid #dcdcdc; /* 给卡片加上边框 */
  border-radius: 10px; /* 可选：给卡片加上圆角 */
  padding: 2px; /* 卡片内边距 */
  margin-bottom: 1px; /* 卡片之间的间隔 */
  display: flex; /* 使用flex布局使内容并排 */
}

.i18n_lang_name {
  width: 30%;
  float: left;
  padding-right: 5px;
}

.i18n_lang_content {
  width: 70%;
  float: right;
}

.i18n_card > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between; /* 分散对齐，使左侧和右侧内容对齐两端 */
}

.i18n_card > div::after {
  content: "|"; /* 分隔符 */
  margin-left: 5px; /* 分隔符和文字之间的间隔 */
}

.main_page {
  padding: 25px; /* 卡片内边距 */
  margin-left: 30px;
  margin-right: 30px;
}

.main_paragraph {
  border: 2px solid #101010; /* 给卡片加上边框 */
  border-radius: 25px; /* 可选：给卡片加上圆角 */
  padding: 25px; /* 卡片内边距 */
  margin-bottom: 20px; /* 卡片之间的间隔 */
  background-color: #dedede;
}

/* 添加CSS以保证内容居中和样式 */
.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 150px; /* 这里设置h1的高度 */
  border: 1px solid #000; /* 如果需要h1周围的边框 */
  margin-top: 20px; /* 离四边的距离 */
  margin-bottom: 20px; /* 离四边的距离 */
  text-align: center;
}

.header-wrapper img {
  vertical-align: middle;
  margin-right: 15px; /* 右边距，可根据需要调整 */
}

.header-wrapper .page_title {
  font-size: 24px; /* 标题字体大小，可根据需要调整 */
  font-weight: bold;
  line-height: 1.5; /* 标题行高 */
  margin-left: 15px; /* 左边距，与图片的间隔相同 */
  white-space: nowrap; /* 防止标题换行 */
}

/* 分割线样式 */
.divider {
  background-color: #000;
  width: 1px;
  height: 80%; /* 根据需要调整分割线的高度 */
}
