• 欢迎来到THBWiki!如果您是第一次来到这里,请点击右上角注册一个帐户
  • 有任何意见、建议、求助、反馈都可以在 讨论板 提出
  • THBWiki以专业性和准确性为目标,如果你发现了任何确定的错误或疏漏,可在登录后直接进行改正

模板:幻存神签/styles.css

来自THBWiki
跳到导航 跳到搜索
.omikuji-container {
  display: grid;
  gap: 8px 16px;
  padding: 16px;
  grid-auto-rows: min-content;
  grid-template-areas: "pic" "paper" "comment";
  grid-template-columns: 1fr;
  transition-duration: 0.3s;
  align-items: center;
  justify-items: center;
}
.omikuji-container *[lang=ja] {
  font-family: "Yu Gothic", "Noto Sans JP", sans-serif;
}
.omikuji-container > div {
  min-height: 200px;
  transition: all 0.3s;
  border: 1px solid #efefef;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
  font-size: 15px;
}
.omikuji-container .omikuji-pic {
  grid-row-start: pic;
  grid-column-start: pic;
  grid-row-end: pic;
  grid-column-end: pic;
  background-color: rgba(255, 255, 255, 0.8);
  color: #000000;
  border-radius: 15px;
  overflow: hidden;
  width: 300px;
}
.omikuji-container .omikuji-pic .pic-actor {
  text-align: center;
}
.omikuji-container .omikuji-paper {
  grid-row-start: paper;
  grid-column-start: paper;
  grid-row-end: paper;
  grid-column-end: paper;
  color: #000000;
  padding: 15px;
  background-color: hsla(40, 43%, 93%, 0.8);
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 96%, rgba(0, 0, 0, 0.08) 97%, transparent 100%), radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.15) 0.5px, transparent 0.5px);
  background-size: 100% 300px, 15px 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  min-width: 300px;
}
.omikuji-container .omikuji-paper .tt-jah,
.omikuji-container .omikuji-paper .tt-zhh {
  padding: 0;
}
.omikuji-container .omikuji-paper .omikuji-content {
  display: flex;
  flex-direction: column;
  margin: 10px;
  width: auto;
  padding: 6px;
  background-image: linear-gradient(#D0104C, #D0104C), linear-gradient(#D0104C, #D0104C), linear-gradient(#D0104C, #D0104C), linear-gradient(#D0104C, #D0104C), linear-gradient(#D0104C, #D0104C), linear-gradient(#D0104C, #D0104C), linear-gradient(#D0104C, #D0104C), linear-gradient(#D0104C, #D0104C);
  background-position: top center, top 4.5px center, bottom center, bottom 4.5px center, center left, center left 4.5px, center right, center right 4.5px;
  background-size: 90% 3px, 90% 1.5px, 90% 3px, 90% 1.5px, 3px 100%, 1.5px 100%, 3px 100%, 1.5px 100%;
  background-repeat: no-repeat;
}
.omikuji-container .omikuji-paper .omikuji-content > div {
  width: 100%;
}
.omikuji-container .omikuji-paper .omikuji-content .omikuji-head {
  text-align: center;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.omikuji-container .omikuji-paper .omikuji-content .omikuji-head big {
  font-size: 150%;
}
.omikuji-container .omikuji-paper .omikuji-content .omikuji-head .omikuji-no,
.omikuji-container .omikuji-paper .omikuji-content .omikuji-head .omikuji-status {
  padding: 2px 5px;
  width: 100%;
}
.omikuji-container .omikuji-paper .omikuji-content .omikuji-head .omikuji-no {
  background-image: linear-gradient(#D0104C, #D0104C);
  background-position: center right;
  background-size: 2px 80%;
  background-repeat: no-repeat;
  flex: 1;
  padding: 0 20px;
  min-width: 120px;
}
.omikuji-container .omikuji-paper .omikuji-content .omikuji-head .omikuji-no .poem {
  display: inline-flex;
  justify-content: center;
  align-items: center;
}
.omikuji-container .omikuji-paper .omikuji-content .omikuji-head .omikuji-status {
  position: relative;
  word-break: keep-all;
}
.omikuji-container .omikuji-paper .omikuji-content .omikuji-head .omikuji-status.status-sp > * {
  position: absolute;
  width: 200px;
  left: 50%;
  right: 50%;
  top: -25px;
  transform: rotate(-10deg) translate(-45%, -40%);
  font-size: 170%;
}
.omikuji-container .omikuji-paper .omikuji-content .omikuji-intro {
  text-align: center;
  white-space: nowrap;
  background-image: linear-gradient(#D0104C, #D0104C), linear-gradient(#D0104C, #D0104C), linear-gradient(#D0104C, #D0104C);
  background-position: top 0 center, bottom 0 center, bottom 5px center;
  background-size: 95% 2px, 95% 3.5px, 95% 1.5px;
  background-repeat: no-repeat;
  padding: 15px 0;
}
.omikuji-container .omikuji-paper .omikuji-content .omikuji-intro big {
  font-size: 150%;
}
.omikuji-container .omikuji-paper .omikuji-content .omikuji-intro .tt-jah:nth-child(1),
.omikuji-container .omikuji-paper .omikuji-content .omikuji-intro .tt-ja,
.omikuji-container .omikuji-paper .omikuji-content .omikuji-intro .tt-zhh:nth-child(1),
.omikuji-container .omikuji-paper .omikuji-content .omikuji-intro .tt-zh {
  font-size: 0.8rem;
}
.omikuji-container .omikuji-paper .omikuji-content .omikuji-intro .tt-jah:nth-child(2),
.omikuji-container .omikuji-paper .omikuji-content .omikuji-intro .tt-zhh:nth-child(2) {
  margin: -8px 0;
}
.omikuji-container .omikuji-paper .omikuji-content .omikuji-remark {
  background-image: linear-gradient(#D0104C, #D0104C);
  background-position: bottom 0 center;
  background-size: 95% 2px;
  background-repeat: no-repeat;
  padding: 15px 10px;
  min-height: 170px;
}
.omikuji-container .omikuji-paper .omikuji-content .omikuji-remark.ja {
  writing-mode: vertical-rl;
  max-height: 170px;
  letter-spacing: 1px;
}
.omikuji-container .omikuji-paper .omikuji-content .omikuji-remark:not(.ja) {
  max-width: 280px;
  text-align: justify;
  letter-spacing: 4px;
}
.omikuji-container .omikuji-paper .omikuji-content .omikuji-remark .tt-jah,
.omikuji-container .omikuji-paper .omikuji-content .omikuji-remark .tt-zhh {
  width: 100%;
  display: flex;
  align-items: center;
}
.omikuji-container .omikuji-paper .omikuji-content .omikuji-note {
  text-align: left;
  padding: 15px;
  width: auto;
  display: flex;
  flex-direction: column;
  min-height: 150px;
}
.omikuji-container .omikuji-paper .omikuji-content .omikuji-note:not(:last-child) {
  background-image: linear-gradient(#D0104C, #D0104C);
  background-position: bottom 0 center;
  background-size: 80% 2px;
  background-repeat: no-repeat;
}
.omikuji-container .omikuji-paper .omikuji-content .omikuji-note.ja {
  writing-mode: vertical-rl;
  height: 210px;
}
.omikuji-container .omikuji-paper .omikuji-content .omikuji-note.ja .tt-ja,
.omikuji-container .omikuji-paper .omikuji-content .omikuji-note.ja .tt-zh {
  padding-top: 45px;
  text-indent: -45px;
}
.omikuji-container .omikuji-paper .omikuji-content .omikuji-note:not(.ja) {
  text-align: justify;
  padding-left: 60px;
  padding-right: 15px;
  text-indent: -45px;
}
.omikuji-container .omikuji-paper .omikuji-content .omikuji-note .tt-ja,
.omikuji-container .omikuji-paper .omikuji-content .omikuji-note .tt-zh {
  display: flex;
  align-items: center;
}
.omikuji-container .omikuji-comment {
  grid-row-start: comment;
  grid-column-start: comment;
  grid-row-end: comment;
  grid-column-end: comment;
  background-color: rgba(255, 255, 255, 0.6);
  color: #000000;
  padding: 20px;
  border-radius: 15px;
  width: 300px;
  text-align: justify;
}
.omikuji-container .tt-jah,
.omikuji-container .tt-zhh {
  padding: 0 0 10px 0;
}

@media (min-width: 1120px) {
  .omikuji-container {
    max-width: calc(100% - 16px);
    grid-template-areas: "pic paper" ". paper" "comment paper";
    grid-template-columns: 1fr 1fr;
    gap: 8px 66px;
  }
  .omikuji-container > div {
    width: auto;
  }
  .omikuji-container .omikuji-pic,
  .omikuji-container .omikuji-comment {
    justify-self: end;
  }
  .omikuji-container .omikuji-paper {
    justify-self: start;
  }
}

/*# sourceMappingURL=style.css.map */
[创建] Template-info.svg 模板文档