MediaWiki:Common.less/questdetails.less

< MediaWiki:Common.less
Revision as of 22:36, 4 October 2022 by Jacmob (talk | contribs) (Created page with "→‎[[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; } .questdet...")
(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;

}