Template:New Game Plus chapter/styles.css

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
.ng-plus-chapter {
  --ng-plus--background: var(--navbox-header-bg);
  --ng-plus--border: var(--tooltip-border);
  border: 2px solid var(--ng-plus--border);
  border-radius: 0.5px;
  background: var(--ng-plus--background);
  margin: 1em 0;
  display: flex;
  position: relative;
  flex-wrap: wrap;
  justify-content: stretch;
  align-items: stretch;
  overflow: hidden;
  box-shadow: 0 0.25rem 0.25rem -0.25rem rgba(0,0,0,0.25);
}

.ng-plus-chapter > p {
  margin: 0;
  flex-basis: 250px;
  flex-grow: 1;
  position: relative;
  margin-right: -1rem;
}
.ng-plus-chapter > p img {
  width: 100%;
  height: auto;
  background: var(--ng-plus--border);
}

.ng-plus-chapter--inner {
  padding: 0.5rem 1rem;
  flex-basis: 200px;
  flex-grow: 9999;
  display: flex;
  flex-direction: column;
  justify-content:space-between;
  position: relative;
}
.ng-plus-chapter--inner::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: -1rem;
  width: 2rem;
  background: linear-gradient(to right, transparent, var(--ng-plus--background));
}

.ng-plus-chapter .mw-heading5 {
  margin-top: -1rem;
  padding-top: 1rem;
  font-size: larger;
}
.ng-plus-chapter .mw-editsection {
  display: none;
}
.ng-plus-chapter .hlist {
  font-size: small;
}