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

模板:MUCWikiHome/styles.css:修订间差异

来自MUC Wiki
Maintenance script留言 | 贡献
Tighten mobile homepage first screen
Maintenance script留言 | 贡献
Refine MUC Wiki home component styles
第19行: 第19行:
}
}


.mucwiki-home-intro {
.mucwiki-home-masthead {
   display: grid;
   display: grid;
   grid-template-columns: minmax(0, 1fr) minmax(18rem, .46fr);
   grid-template-columns: minmax(0, 1.05fr) minmax(18rem, .56fr);
   gap: 1rem;
   gap: .95rem;
   align-items: stretch;
   align-items: stretch;
   padding: 1.1rem;
   padding: 1rem;
   border: 1px solid #d9e1ec;
   border: 1px solid #d9e1ec;
   border-radius: 14px;
   border-radius: 16px;
   background: #f5f8fc;
   background: #f5f8fc;
   box-shadow: 0 18px 50px rgba(37, 55, 82, .08);
   box-shadow: 0 18px 50px rgba(37, 55, 82, .08);
}
}


.mucwiki-home-intro__copy {
.mucwiki-home-copy {
   display: grid;
   display: grid;
   align-content: center;
   align-content: center;
   gap: .7rem;
   gap: .62rem;
   min-height: 14rem;
   min-height: 11.5rem;
   padding: .35rem .25rem .35rem .35rem;
   padding: .35rem .25rem .35rem .35rem;
   line-height: 1.72;
   line-height: 1.7;
}
}


.mucwiki-home-kicker {
.mucwiki-home-kicker {
   display: inline-block;
   display: inline-block;
   padding: .28rem .6rem;
  width: max-content;
   border: 1px solid #c9d8ec;
  max-width: 100%;
   padding: .26rem .64rem;
   border: 1px solid #bfd0e6;
   border-radius: 999px;
   border-radius: 999px;
   background: #eef5ff;
   background: #eef5ff;
   color: #315f9e;
   color: #315f9e;
   font-size: .86rem;
   font-size: .86rem;
   font-weight: 700;
   font-weight: 800;
}
}


.mucwiki-home-title {
.mucwiki-home-title {
   color: #0f172a;
   color: #0f172a;
   font-size: 2.45rem;
   font-size: 2.18rem;
   font-weight: 800;
   font-weight: 800;
   line-height: 1.08;
   line-height: 1.08;
}
}


.mucwiki-home-intro__side {
.mucwiki-home-lede {
  max-width: 42rem;
  color: #253044;
  font-size: 1.03rem;
  font-weight: 700;
}
 
.mucwiki-home-side {
   display: grid;
   display: grid;
   grid-template-rows: minmax(0, 1fr) auto;
   grid-template-rows: minmax(0, 1fr) auto;
   gap: .8rem;
   gap: .7rem;
   min-width: 0;
   min-width: 0;
}
}


.mucwiki-home-intro__media {
.mucwiki-home-media {
   display: grid;
   display: grid;
   place-items: center;
   place-items: center;
   min-height: 11.5rem;
   min-height: 9.5rem;
   overflow: hidden;
   overflow: hidden;
   border: 1px solid #edf1f6;
   border: 1px solid #edf1f6;
   border-radius: 12px;
   border-radius: 14px;
   background: #fff;
   background: #fff;
}
}


.mucwiki-home-intro__media .mw-file-element,
.mucwiki-home-media .mw-file-element,
.mucwiki-home-intro__media img {
.mucwiki-home-media img {
   display: block;
   display: block;
   width: 100%;
   width: 100%;
   max-width: 320px;
   max-width: 300px;
   height: auto;
   height: auto;
   border-radius: 10px;
   border-radius: 11px;
}
 
.mucwiki-home-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .55rem;
}
}


.mucwiki-home-stats,
.mucwiki-home-stat {
.mucwiki-home-note {
  min-width: 0;
  padding: .64rem .7rem;
   border: 1px solid #d9e1ec;
   border: 1px solid #d9e1ec;
   border-radius: 12px;
   border-radius: 12px;
   background: #fff;
   background: #fff;
   color: #536070;
   color: #536070;
   line-height: 1.7;
   line-height: 1.28;
}
}


.mucwiki-home-stats {
.mucwiki-home-stat strong,
   padding: .72rem .85rem;
.mucwiki-home-stat span {
   display: block;
}
}


