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

MediaWiki:Common.css:修订间差异

MediaWiki界面页面
无编辑摘要
标签advanced mobile edit mobile web edit mobile edit
无编辑摘要
第1行: 第1行:
/* ===== Home Layout ===== */
/* 首页整体 */
 
.home {
.home {
   max-width: 1100px;
   max-width: 1200px;
   margin: 0 auto;
   margin: 0 auto;
   padding: 24px 16px;
   padding: 1.5em 1em;
}
}


第10行: 第9行:
   display: grid;
   display: grid;
   grid-template-columns: 1fr 1fr;
   grid-template-columns: 1fr 1fr;
   gap: 32px;
   gap: 1.5em;
}
}


@media (max-width: 768px) {
@media (max-width: 900px) {
   .home-grid {
   .home-grid {
     grid-template-columns: 1fr;
     grid-template-columns: 1fr;
第19行: 第18行:
}
}


/* 区块 */
.home-section {
.home-section {
   margin-bottom: 32px;
   background: var(--background-color-neutral-subtle, #f8f9fa);
  border-radius: 8px;
  padding: 1em 1.2em;
}
}


.section-title {
.section-title {
   font-size: 1.4em;
   font-size: 1.25em;
  font-weight: 600;
   margin-bottom: 0.8em;
   margin-bottom: 16px;
}
 
/* ===== Latest Pages ===== */
 
.latest-list {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}
}


/* 最新页面 */
.latest-item {
.latest-item {
   padding: 12px 16px;
   padding: 0.4em 0;
   border-bottom: 1px solid #e5e7eb;
   border-bottom: 1px solid #e0e0e0;
}
}


第46行: 第40行:
}
}


.latest-title a {
/* 典范条目 */
  text-decoration: none;
  color: #111827;
  font-weight: 500;
}
 
.latest-title a:hover {
  text-decoration: underline;
}
 
/* ===== Featured Pages ===== */
 
.featured-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
 
.featured-item {
.featured-item {
   padding: 14px 16px;
   padding: 0.5em 0;
  border: 1px solid #fde68a;
  border-radius: 8px;
  background: #fffbeb;
}
}


.featured-title a {
.featured-title {
  text-decoration: none;
  color: #92400e;
   font-weight: 600;
   font-weight: 600;
}
}


.featured-title a:hover {
/* 底部链接 */
  text-decoration: underline;
}
 
/* ===== Footer Link ===== */
 
.section-footer {
.section-footer {
   margin-top: 12px;
   margin-top: 0.8em;
   font-size: 0.9em;
   font-size: 0.9em;
  text-align: right;
}
}

2025年12月13日 (六) 21:45的版本

/* 首页整体 */
.home {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5em 1em;
}

.home-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5em;
}

@media (max-width: 900px) {
  .home-grid {
    grid-template-columns: 1fr;
  }
}

/* 区块 */
.home-section {
  background: var(--background-color-neutral-subtle, #f8f9fa);
  border-radius: 8px;
  padding: 1em 1.2em;
}

.section-title {
  font-size: 1.25em;
  margin-bottom: 0.8em;
}

/* 最新页面 */
.latest-item {
  padding: 0.4em 0;
  border-bottom: 1px solid #e0e0e0;
}

.latest-item:last-child {
  border-bottom: none;
}

/* 典范条目 */
.featured-item {
  padding: 0.5em 0;
}

.featured-title {
  font-weight: 600;
}

/* 底部链接 */
.section-footer {
  margin-top: 0.8em;
  font-size: 0.9em;
  text-align: right;
}