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

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

来自MUC Wiki
Maintenance script留言 | 贡献
Tighten Tweeki homepage chrome and media layout
Maintenance script留言 | 贡献
Polish MUC Wiki homepage components
第1行: 第1行:
.mucwiki-home {
.mucwiki-home {
   color: #202733;
   color: #172033;
   font-size: 1rem;
   font-size: 1rem;
}
}


.mucwiki-home a {
.mucwiki-home a {
  color: #075fc7;
   text-decoration: none;
   text-decoration: none;
}
}
第10行: 第11行:
.mucwiki-home a:hover,
.mucwiki-home a:hover,
.mucwiki-home a:focus {
.mucwiki-home a:focus {
  color: #064b9c;
   text-decoration: underline;
   text-decoration: underline;
}
.mucwiki-home p {
  margin: 0;
}
}


.mucwiki-home-intro {
.mucwiki-home-intro {
   display: grid;
   display: grid;
   grid-template-columns: minmax(0, 1.35fr) minmax(240px, .65fr);
   grid-template-columns: minmax(0, 1fr) minmax(18rem, .46fr);
   gap: 1.25rem;
   gap: 1rem;
   align-items: stretch;
   align-items: stretch;
   padding: 1.25rem;
   padding: 1.1rem;
   border: 1px solid #d7dee8;
   border: 1px solid #d9e1ec;
   border-radius: 10px;
   border-radius: 14px;
   background: #f8fafc;
   background: #f5f8fc;
  box-shadow: 0 18px 50px rgba(37, 55, 82, .08);
}
}


.mucwiki-home-intro__copy {
.mucwiki-home-intro__copy {
   line-height: 1.75;
  display: grid;
  align-content: center;
  gap: .7rem;
  min-height: 14rem;
  padding: .35rem .25rem .35rem .35rem;
   line-height: 1.72;
}
 
.mucwiki-home-kicker {
  display: inline-block;
  padding: .28rem .6rem;
  border: 1px solid #c9d8ec;
  border-radius: 999px;
  background: #eef5ff;
  color: #315f9e;
  font-size: .86rem;
  font-weight: 700;
}
}


.mucwiki-home-title {
.mucwiki-home-title {
  margin: 0 0 .75rem;
   color: #0f172a;
   color: #0f172a;
   font-size: 1.85rem;
   font-size: 2.45rem;
   font-weight: 700;
   font-weight: 800;
   line-height: 1.2;
   line-height: 1.08;
}
}


.mucwiki-home-stats {
.mucwiki-home-intro__side {
   display: inline-block;
   display: grid;
   padding: .6rem .75rem;
   grid-template-rows: minmax(0, 1fr) auto;
   border: 1px solid #cad5e3;
   gap: .8rem;
   border-radius: 8px;
   min-width: 0;
  background: #fff;
}
}


第47行: 第68行:
   display: grid;
   display: grid;
   place-items: center;
   place-items: center;
   min-height: 14rem;
   min-height: 11.5rem;
   overflow: hidden;
   overflow: hidden;
   border-radius: 8px;
  border: 1px solid #edf1f6;
   border-radius: 12px;
   background: #fff;
   background: #fff;
}
}
第57行: 第79行:
   display: block;
   display: block;
   width: 100%;
   width: 100%;
   max-width: 360px;
   max-width: 320px;
   height: auto;
   height: auto;
   border-radius: 6px;
   border-radius: 10px;
}
 
.mucwiki-home-stats,
.mucwiki-home-note {
  border: 1px solid #d9e1ec;
  border-radius: 12px;
  background: #fff;
  color: #536070;
  line-height: 1.7;
}
 
.mucwiki-home-stats {
  padding: .72rem .85rem;
}
 
.mucwiki-home-stats a {
  font-weight: 800;
}
 
.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 {
.mucwiki-home-section {
   margin-top: 1.35rem;
   margin-top: 1.15rem;
}
}


.mucwiki-home-section h2 {
.mucwiki-home-section h2 {
   margin: 0 0 .8rem;
  display: flex;
  align-items: center;
  gap: .55rem;
   margin: 0 0 .72rem;
   color: #0f172a;
   color: #0f172a;
   font-size: 1.25rem;
   font-size: 1.22rem;
   font-weight: 700;
   font-weight: 800;
}
 
.mucwiki-home-section h2::before {
  content: "";
  display: inline-block;
  width: .42rem;
  height: 1.1rem;
  border-radius: 999px;
  background: #315f9e;
}
}


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


第85行: 第144行:
.mucwiki-home-panel,
.mucwiki-home-panel,
.mucwiki-home-help__grid > div {
.mucwiki-home-help__grid > div {
   border: 1px solid #d7dee8;
   border: 1px solid #d9e1ec;
   border-radius: 8px;
   border-radius: 12px;
   background: #fff;
   background: #fff;
  box-shadow: 0 10px 30px rgba(37, 55, 82, .06);
}
}


.mucwiki-home-card {
.mucwiki-home-card {
   min-height: 6.75rem;
  position: relative;
   padding: .95rem;
   min-height: 6rem;
   padding: .95rem 1rem;
}
 
.mucwiki-home-card:hover,
.mucwiki-home-card:focus {
  border-color: #a9c0df;
  box-shadow: 0 14px 34px rgba(37, 55, 82, .1);
}
}