.mucwiki-home-stats a {
.mucwiki-home-stat strong {
  color: #075fc7;
  font-size: 1.12rem;
   font-weight: 800;
   font-weight: 800;
}
.mucwiki-home-stat span {
  margin-top: .18rem;
  font-size: .85rem;
}
.mucwiki-home-topline,
.mucwiki-home-note {
  border: 1px solid #d9e1ec;
  border-radius: 12px;
  background: #fff;
  color: #536070;
  line-height: 1.68;
}
.mucwiki-home-topline {
  margin-top: .82rem;
  padding: .68rem .85rem;
}
}


第110行: 第148行:


.mucwiki-home-section {
.mucwiki-home-section {
   margin-top: 1.15rem;
   margin-top: 1.05rem;
}
}


第117行: 第155行:
   align-items: center;
   align-items: center;
   gap: .55rem;
   gap: .55rem;
   margin: 0 0 .72rem;
   margin: 0 0 .68rem;
   color: #0f172a;
   color: #0f172a;
   font-size: 1.22rem;
   font-size: 1.2rem;
   font-weight: 800;
   font-weight: 800;
  letter-spacing: 0;
}
}


第127行: 第166行:
   display: inline-block;
   display: inline-block;
   width: .42rem;
   width: .42rem;
   height: 1.1rem;
   height: 1.08rem;
   border-radius: 999px;
   border-radius: 999px;
   background: #315f9e;
   background: #315f9e;
第134行: 第173行:
.mucwiki-home-grid {
.mucwiki-home-grid {
   display: grid;
   display: grid;
   gap: .82rem;
   gap: .76rem;
}
}


第147行: 第186行:
   border-radius: 12px;
   border-radius: 12px;
   background: #fff;
   background: #fff;
   box-shadow: 0 10px 30px rgba(37, 55, 82, .06);
   box-shadow: 0 10px 30px rgba(37, 55, 82, .055);
}
}


.mucwiki-home-card {
.mucwiki-home-card {
   position: relative;
   position: relative;
   min-height: 6rem;
   min-height: 5.65rem;
   padding: .95rem 1rem;
   padding: .9rem 1rem;
}
}


.mucwiki-home-card:hover,
.mucwiki-home-card:hover,
.mucwiki-home-card:focus {
.mucwiki-home-card:focus {
   border-color: #a9c0df;
   border-color: #9cb8dc;
   box-shadow: 0 14px 34px rgba(37, 55, 82, .1);
   box-shadow: 0 14px 34px rgba(37, 55, 82, .1);
}
}
第175行: 第214行:
   content: "›";
   content: "›";
   position: absolute;
   position: absolute;
   top: .85rem;
   top: .84rem;
   right: 1rem;
   right: 1rem;
   color: #8aa2c2;
   color: #8aa2c2;
第183行: 第222行:


.mucwiki-home-card span {
.mucwiki-home-card span {
   margin-top: .38rem;
   margin-top: .34rem;
   color: #536070;
   color: #536070;
   line-height: 1.6;
   line-height: 1.55;
}
}


第269行: 第308行:


