From f059918c40f0ceffc93fef5d72cfb4020ade2b0a Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Mon, 13 Dec 2021 10:21:49 +0200 Subject: [PATCH] Re-work download section I don't like the "hanging" icons now that I look again. Better to use normal Bootstrap columns and rows here with the icons in the header. I need to figure out how to add spacing between these when we are on small devices and the columns stack, though! --- site/layouts/_default/home.html | 36 +++++++++++---------------------- site/source/scss/main.scss | 16 ++++++--------- 2 files changed, 18 insertions(+), 34 deletions(-) diff --git a/site/layouts/_default/home.html b/site/layouts/_default/home.html index 12db0393..c54a31c2 100644 --- a/site/layouts/_default/home.html +++ b/site/layouts/_default/home.html @@ -132,30 +132,18 @@ {{ end }}

Download

The ISEAL Core schema is available for download in two formats:

-
-
-
-
- {{ $fileCodeIcon := resources.Get "icons/file-earmark-code.svg" | resources.Fingerprint }} - File icon with earmark -
-
-

Turtle

-

Terse RDF Triple Language (TTL). Use this format when you need to validate metadata against ISEAL Core programmatically.

- Download -
-
-
-
- {{ $fileSpreadsheetIcon := resources.Get "icons/file-earmark-spreadsheet.svg" | resources.Fingerprint }} - File icon with earmark -
-
-

CSV

-

Comma-separated Values (CSV). Use this format when you just need a quick and easy offline reference.

- Download -
-
+
+
+ {{ $fileCodeIcon := resources.Get "icons/file-earmark-code.svg" | resources.Fingerprint }} +

File icon with earmarkTurtle

+

Terse RDF Triple Language (TTL). Use this format when you need to validate metadata against ISEAL Core programmatically.

+ Download +
+
+ {{ $fileSpreadsheetIcon := resources.Get "icons/file-earmark-spreadsheet.svg" | resources.Fingerprint }} +

File icon with earmarkCSV

+

Comma-separated Values (CSV). Use this format when you just need a quick and easy offline reference.

+ Download
diff --git a/site/source/scss/main.scss b/site/source/scss/main.scss index 1d78b0f1..18550988 100644 --- a/site/source/scss/main.scss +++ b/site/source/scss/main.scss @@ -38,16 +38,6 @@ p.lead { color: inherit; } -.icon-square { - display: inline-flex; - align-items: center; - justify-content: center; - width: 3rem; - height: 3rem; - font-size: 1.5rem; - border-radius: .75rem; -} - div.badge-required { float: right; @@ -73,6 +63,12 @@ h1, h2, h3 { font-weight: 700; } +h3 img.icon { + width: 32px; + height: 32px; + vertical-align: bottom; +} + code { color: $iseal-secondary-orange; }