From 4f8a065882de2b6471fe1334f3d9a50770fc937d Mon Sep 17 00:00:00 2001 From: Matt Garrish Date: Fri, 10 Jan 2025 10:15:10 -0500 Subject: [PATCH] layout and subheading tweaks --- css/viewer.css | 7 +++++-- js/onixProcessor.js | 3 +-- js/packageProcessor.js | 3 +-- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/css/viewer.css b/css/viewer.css index e6bc2b0..98d03ff 100644 --- a/css/viewer.css +++ b/css/viewer.css @@ -62,8 +62,11 @@ h3 { margin: 0; } -p.sub-hd { - font-weight: bold; +div.grid-body > h4 { + font-size: 94%; + font-weight: normal; + font-style: italic; + margin-top: 4rem; } /* general links */ diff --git a/js/onixProcessor.js b/js/onixProcessor.js index 11a0a28..a9b05a1 100644 --- a/js/onixProcessor.js +++ b/js/onixProcessor.js @@ -207,8 +207,7 @@ var onixProcessor = (function() { conf_group.appendChild(cred_p); } - var detconf_hd = document.createElement('p'); - detconf_hd.classList.add('sub-hd'); + var detconf_hd = document.createElement('h4'); detconf_hd.appendChild(document.createTextNode('Detailed Conformance Information')); conf_group.appendChild(detconf_hd); diff --git a/js/packageProcessor.js b/js/packageProcessor.js index 94bd54f..bf03fbf 100644 --- a/js/packageProcessor.js +++ b/js/packageProcessor.js @@ -451,8 +451,7 @@ var packageProcessor = (function() { conf_group.appendChild(cred_p); } - var detconf_hd = document.createElement('p'); - detconf_hd.classList.add('sub-hd'); + var detconf_hd = document.createElement('h4'); detconf_hd.appendChild(document.createTextNode('Detailed Conformance Information')); conf_group.appendChild(detconf_hd);