@media (max-width: 980px) {
@media (max-width: 980px) {
   .mucwiki-home-intro,
   .mucwiki-home-masthead,
   .mucwiki-home-note,
   .mucwiki-home-note,
   .mucwiki-home-columns,
   .mucwiki-home-columns,
第282行: 第321行:


@media (max-width: 560px) {
@media (max-width: 560px) {
   .mucwiki-home-intro {
   .mucwiki-home-masthead {
     padding: .9rem;
     padding: .9rem;
     border-radius: 12px;
     border-radius: 14px;
   }
   }


   .mucwiki-home-intro__copy {
   .mucwiki-home-copy {
     min-height: auto;
     min-height: auto;
    gap: .5rem;
   }
   }


   .mucwiki-home-title {
   .mucwiki-home-copy p:nth-of-type(4) {
     font-size: 1.72rem;
     display: none;
   }
   }


   .mucwiki-home-intro__copy {
   .mucwiki-home-title {
     gap: .5rem;
     font-size: 1.62rem;
   }
   }


   .mucwiki-home-intro__copy p:nth-of-type(4) {
   .mucwiki-home-lede {
     display: none;
     font-size: .98rem;
   }
   }


   .mucwiki-home-intro__side {
   .mucwiki-home-side {
     gap: .55rem;
     gap: .55rem;
   }
   }


   .mucwiki-home-intro__media {
   .mucwiki-home-media {
     min-height: 0;
     min-height: 0;
     max-height: 8rem;
     max-height: 7.6rem;
  }
 
  .mucwiki-home-media .mw-file-element,
  .mucwiki-home-media img {
    max-width: 230px;
  }
 
  .mucwiki-home-stats-grid {
    gap: .45rem;
  }
 
  .mucwiki-home-stat {
    padding: .55rem .5rem;
   }
   }


   .mucwiki-home-intro__media .mw-file-element,
   .mucwiki-home-stat strong {
  .mucwiki-home-intro__media img {
     font-size: .98rem;
     max-width: 240px;
   }
   }


   .mucwiki-home-stats {
   .mucwiki-home-stat span {
     padding: .62rem .75rem;
     font-size: .78rem;
   }
   }


  .mucwiki-home-topline,
   .mucwiki-home-note {
   .mucwiki-home-note {
     padding: .8rem;
     padding: .78rem;
   }
   }


   .mucwiki-home-grid--primary {
   .mucwiki-home-grid--primary {
     grid-template-columns: 1fr;
     grid-template-columns: 1fr;
  }
  .mucwiki-home-card {
    min-height: 5.2rem;
   }
   }



2026年6月4日 (四) 03:28的版本

.mucwiki-home {
  color: #172033;
  font-size: 1rem;
}

.mucwiki-home a {
  color: #075fc7;
  text-decoration: none;
}

.mucwiki-home a:hover,
.mucwiki-home a:focus {
  color: #064b9c;
  text-decoration: underline;
}

.mucwiki-home p {
  margin: 0;
}

.mucwiki-home-masthead {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, .56fr);
  gap: .95rem;
  align-items: stretch;
  padding: 1rem;
  border: 1px solid #d9e1ec;
  border-radius: 16px;
  background: #f5f8fc;
  box-shadow: 0 18px 50px rgba(37, 55, 82, .08);
}

.mucwiki-home-copy {
  display: grid;
  align-content: center;
  gap: .62rem;
  min-height: 11.5rem;
  padding: .35rem .25rem .35rem .35rem;
  line-height: 1.7;
}

.mucwiki-home-kicker {
  display: inline-block;
  width: max-content;
  max-width: 100%;
  padding: .26rem .64rem;
  border: 1px solid #bfd0e6;
  border-radius: 999px;
  background: #eef5ff;
  color: #315f9e;
  font-size: .86rem;
  font-weight: 800;
}

.mucwiki-home-title {
  color: #0f172a;
  font-size: 2.18rem;
  font-weight: 800;
  line-height: 1.08;
}

.mucwiki-home-lede {
  max-width: 42rem;
  color: #253044;
  font-size: 1.03rem;
  font-weight: 700;
}

.mucwiki-home-side {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: .7rem;
  min-width: 0;
}

.mucwiki-home-media {
  display: grid;
  place-items: center;
  min-height: 9.5rem;
  overflow: hidden;
  border: 1px solid #edf1f6;
  border-radius: 14px;
  background: #fff;
}

.mucwiki-home-media .mw-file-element,
.mucwiki-home-media img {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 11px;
}

.mucwiki-home-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .55rem;
}

.mucwiki-home-stat {
  min-width: 0;
  padding: .64rem .7rem;
  border: 1px solid #d9e1ec;
  border-radius: 12px;
  background: #fff;
  color: #536070;
  line-height: 1.28;
}

.mucwiki-home-stat strong,
.mucwiki-home-stat span {
  display: block;
}

.mucwiki-home-stat strong {
  color: #075fc7;
  font-size: 1.12rem;
  font-weight: 800;
}

.mucwiki-home-stat span {
  margin-top: .18rem;
  font-size: .85rem;
}

.mucwiki-home-topline,
.mucwiki-home-note {
  border: 1px solid #d9e1ec;
  border-radius: 12px;
  background: #fff;
  color: #536070;
  line-height: 1.68;
}

.mucwiki-home-topline {
  margin-top: .82rem;
  padding: .68rem .85rem;
}

.mucwiki-home-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, .56fr);
  gap: .75rem;
  margin-top: .9rem;
  padding: .85rem 1rem;
}

.mucwiki-home-section {
  margin-top: 1.05rem;
}

.mucwiki-home-section h2 {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 .68rem;
  color: #0f172a;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0;
}

.mucwiki-home-section h2::before {
  content: "";
  display: inline-block;
  width: .42rem;
  height: 1.08rem;
  border-radius: 999px;
  background: #315f9e;
}

.mucwiki-home-grid {
  display: grid;
  gap: .76rem;
}