第98行: 第165行:
.mucwiki-home-card span {
.mucwiki-home-card span {
   display: block;
   display: block;
}
.mucwiki-home-card strong {
  padding-right: 1.25rem;
  font-size: 1.02rem;
}
.mucwiki-home-card::after {
  content: "›";
  position: absolute;
  top: .85rem;
  right: 1rem;
  color: #8aa2c2;
  font-size: 1.35rem;
  line-height: 1;
}
}


.mucwiki-home-card span {
.mucwiki-home-card span {
   margin-top: .45rem;
   margin-top: .38rem;
   color: #4d5b6c;
   color: #536070;
   line-height: 1.65;
   line-height: 1.6;
}
}


第109行: 第191行:
   display: grid;
   display: grid;
   grid-template-columns: repeat(2, minmax(0, 1fr));
   grid-template-columns: repeat(2, minmax(0, 1fr));
   gap: 1rem;
   gap: .9rem;
}
}


第117行: 第199行:


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


第129行: 第214行:
   display: flex;
   display: flex;
   flex-wrap: wrap;
   flex-wrap: wrap;
   gap: .6rem;
   gap: .56rem;
}
}


第135行: 第220行:
   display: inline-flex;
   display: inline-flex;
   align-items: center;
   align-items: center;
   min-height: 2.35rem;
   min-height: 2.25rem;
   padding: .42rem .75rem;
   padding: .38rem .72rem;
   border: 1px solid #d7dee8;
   border: 1px solid #d9e1ec;
   border-radius: 999px;
   border-radius: 999px;
   background: #fff;
   background: #fff;
   line-height: 1.4;
  color: #344054;
   line-height: 1.35;
  box-shadow: 0 6px 18px rgba(37, 55, 82, .04);
}
}


第146行: 第233行:
   display: grid;
   display: grid;
   grid-template-columns: repeat(3, minmax(0, 1fr));
   grid-template-columns: repeat(3, minmax(0, 1fr));
   gap: .85rem;
   gap: .82rem;
}
}


第154行: 第241行:


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


.mucwiki-home-help p {
.mucwiki-home-help p {
  margin: 0;
   color: #536070;
   color: #4d5b6c;
   line-height: 1.66;
   line-height: 1.7;
}
}


第171行: 第258行:
}
}


.skin-tweeki.page-首页 #siteSub,
.skin-tweeki.page-首页 #contentSub,
.skin-tweeki.page-首页 #contentSub,
.skin-tweeki.page-首页 #jump-to-nav,
.skin-tweeki.page-首页 .printfooter,
.skin-tweeki.page-首页 .printfooter,
.skin-tweeki.page-首页 .sidebar-right,
.skin-tweeki.page-首页 .sidebar-right,
.skin-tweeki.page-首页 .tweeki-toc {
.skin-tweeki.page-首页 .tweeki-toc,
.skin-tweeki.page-首页 .mw-parser-output > p:first-child {
   display: none;
   display: none;
}
}
第180行: 第270行:
@media (max-width: 980px) {
@media (max-width: 980px) {
   .mucwiki-home-intro,
   .mucwiki-home-intro,
  .mucwiki-home-note,
   .mucwiki-home-columns,
   .mucwiki-home-columns,
   .mucwiki-home-help__grid {
   .mucwiki-home-help__grid {
第192行: 第283行:
@media (max-width: 560px) {
@media (max-width: 560px) {
   .mucwiki-home-intro {
   .mucwiki-home-intro {
     padding: 1rem;
     padding: .9rem;
    border-radius: 12px;
  }
 
  .mucwiki-home-intro__copy {
    min-height: auto;
   }
   }


   .mucwiki-home-title {
   .mucwiki-home-title {
     font-size: 1.5rem;
     font-size: 1.72rem;
  }
 
  .mucwiki-home-intro__media {
    min-height: 8.5rem;
  }
 
  .mucwiki-home-note {
    padding: .8rem;
   }
   }


第205行: 第309行:
   .mucwiki-home-link-cloud span {
   .mucwiki-home-link-cloud span {
     width: 100%;
     width: 100%;
     border-radius: 8px;
     border-radius: 10px;
   }
   }
}
}

2026年6月4日 (四) 02: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-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, .46fr);
  gap: 1rem;
  align-items: stretch;
  padding: 1.1rem;
  border: 1px solid #d9e1ec;
  border-radius: 14px;
  background: #f5f8fc;
  box-shadow: 0 18px 50px rgba(37, 55, 82, .08);
}

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

.mucwiki-home-kicker {
  display: inline-block;
  padding: .28rem .6rem;
  border: 1px solid #c9d8ec;
  border-radius: 999px;
  background: #eef5ff;
  color: #315f9e;
  font-size: .86rem;
  font-weight: 700;
}

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

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

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

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

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

.mucwiki-home-stats {
  padding: .72rem .85rem;
}

.mucwiki-home-stats a {
  font-weight: 800;
}

.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.15rem;
}

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

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

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

.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, .06);
}

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

.mucwiki-home-card:hover,
.mucwiki-home-card:focus {
  border-color: #a9c0df;
  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: .85rem;
  right: 1rem;
  color: #8aa2c2;
  font-size: 1.35rem;
  line-height: 1;
}

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

.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-intro,
  .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-intro {
    padding: .9rem;
    border-radius: 12px;
  }

  .mucwiki-home-intro__copy {
    min-height: auto;
  }

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

  .mucwiki-home-intro__media {
    min-height: 8.5rem;
  }

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

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

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