打开/关闭菜单
105
746
3
3130
夜幕之下 Wiki - Reign of Nightfall 中文资料站
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

模板:公告沙盒/styles.css

来自夜幕之下 Wiki - Reign of Nightfall 中文资料站
/* 公告归档沙盒 */
.ron-notice-sandbox {
  box-sizing: border-box;
  position: relative;
  isolation: isolate;
  width: 100vw;
  max-width: none;
  min-height: 100dvh;
  margin: 0 calc(50% - 50vw) 72px;
  padding: 60px 0 0;
  color: #251f22;
  background: linear-gradient(180deg, rgba(255, 255, 255, .72), rgba(245, 232, 229, .92));
  font-family: 'AlibabaPuHuiTi', 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  letter-spacing: 0;
  overflow-x: clip;
}

.ron-notice-sandbox *,
.ron-notice-sandbox *::before,
.ron-notice-sandbox *::after {
  box-sizing: border-box;
}

.ron-notice-sandbox a {
  color: inherit;
}

.ron-notice-hero {
  position: relative;
  z-index: 1;
  width: 100vw;
  min-height: clamp(301px, 32dvh, 360px);
  padding-bottom: 42px;
  overflow: hidden;
  isolation: isolate;
}

.ron-notice-hero-inner {
  position: relative;
  z-index: 2;
  top: auto;
  width: min(1500px, 100%);
  margin: 0 auto;
  padding: clamp(54px, 7vw, 92px) clamp(22px, 5vw, 76px) 0;
}

.ron-notice-kicker {
  color: rgba(237, 65, 65, .88);
  text-shadow: none;
}

.ron-notice-hero-title {
  margin-top: 18px;
  color: rgba(37, 31, 34, .96);
  font-family: Georgia, 'Noto Serif SC', 'Source Han Serif SC', serif;
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 700;
  line-height: 1.02;
  text-shadow: none;
}

.ron-notice-hero-title .atlas_frame-title-sub {
  color: rgba(237, 65, 65, .76);
}

.ron-notice-surface-wrap {
  position: relative;
  z-index: 2;
  left: 50%;
  width: 100vw;
  min-height: 0;
  margin-top: 0;
  overflow-x: clip;
  transform: translateX(-50%);
}

.ron-notice-surface {
  position: relative;
  top: auto;
  width: 100%;
  height: auto;
  min-height: 68dvh;
  margin-top: -42px;
  padding-top: 78px;
  overflow: visible;
  color: #251f22;
  border-radius: 100vw 100vw 0 0 / 2.4em 2.4em 0 0;
  border-top: thin solid rgb(255 235 240 / 74%);
  background: linear-gradient(to bottom, rgba(255, 255, 255, .81) 0%, rgba(255, 255, 255, .77) 35%, rgba(255, 255, 255, .69) 100%);
  box-shadow:
    0 -40px 80px -45px rgba(0, 0, 0, .25),
    0 -2px 6px rgb(255 255 255 / 18%),
    0 -4px 14px rgba(255, 180, 200, .20),
    inset 0 -30px 60px rgba(0, 0, 0, .035);
}

.ron-notice-surface::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: inherit;
  background: radial-gradient(120% 70% at 50% -18%, rgba(255, 255, 255, .96) 0%, rgba(255, 230, 235, .68) 18%, rgba(255, 200, 215, .37) 30%, rgba(255, 200, 215, .17) 40%, rgba(255, 200, 215, 0) 55%);
  opacity: .64;
}

.ron-notice-shell {
  position: relative;
  z-index: 1;
  display: block;
  width: min(1500px, 100%);
  height: auto;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 64px) clamp(64px, 8vw, 110px);
}

