diff --git a/template/artwork.html b/template/artwork.html index c3b4f15..9411234 100644 --- a/template/artwork.html +++ b/template/artwork.html @@ -31,7 +31,7 @@
{{ range $parent.Recent }}
- + {{ (index .Images 0).Small }} @@ -45,6 +45,8 @@ {{ end }}

Related works

- {{ template "thumbnail-container.html" .Related }} +
+ {{ template "thumbnail-container.html" .Related }} +
{{ template "footer.html" }} diff --git a/template/css/style.css b/template/css/style.css index 7b79838..45ad5e2 100644 --- a/template/css/style.css +++ b/template/css/style.css @@ -62,7 +62,7 @@ body { color: inherit; text-decoration: none; font-weight: bold; - font-size: 1.1rem; + font-size: 0.9rem; } .artwork-thumbnail .artwork-master-image { width: 100%; diff --git a/template/css/style.scss b/template/css/style.scss index 58977ae..3382f85 100644 --- a/template/css/style.scss +++ b/template/css/style.scss @@ -75,7 +75,7 @@ body { color: inherit; text-decoration: none; font-weight: bold; - font-size: 1.1rem; + font-size: 0.9rem; } .artwork-master-image { diff --git a/template/index.html b/template/index.html index 8fadd26..2d5a14b 100644 --- a/template/index.html +++ b/template/index.html @@ -2,14 +2,16 @@

Recommended works

- {{ template "scrollable-container.html" .Recommended }} +
+ {{ template "thumbnail-container.html" .Recommended }} +

Today's rankings

{{ range $i, $_ := .Rankings }} {{ template "footer.html" }} diff --git a/template/scrollable-container.html b/template/scrollable-container.html deleted file mode 100644 index f7d6970..0000000 --- a/template/scrollable-container.html +++ /dev/null @@ -1,23 +0,0 @@ -
- {{ range . }} -
- - {{ .Title }} - - -

{{ .Title }}

- {{ .Artist.Name }} - {{ .Artist.Name }} -
- {{ end }} -
diff --git a/template/thumbnail-container.html b/template/thumbnail-container.html index aa4fe02..a8ea8d4 100644 --- a/template/thumbnail-container.html +++ b/template/thumbnail-container.html @@ -1,23 +1,23 @@ -
- {{ range . }} -
- - {{ .Title }} - +{{ range . }} +
+ + {{ .Title }} + -

{{ .Title }}

- {{ .Artist.Name }} - {{ .Artist.Name }} -
- {{ end }} + +

{{ .Title }}

+
+ {{ .Artist.Name }} + {{ .Artist.Name }}
+{{ end }} diff --git a/template/user.html b/template/user.html new file mode 100644 index 0000000..e69de29