mirror of
https://github.com/ISEAL-Community/iseal-core.git
synced 2024-11-22 06:45:02 +01:00
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!
This commit is contained in:
parent
b50e5fa3fd
commit
f059918c40
@ -132,32 +132,20 @@
|
||||
{{ end }}
|
||||
<h2 id="download">Download</h2>
|
||||
<p>The ISEAL Core schema is available for download in two formats:</p>
|
||||
<div class="container ">
|
||||
<div class="row pb-4 row-cols-1 row-cols-lg-2">
|
||||
<div class="col d-flex align-items-start">
|
||||
<div class="icon-square bg-light text-dark flex-shrink-0 me-3">
|
||||
<div class="row mb-2 justify-content-center">
|
||||
<div class="col-sm-12 col-lg-4">
|
||||
{{ $fileCodeIcon := resources.Get "icons/file-earmark-code.svg" | resources.Fingerprint }}
|
||||
<img src="{{ $fileCodeIcon.Permalink }}" alt="File icon with earmark" width="32" height="32">
|
||||
</div>
|
||||
<div>
|
||||
<h3>Turtle</h3>
|
||||
<h3><img class="icon me-1" src="{{ $fileCodeIcon.Permalink }}" alt="File icon with earmark"/>Turtle</h3>
|
||||
<p>Terse RDF Triple Language (TTL). Use this format when you need to validate metadata against ISEAL Core programmatically.</p>
|
||||
<a href="https://raw.githubusercontent.com/alanorth/iseal-schema/main/data/iseal-core.ttl" class="btn btn-primary">Download</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col d-flex align-items-start">
|
||||
<div class="icon-square bg-light text-dark flex-shrink-0 me-3">
|
||||
<div class="col-sm-12 col-lg-4">
|
||||
{{ $fileSpreadsheetIcon := resources.Get "icons/file-earmark-spreadsheet.svg" | resources.Fingerprint }}
|
||||
<img src="{{ $fileSpreadsheetIcon.Permalink }}" alt="File icon with earmark" width="32" height="32" />
|
||||
</div>
|
||||
<div>
|
||||
<h3>CSV</h3>
|
||||
<h3><img class="icon me-1" src="{{ $fileSpreadsheetIcon.Permalink }}" alt="File icon with earmark"/>CSV</h3>
|
||||
<p>Comma-separated Values (CSV). Use this format when you just need a quick and easy offline reference.</p>
|
||||
<a href="https://raw.githubusercontent.com/alanorth/iseal-schema/main/data/schema-fields.csv" class="btn btn-primary">Download</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h2 id="feedback">Feedback</h2>
|
||||
<p>If you have questions/comments please contact ____.</p>
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user