From 146fba6bba3b8c105cc21c536478082e79f13b4b Mon Sep 17 00:00:00 2001 From: Anatoly Date: Fri, 18 Feb 2022 15:18:15 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A2=D0=B0=D0=B1=D0=BB=D0=B8=D1=86=D0=B0=20?= =?UTF-8?q?=D0=B2=D0=BC=D0=B5=D1=81=D1=82=D0=BE=20=D1=81=D0=BF=D0=B8=D1=81?= =?UTF-8?q?=D0=BA=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- output/OutputItem.js | 1 + output/template.hbs | 54 ++++++++++++++++++++++++++++++++++++-------- 2 files changed, 46 insertions(+), 9 deletions(-) diff --git a/output/OutputItem.js b/output/OutputItem.js index 4eb9872..9b90e7c 100644 --- a/output/OutputItem.js +++ b/output/OutputItem.js @@ -3,6 +3,7 @@ module.exports = class OutputItem { this.name = name + ' prime' this.parts = parts this.set = set + this.link = `https://warframe.market/items/${name}_prime_set` this.difference = set - parts } diff --git a/output/template.hbs b/output/template.hbs index e14ac93..fb4280c 100644 --- a/output/template.hbs +++ b/output/template.hbs @@ -11,7 +11,33 @@ font-family: sans-serif; } - ul li b { + a { + text-decoration: none; + color: black; + } + + table { + margin: 64px 0; + border-spacing: 0; + } + + tr { + text-align: left; + } + + tr:nth-child(even) { + background: rgb(240, 242, 243); + } + + td { + padding: 2px 16px; + } + + th { + padding: 8px 16px; + } + + .name { text-transform: capitalize; } @@ -23,16 +49,26 @@

Warframe Market Gaps

-