MediaWiki:Common.less/questdetails.less

This is the current revision of this page, as edited by Alex (talk | contribs) at 17:14, 17 October 2024. The present address (URL) is a permanent link to this version.

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

/* Template:Quest details */

root {
   --questdetails-header-background: #cfc2aa;
   --questdetails-header-background-alt: #cfbda1;

}

.questdetails {

   width: 100%;
   background-color: @infobox-background;
   border: 1px solid @infobox-border-color;
   border-collapse: separate;
   th {
   	text-align: left;
   }

}

.questdetails-header {

   padding: 0.5em 1em;
   background-color: var(--questdetails-header-background);
   width: 125px;

}

.questdetails tr:nth-child(odd) .questdetails-header {

   background-color: var(--questdetails-header-background-alt);

}

.questdetails-info {

   padding-left: 1em;
   padding-right: 2em;

}