From 09142a7a6bd520a4d485fe8cbae9a544d9ccce1d Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Sun, 8 Apr 2018 09:41:40 +0200 Subject: [PATCH] Improved distance display --- pages/company/company.pixy | 2 +- pages/company/company.scarlet | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/pages/company/company.pixy b/pages/company/company.pixy index 0a7a7600..af590996 100644 --- a/pages/company/company.pixy +++ b/pages/company/company.pixy @@ -32,7 +32,7 @@ component CompanyPage(company *arn.Company, studioAnime, producedAnime, licensed each closeCompany in closeCompanies li.mountable(data-mountable-type="close-company") a(href=closeCompany.Link())= closeCompany.Name.English - span= fmt.Sprintf(" (%.0f m)", distances[closeCompany.ID] * 1000) + span.company-distance= fmt.Sprintf(" - %.0f m", distances[closeCompany.ID] * 1000) //- if len(company.Name.Synonyms) > 0 //- h3 Synonyms diff --git a/pages/company/company.scarlet b/pages/company/company.scarlet index 652c395d..271a18b5 100644 --- a/pages/company/company.scarlet +++ b/pages/company/company.scarlet @@ -11,6 +11,9 @@ .company-sidebar sidebar +.company-distance + opacity 0.75 + > 1250px .company-page horizontal