.ron-notice-layout {
  display: grid;
  grid-template-columns: minmax(252px, 300px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: start;
  width: min(1400px, 100%);
  margin: 0 auto;
}

.ron-notice-toc {
  position: sticky;
  top: 84px;
  max-height: calc(100dvh - 112px);
  min-height: 0;
  padding-right: 18px;
  overflow-y: auto;
  border-right: 1px solid rgba(77, 43, 48, .14);
}

.ron-notice-toc__item {
  position: relative;
  display: block;
  margin: 0 -6px;
  padding: 14px 6px 15px;
  color: inherit;
  border-bottom: 1px solid rgba(77, 43, 48, .11);
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.ron-notice-toc__item:hover {
  background: rgba(237, 65, 65, .045);
  border-bottom-color: rgba(237, 65, 65, .22);
}

.ron-notice-toc__hitbox {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.ron-notice-toc__hitbox > a {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  color: transparent;
  font-size: 0;
}

.ron-notice-toc__hitbox > a:focus {
  outline: 2px solid rgba(237, 65, 65, .48);
  outline-offset: -2px;
}

.ron-notice-toc__media {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0 0 10px;
  cursor: zoom-in;
}

.ron-notice-toc__media > span,
.ron-notice-toc__media > span > a,
.ron-notice-toc__media .mw-file-description {
  display: block;
  width: 100%;
  height: auto;
}

.ron-notice-toc__media .mw-file-element {
  display: block;
  width: 100% !important;
  height: auto !important;
  object-fit: contain;
}

.ron-notice-toc__meta {
  margin-bottom: 5px;
  color: rgba(237, 65, 65, .76);
  font-size: 11px;
  line-height: 1;
}

.ron-notice-toc__title {
  max-height: 4.35em;
  overflow: hidden;
  color: rgba(37, 31, 34, .82);
  font-family: Georgia, "Noto Serif SC", serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.ron-notice-toc__item:hover .ron-notice-toc__title {
  color: #ed4141;
}

.ron-notice-feed {
  min-width: 0;
  width: 100%;
  margin: 0;
}

.ron-notice-eyebrow,
.ron-notice-detail__meta,
.ron-notice-card__meta {
  color: #687078;
  font-size: 13px;
  line-height: 1.5;
}

.ron-notice-intro__title,
.ron-notice-detail__title {
  margin: 4px 0 8px;
  color: #202328;
  font-family: Georgia, "Noto Serif SC", serif;
  font-weight: 600;
  letter-spacing: 0;
}

.ron-notice-intro__title {
  font-size: clamp(30px, 4vw, 46px);
}

.ron-notice-intro__copy {
  max-width: 680px;
  margin: 0;
  color: #687078;
  line-height: 1.75;
}

.ron-notice-intro__count {
  min-width: 120px;
  padding-left: 24px;
  border-left: 1px solid #d8dcda;
  color: #687078;
  font-size: 13px;
  line-height: 1.5;
}

.ron-notice-intro__count strong {
  display: block;
  color: #202328;
  font: 600 34px/1 Georgia, serif;
}

.ron-notice-list {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 28px 0 0 28px;
}

.ron-notice-list::before {
  content: "";
  position: absolute;
  top: 28px;
  bottom: 0;
  left: 7px;
  width: 1px;
  background: #d8dcda;
}

.ron-notice-feed {
  padding-top: 8px;
}
.ron-notice-entry {
  position: relative;
  scroll-margin-top: 90px;
  padding: 34px 0 46px;
  border-bottom: 1px solid #d8dcda;
}
.ron-notice-entry:target::before {
  content: "";
  position: absolute;
  top: 34px;
  bottom: 46px;
  left: -18px;
  width: 3px;
  background: linear-gradient(180deg, rgba(237, 65, 65, .88), rgba(237, 65, 65, .12));
}
.ron-notice-entry:target .ron-notice-entry__title {
  color: #d9363e;
}
.ron-notice-entry:last-child {
  border-bottom: 0;
}
.ron-notice-entry__header {
  display: flex;
  gap: 20px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 18px;
}
.ron-notice-entry__title {
  margin-top: 7px;
  color: #202328;
  font: 600 27px/1.35 Georgia, "Noto Serif SC", serif;
  letter-spacing: 0;
}
.ron-notice-entry__permalink {
  flex: 0 0 auto;
  color: #ed4141;
  font-size: 13px;
}
.ron-notice-entry__media {
  width: min(1136px, 100%);
  margin: 0 auto 26px;
  overflow: hidden;
  background: #262b30;
  border-radius: 6px;
  cursor: zoom-in;
}
.ron-notice-entry__media .mw-file-element {
  display: block;
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
}
.ron-notice-entry__body {
  width: min(760px, 100%);
  margin: 0 auto;
  color: #202328;
  font-size: 16px;
  line-height: 1.86;
}
.ron-notice-entry__body h2 {
  margin: 34px 0 14px;
  padding: 0 0 9px;
  color: #202328;
  border-bottom: 1px solid #d8dcda;
  font: 600 22px/1.4 Georgia, "Noto Serif SC", serif;
  letter-spacing: 0;
}
.ron-notice-entry__body p,
.ron-notice-entry__body li {
  color: #202328;
}

.ron-notice-card {
  position: relative;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 152px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #d8dcda;
  border-radius: 6px;
}

.ron-notice-card::before {
  content: "";
  position: absolute;
  top: 24px;
  left: -26px;
  width: 11px;
  height: 11px;
  background: #f7f8f6;
  border: 2px solid #ed4141;
  border-radius: 50%;
}

.ron-notice-card__media {
  min-height: 152px;
  background: #262b30;
  border-right: 1px solid #d8dcda;
}

.ron-notice-card__media .mw-file-element {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 152px;
  object-fit: cover;
}

.ron-notice-card__body {
  min-width: 0;
  padding: 19px 22px 18px;
}

.ron-notice-type {
  display: inline-block;
  margin-right: 10px;
  padding: 2px 7px;
  color: #ffffff;
  background: #2a6d65;
  border-radius: 3px;
  font-size: 12px;
  line-height: 1.5;
}

.ron-notice-type--game {
  background: #ed4141;
}

.ron-notice-card__title {
  margin: 9px 0 7px;
  color: #202328;
  font: 600 21px/1.35 Georgia, "Noto Serif SC", serif;
  letter-spacing: 0;
}

.ron-notice-card__title a {
  text-decoration: none;
}

.ron-notice-card__title a:hover {
  color: #ed4141;
}

.ron-notice-card__excerpt {
  margin: 0;
  max-height: 3.4em;
  overflow: hidden;
  color: #687078;
  line-height: 1.7;
}

.ron-notice-card__action {
  display: inline-block;
  margin-top: 10px;
  color: #ed4141;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.ron-notice-detail__back {
  margin: 0 0 18px;
  color: #687078;
  font-size: 13px;
}

.ron-notice-detail__header {
  padding: 4px 0 24px;
  border-bottom: 1px solid #d8dcda;
}

.ron-notice-detail__title {
  max-width: 820px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.22;
}

.ron-notice-detail__media {
  width: min(1136px, 100%);
  margin: 26px auto 30px;
  overflow: hidden;
  background: #262b30;
  border-radius: 6px;
  cursor: zoom-in;
}

.ron-notice-detail__media .mw-file-element {
  display: block;
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
}

.ron-notice-detail__body {
  width: min(760px, 100%);
  margin: 0 auto;
  color: #202328;
  font-size: 16px;
  line-height: 1.86;
}

.ron-notice-detail__body h2 {
  margin: 34px 0 14px;
  padding: 0 0 9px;
  color: #202328;
  border-bottom: 1px solid #d8dcda;
  font: 600 22px/1.4 Georgia, "Noto Serif SC", serif;
  letter-spacing: 0;
}

.ron-notice-detail__body p,
.ron-notice-detail__body li {
  color: #202328;
}

.ron-notice-fact {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
  margin: 18px 0;
  padding: 13px 15px;
  background: #eef3f1;
  border-left: 3px solid #2a6d65;
  border-radius: 0 4px 4px 0;
}

.ron-notice-fact__label {
  color: #2a6d65;
  font-weight: 700;
}

.ron-notice-note {
  margin: 16px 0;
  padding: 12px 14px;
  color: #5d5053;
  background: #f5eeee;
  border-left: 3px solid #ed4141;
  border-radius: 0 4px 4px 0;
}

.ron-notice-detail__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 40px;
  padding: 17px 0;
  color: #687078;
  border-top: 1px solid #d8dcda;
  font-size: 13px;
}

@media (max-width: 980px) {
  .ron-notice-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .ron-notice-toc {
    position: relative;
    top: auto;
    max-height: none;
    padding: 0 0 16px;
    overflow: visible;
    border-right: 0;
    border-bottom: 1px solid rgba(77, 43, 48, .14);
  }

  .ron-notice-toc__list {
    display: grid;
    grid-auto-columns: min(280px, 78vw);
    grid-auto-flow: column;
    gap: 18px;
    padding: 0 0 10px;
    overflow-x: auto;
  }

  .ron-notice-toc__item {
    border-bottom: 0;
  }
}

@media (max-width: 720px) {
  .ron-notice-sandbox {
    margin: 0 calc(50% - 50vw) 48px;
    padding: 60px 0 0;
  }

  .ron-notice-hero {
    min-height: 300px;
    padding-bottom: 34px;
  }

  .ron-notice-hero-inner {
    width: 100%;
    padding: 52px 18px 0;
  }

  .ron-notice-hero-title {
    font-size: 34px;
  }

  .ron-notice-surface {
    margin-top: -34px;
    padding-top: 58px;
  }

  .ron-notice-shell {
    padding: 0 18px 64px;
  }

  .ron-notice-feed {
    width: 100%;
  }

  .ron-notice-list {
    padding-left: 20px;
  }

  .ron-notice-list::before {
    left: 4px;
  }

  .ron-notice-card {
    grid-template-columns: 1fr;
  }

  .ron-notice-card::before {
    left: -20px;
  }

  .ron-notice-card__media {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid #d8dcda;
  }

  .ron-notice-card__media .mw-file-element {
    min-height: 0;
    aspect-ratio: 16 / 7;
  }

  .ron-notice-card__body {
    padding: 16px;
  }

  .ron-notice-detail__body {
    font-size: 15px;
  }

  .ron-notice-entry {
    padding: 26px 0 34px;
  }

  .ron-notice-entry__header {
    display: block;
  }

  .ron-notice-entry__title {
    font-size: 24px;
  }

  .ron-notice-entry__permalink {
    display: block;
    margin-top: 10px;
  }

  .ron-notice-entry__body {
    font-size: 15px;
  }

  .ron-notice-fact {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
/* /公告归档沙盒 */

/* BEGIN RON_NOTICE_ARCHIVE_RUNTIME */
.ron-notice-toc__label {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 0 0 14px;
  color: #31272a;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
}

.ron-notice-toc__scope {
  color: rgba(117, 104, 107, .68);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.5;
}


.ron-notice-search {
  margin: 0 0 18px;
}

.ron-notice-search__input {
  box-sizing: border-box;
  width: 100%;
  min-height: 40px;
  padding: 8px 11px;
  border: 1px solid rgba(77, 43, 48, .2);
  border-radius: 6px;
  outline: 0;
  background: rgba(255, 255, 255, .72);
  color: #31272a;
  font: inherit;
  letter-spacing: 0;
  transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.ron-notice-search__input:focus {
  border-color: #ed4141;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(237, 65, 65, .12);
}

.ron-notice-type--game {
  background: #ff7676;
}

.ron-notice-type--game[data-notice-tag-tip] {
  position: relative;
  cursor: help;
}

.ron-notice-type--game[data-notice-tag-tip]::after {
  position: absolute;
  bottom: calc(100% + 7px);
  left: 50%;
  z-index: 20;
  padding: 5px 8px;
  color: #fff;
  background: #31272a;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(49, 39, 42, .18);
  content: attr(data-notice-tag-tip);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 2px);
}

.ron-notice-type--game[data-notice-tag-tip]:hover::after,
.ron-notice-type--game[data-notice-tag-tip]:focus::after {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.ron-notice-entry__permalink,
.ron-notice-entry__permalink a {
  color: #817873;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
}

.ron-notice-entry__permalink a:hover,
.ron-notice-entry__permalink a:focus {
  color: #ed4141;
  text-decoration: underline;
}

.ron-notice-search__status,
.ron-notice-feed__status {
  color: #7a666c;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0;
}

.ron-notice-search__status {
  min-height: 18px;
  padding-top: 6px;
}

.ron-notice-toc__item {
  position: relative;
  box-sizing: border-box;
  margin-right: 0;
  margin-left: 0;
  padding-right: 8px;
  padding-left: 8px;
}

.ron-notice-toc__hitbox,
.ron-notice-toc__hitbox > a {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: block;
}

.ron-notice-toc__hitbox > a:focus {
  outline: none;
  background: rgba(255, 118, 118, .1);
}

.ron-notice-toc__item.is-active {
  background: rgba(255, 118, 118, .1);
}

.ron-notice-toc__item.is-active .ron-notice-toc__title {
  color: #d63e48;
}

.ron-notice-toc__media {
  position: relative;
  z-index: 1;
  overflow: hidden;
  width: 100%;
  aspect-ratio: auto;
  margin: 0 0 10px;
  border: 0 !important;
  border-radius: 4px !important;
  background: none !important;
  box-shadow: none !important;
}

.ron-notice-toc__media > img,
.ron-notice-toc__media .mw-file-element {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 4px;
}

.ron-notice-feed__status {
  min-height: 20px;
  padding: 18px 0 8px;
  text-align: center;
}

.ron-notice-loader {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 10px 0 34px;
}

.ron-notice-loader[hidden] {
  display: none;
}

.ron-notice-loader__button {
  min-height: 38px;
  padding: 7px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #ed4141;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0;
  cursor: pointer;
}

.ron-notice-loader__button:hover,
.ron-notice-loader__button:focus {
  background: transparent;
  color: #c72f34;
  text-decoration: underline;
}

.ron-notice-loader__button[aria-disabled="true"] {
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #ff7676;
  cursor: wait;
  opacity: 1;
  text-decoration: none;
}


.ron-notice-source {
  width: min(900px, 100%);
  color: #202328;
  font-family: inherit !important;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.86;
}

.ron-notice-source * {
  font-family: inherit !important;
}

.ron-notice-source .ron-notice-source__line,
.ron-notice-source p {
  margin: 0;
  color: inherit;
}

.ron-notice-source .ron-notice-source__heading,
.ron-notice-source h1,
.ron-notice-source h2,
.ron-notice-source h3,
.ron-notice-source h4,
.ron-notice-source h5,
.ron-notice-source h6 {
  margin: 0 0 .4em;
  padding: 0;
  border: 0;
  color: #222;
  font-family: "Noto Serif SC", "Noto Serif SC SemiBold", "Songti SC", "SimSun", serif !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.86;
  letter-spacing: 0;
}

.ron-notice-source .ron-notice-source__heading * {
  color: #222;
}

.ron-notice-source__spacer {
  height: 1.2em;
}

.ron-notice-source__image {
  display: block;
  width: 100%;
  margin: 0 0 .4em;
  cursor: zoom-in;
}

.ron-notice-source__image > span,
.ron-notice-source__image .mw-file-element {
  display: block;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain;
}

.ron-notice-source__link {
  color: #d9363e;
  text-decoration: underline;
}

.ron-notice-source__list {
  margin: 0;
  padding-left: 1.8em;
}

.ron-notice-source__list li {
  color: #4c4742;
}

.ron-notice-source__table {
  width: 100%;
  border-collapse: collapse;
}

.ron-notice-source__table th,
.ron-notice-source__table td {
  padding: 6px 8px;
  border: 1px solid rgba(77, 43, 48, .16);
}

.ron-notice-source__rule {
  margin: 1em 0;
  border: 0;
  border-top: 1px solid rgba(77, 43, 48, .16);
}

.ron-notice-loader__sentinel {
  display: block;
  width: 1px;
  height: 1px;
}

.ron-notice-entry > .ron-notice-detail__media {
  margin-top: 18px;
}

.ron-notice-entry > .ron-notice-detail__body {
  margin-top: 20px;
  font-size: 15px;
}

.ron-notice-series-history {
  margin: 26px 0 0;
  border-top: 1px solid rgba(77, 43, 48, .16);
}

.ron-notice-series-history__summary {
  position: relative;
  padding: 15px 34px 15px 2px;
  color: #c9363d;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
  cursor: pointer;
  list-style: none;
}

.ron-notice-series-history__summary::after {
  position: absolute;
  top: 50%;
  right: 4px;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(237, 65, 65, .34);
  border-radius: 50%;
  content: "+";
  color: #d63e48;
  font-size: 16px;
  font-weight: 500;
  line-height: 18px;
  text-align: center;
  transform: translateY(-50%);
}

.ron-notice-series-history.is-open > .ron-notice-series-history__summary::after {
  content: "−";
}

.ron-notice-series-history__content {
  display: none;
  padding: 2px 0 8px;
}

.ron-notice-series-history.is-open > .ron-notice-series-history__content {
  display: block;
}

@media (max-width: 1020px) {
  .ron-notice-search {
    max-width: min(420px, 86vw);
  }
}

@media (max-width: 720px) {
  .ron-notice-toc__label {
    margin-bottom: 10px;
    font-size: 16px;
  }

  .ron-notice-search {
    max-width: none;
    margin-bottom: 14px;
  }

  .ron-notice-search__input {
    min-height: 42px;
  }

  .ron-notice-toc__media {
    aspect-ratio: auto;
  }
}
/* END RON_NOTICE_ARCHIVE_RUNTIME */