.mucwiki-home-grid--primary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mucwiki-home-card,
.mucwiki-home-panel,
.mucwiki-home-help__grid > div {
  border: 1px solid #d9e1ec;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(37, 55, 82, .055);
}

.mucwiki-home-card {
  position: relative;
  min-height: 5.65rem;
  padding: .9rem 1rem;
}

.mucwiki-home-card:hover,
.mucwiki-home-card:focus {
  border-color: #9cb8dc;
  box-shadow: 0 14px 34px rgba(37, 55, 82, .1);
}

.mucwiki-home-card strong,
.mucwiki-home-card span {
  display: block;
}

.mucwiki-home-card strong {
  padding-right: 1.25rem;
  font-size: 1.02rem;
}

.mucwiki-home-card::after {
  content: "›";
  position: absolute;
  top: .84rem;
  right: 1rem;
  color: #8aa2c2;
  font-size: 1.35rem;
  line-height: 1;
}

.mucwiki-home-card span {
  margin-top: .34rem;
  color: #536070;
  line-height: 1.55;
}

.mucwiki-home-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem;
}

.mucwiki-home-panel {
  padding: 1rem 1.1rem;
}

.mucwiki-home-panel ul {
  display: grid;
  gap: .38rem;
  margin: .2rem 0 0;
  padding-left: 1.1rem;
  line-height: 1.75;
}

.mucwiki-home-panel--building {
  background: #fffdf7;
  border-color: #ead7a0;
}

.mucwiki-home-link-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: .56rem;
}

.mucwiki-home-link-cloud span {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  padding: .38rem .72rem;
  border: 1px solid #d9e1ec;
  border-radius: 999px;
  background: #fff;
  color: #344054;
  line-height: 1.35;
  box-shadow: 0 6px 18px rgba(37, 55, 82, .04);
}

.mucwiki-home-help__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .82rem;
}

.mucwiki-home-help__grid > div {
  padding: .95rem;
}

.mucwiki-home-help h3 {
  margin: 0 0 .45rem;
  color: #172033;
  font-size: 1rem;
  font-weight: 800;
}

.mucwiki-home-help p {
  color: #536070;
  line-height: 1.66;
}

.skin-tweeki.page-首页 .firstHeading,
.skin-tweeki.page-首页 #firstHeading,
.skin-tweeki.page-首页 h1.firstHeading {
  display: none;
}

.skin-tweeki.page-首页 #siteSub,
.skin-tweeki.page-首页 #contentSub,
.skin-tweeki.page-首页 #jump-to-nav,
.skin-tweeki.page-首页 .printfooter,
.skin-tweeki.page-首页 .sidebar-right,
.skin-tweeki.page-首页 .tweeki-toc,
.skin-tweeki.page-首页 .mw-parser-output > p:first-child {
  display: none;
}

@media (max-width: 980px) {
  .mucwiki-home-masthead,
  .mucwiki-home-note,
  .mucwiki-home-columns,
  .mucwiki-home-help__grid {
    grid-template-columns: 1fr;
  }

  .mucwiki-home-grid--primary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .mucwiki-home-masthead {
    padding: .9rem;
    border-radius: 14px;
  }

  .mucwiki-home-copy {
    min-height: auto;
    gap: .5rem;
  }

  .mucwiki-home-copy p:nth-of-type(4) {
    display: none;
  }

  .mucwiki-home-title {
    font-size: 1.62rem;
  }

  .mucwiki-home-lede {
    font-size: .98rem;
  }

  .mucwiki-home-side {
    gap: .55rem;
  }

  .mucwiki-home-media {
    min-height: 0;
    max-height: 7.6rem;
  }

  .mucwiki-home-media .mw-file-element,
  .mucwiki-home-media img {
    max-width: 230px;
  }

  .mucwiki-home-stats-grid {
    gap: .45rem;
  }

  .mucwiki-home-stat {
    padding: .55rem .5rem;
  }

  .mucwiki-home-stat strong {
    font-size: .98rem;
  }

  .mucwiki-home-stat span {
    font-size: .78rem;
  }

  .mucwiki-home-topline,
  .mucwiki-home-note {
    padding: .78rem;
  }

  .mucwiki-home-grid--primary {
    grid-template-columns: 1fr;
  }

  .mucwiki-home-card {
    min-height: 5.2rem;
  }

  .mucwiki-home-link-cloud span {
    width: 100%;
    border-radius: 10px;
  }
}