Jump to content

Template:Talent/styles.css: Difference between revisions

From World of Warcraft Forever Wiki
Add sourced Forever preview talent and Legacy reference pages (2026-09-16, CC BY 4.0)
 
Add locally hosted talent icons with attributed file pages
 
(One intermediate revision by the same user not shown)
Line 17: Line 17:
   background: #151e2b;
   background: #151e2b;
   color: #d9dfe7;
   color: #d9dfe7;
}
.fw-talent-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.fw-talent-card-icon {
  display: block;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
}
.fw-talent-card-icon img {
  display: block;
  border-radius: 3px;
}
.fw-talent-card-icon a:focus {
  outline: 2px solid #d9b774;
  outline-offset: 3px;
}
}
.fw-talent-kicker {
.fw-talent-kicker {
   margin-bottom: 0.85rem;
   min-width: 0;
  overflow-wrap: break-word;
   color: #d9b774;
   color: #d9b774;
   font-size: 0.75rem;
   font-size: 0.75rem;
Line 86: Line 107:
.fw-talent-table-wrap .fw-talent-ranks {
.fw-talent-table-wrap .fw-talent-ranks {
   margin: 0;
   margin: 0;
}
.fw-talent-index {
  width: 100%;
}
.fw-talent-index-name {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  max-width: 100%;
  vertical-align: middle;
}
.fw-talent-index-name > a {
  min-width: 0;
  overflow-wrap: break-word;
}
.fw-talent-index-icon {
  display: inline-block;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
}
.fw-talent-index-icon img {
  display: block;
  border-radius: 2px;
}
.fw-talent-search input[type="text"] {
  box-sizing: border-box;
  max-width: 100%;
}
.fw-talent-search .cdx-button {
  max-width: 100%;
  white-space: normal;
}
}
@media (max-width: 600px) {
@media (max-width: 600px) {

Latest revision as of 22:05, 16 September 2026

/* Scoped reference styling for class talents and Legacy perks. */
.fw-talent-nav {
  margin: 0.5rem 0 1rem;
  color: #9caabc;
  font-size: 0.875rem;
  line-height: 1.7;
}
.fw-talent-nav > span {
  padding: 0 0.4rem;
  color: #8292a6;
}
.fw-talent-card {
  margin: 1rem 0;
  padding: 1rem 1.15rem;
  border: 1px solid #303e4e;
  border-top: 2px solid #9c8355;
  background: #151e2b;
  color: #d9dfe7;
}
.fw-talent-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.fw-talent-card-icon {
  display: block;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
}
.fw-talent-card-icon img {
  display: block;
  border-radius: 3px;
}
.fw-talent-card-icon a:focus {
  outline: 2px solid #d9b774;
  outline-offset: 3px;
}
.fw-talent-kicker {
  min-width: 0;
  overflow-wrap: break-word;
  color: #d9b774;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.fw-talent-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
}
.fw-talent-field {
  flex: 1 1 10rem;
  min-width: 0;
  overflow-wrap: break-word;
}
.fw-talent-field > strong,
.fw-talent-field > span {
  display: block;
}
.fw-talent-field > strong {
  margin-bottom: 0.15rem;
  color: #9caabc;
  font-size: 0.8125rem;
  font-weight: 400;
}
.fw-talent-field > span {
  font-size: 0.9375rem;
}
.fw-talent-note {
  margin: 1rem 0 1.4rem;
  padding: 0.75rem 1rem;
  border-left: 3px solid #9c8355;
  background: #171f2b;
  color: #bdc8d5;
  font-size: 0.875rem;
  line-height: 1.6;
}
.fw-talent-note > strong {
  color: #d9b774;
  font-weight: 600;
}
.fw-talent-note p {
  margin: 0.3rem 0 0;
}
.fw-talent-table-wrap {
  overflow-x: auto;
  margin: 0.75rem 0 1.25rem;
}
.fw-talent-ranks {
  width: 100%;
  margin: 0.75rem 0 1.25rem;
  font-size: 0.9375rem;
}
.fw-talent-ranks th,
.fw-talent-ranks td {
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
  overflow-wrap: break-word;
}
.fw-talent-ranks th {
  font-weight: 600;
}
.fw-talent-table-wrap .fw-talent-ranks {
  margin: 0;
}
.fw-talent-index {
  width: 100%;
}
.fw-talent-index-name {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  max-width: 100%;
  vertical-align: middle;
}
.fw-talent-index-name > a {
  min-width: 0;
  overflow-wrap: break-word;
}
.fw-talent-index-icon {
  display: inline-block;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
}
.fw-talent-index-icon img {
  display: block;
  border-radius: 2px;
}
.fw-talent-search input[type="text"] {
  box-sizing: border-box;
  max-width: 100%;
}
.fw-talent-search .cdx-button {
  max-width: 100%;
  white-space: normal;
}
@media (max-width: 600px) {
  .fw-talent-card {
    padding: 0.85rem;
  }
  .fw-talent-field {
    flex-basis: 8rem;
  }
  .fw-talent-ranks th,
  .fw-talent-ranks td {
    padding: 0.5rem;
  }
}
@media print {
  .fw-talent-card,
  .fw-talent-note {
    background: #fff;
    color: #202122;
    border-color: #a2a9b1;
  }
  .fw-talent-nav,
  .fw-talent-nav > span,
  .fw-talent-kicker,
  .fw-talent-field > strong,
  .fw-talent-note > strong {
    color: #404244;
  }
}