diff --git a/calculate.js b/calculate.js index ee478f3..da9e952 100644 --- a/calculate.js +++ b/calculate.js @@ -80,7 +80,7 @@ module.exports = { year = date.getFullYear(); rawsat = hist_entries[v]['sateur_rate'] percentage = (-100 * ((rawsat - today_sats) / rawsat)).toFixed(3) - final_list.push({ "year": date.toLocaleDateString(), "sats": rawsat.toLocaleString("en-US"), "percent": percentage }); + final_list.push({ "year": date.toLocaleDateString('en-GB'), "sats": rawsat.toLocaleString("en-US"), "percent": percentage }); } return final_list } catch (error) { diff --git a/public/static/main.css b/public/static/main.css index 681ce55..c99911f 100644 --- a/public/static/main.css +++ b/public/static/main.css @@ -82,7 +82,7 @@ a:active{ max-width:600px; margin-top:7%; margin-bottom:20px;} - font-size: 16px; + font-size: 18px; h1{ font-size:180%; @@ -162,7 +162,7 @@ table.minimalistBlack td, table.minimalistBlack th { padding: 8px 9px; } table.minimalistBlack tbody td { - font-size: 16px; + font-size: 18px; } table.minimalistBlack thead { background: #CFCFCF; @@ -172,20 +172,20 @@ table.minimalistBlack thead { border-bottom: 2px solid #000000; } table.minimalistBlack thead th { - font-size: 18px; + font-size: 20px; font-weight: bold; color: #000000; text-align: left; } table.minimalistBlack tfoot td { - font-size: 16px; + font-size: 18px; } .total{ font-weight:bold; text-align:right!important; } td.total{ - font-size:17px; + font-size:19px; } .symbol{ font-weight:bold; @@ -194,14 +194,14 @@ td.total{ content: "$"; } table.minimalistBlack tfoot { - font-size: 16px; + font-size: 18px; font-weight: bold; background: #EBEBEB; color: #000000; border-top: 3px solid #000000; } table.minimalistBlack tfoot td { - font-size: 16px; + font-size: 18px; } .small-print{ diff --git a/public/static/mobile.css b/public/static/mobile.css index 4223766..7c346fe 100644 --- a/public/static/mobile.css +++ b/public/static/mobile.css @@ -33,18 +33,18 @@ h3 { table.u-full-width { width: 100%; margin-top: 20px; - font-size: 1rem; + font-size: 1.2rem; } table.u-full-width thead th { - font-size: 1.2rem; + font-size: 1.4rem; padding: 10px 5px; white-space: nowrap; } table.u-full-width tbody td { padding: 12px 5px; - font-size: 1rem; + font-size: 1.5rem; } /* Mobile-specific styles */ @@ -69,17 +69,17 @@ table.u-full-width tbody td { /* Table optimization for mobile */ table.u-full-width { - font-size: 0.9rem; + font-size: 1.1rem; } table.u-full-width thead th { - font-size: 1rem; + font-size: 1.2rem; padding: 8px 3px; } table.u-full-width tbody td { padding: 10px 3px; - font-size: 0.9rem; + font-size: 1.1rem; } /* Chart container */ @@ -121,17 +121,17 @@ table.u-full-width tbody td { /* Make table more compact on very small screens */ table.u-full-width { - font-size: 0.85rem; + font-size: 1.05rem; } table.u-full-width thead th { - font-size: 0.95rem; + font-size: 1.15rem; padding: 6px 2px; } table.u-full-width tbody td { padding: 8px 2px; - font-size: 1.2rem; + font-size: 1.3rem; } /* Smaller dark toggle for small screens */ diff --git a/public/static/skeleton.css b/public/static/skeleton.css index ab0eba5..c880bcf 100644 --- a/public/static/skeleton.css +++ b/public/static/skeleton.css @@ -121,7 +121,7 @@ are based on 10px sizing. So basically 1.5rem = 15px :) */ html { font-size: 62.5%; } body { - font-size: 16px; /* currently ems cause chrome bug misinterpreting rems on body element */ + font-size: 18px; /* currently ems cause chrome bug misinterpreting rems on body element */ line-height: 1.6; font-weight: 400; /*font-family: "Raleway", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;*/ @@ -327,6 +327,7 @@ th, td { padding: 12px 15px; line-height: 1.8; + font-size: 1.2rem; text-align: left; border-bottom: 1px solid #E1E1E1; } th:first-child, diff --git a/views/sats.hbs b/views/sats.hbs index 85d36f5..47f09eb 100644 --- a/views/sats.hbs +++ b/views/sats.hbs @@ -46,7 +46,7 @@
-

{{ Title }} sats

+

{{ Title }} sats (There are 100 million satoshis in one bitcoin, so one satoshi is 0.00000001 BTC)