When making this website, i wanted a simple, reasonable way to make it look good on most displays. Not counting any minimization techniques, the following 58 bytes worked well for me:
main {
max-width: 38rem;
padding: 2rem;
margin: auto;
}
{{forNonBlank(cells["filename"], v, "FILENAME "+v.value, "")}} | |
<qualifieddc xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:marcrel="http://www.loc.gov/marc.relators/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.loc.gov/marc.relators/ http://imlsdcc2.grainger.illinois.edu/registry/marcrel.xsd" xsi:noNamespaceSchemaLocation="http://dublincore.org/schemas/xmls/qdc/2008/02/11/qualifieddc.xsd"> | |
{{forNonBlank(cells["identifier"], v, "<dc:identifier>"+v.value+"</dc:identifier>", "")}} | |
{{forNonBlank(cells["title"], v, "<dc:title>"+v.value+"</dc:title>", "")}} | |
{{forNonBlank(cells["type01"], v, "<dc:type>"+v.value+"</dc:type>", "")}} | |
{{forNonBlank(cells["type02"], v, "<dc:type>"+v.value+"</dc:type>", "")}} | |
{{forNonBlank(cells["description"], v, "<dc:description>"+v.value+"</dc:description>", "")}} | |
{{forNonBlank(cells["language"], v, "<dc:language>"+v.value+"</dc:language>", "")}} | |
{{forNonBlank(cells["creator01"], v, "<dc:creator>"+v.v |