diff --git a/src/assets/css/custom.css b/src/assets/css/custom.css index 2ba10a3..89b44e4 100644 --- a/src/assets/css/custom.css +++ b/src/assets/css/custom.css @@ -1,17 +1,22 @@ -.description { +.iscsc-subsection { + font-size: 1.25rem; + margin-bottom: 0.5rem; +} + +.iscsc-description { font-style: italic; - font-size: 1.15rem; - margin-bottom: 2rem; + font-size: 1rem; } -.resource { +.iscsc-resource { background-color: var(--code-block-background-color); /* Not great... TO BE CHANGED */ display: inline-block; /*display: block;*/ padding: 0.2rem 0.8rem; border-radius: 0.5em; } -.summary { + +.iscsc-summary { font-style: italic; font-size: 0.9rem; } diff --git a/src/layouts/partials/resource.html b/src/layouts/partials/resource.html index 7277c37..7691ef6 100644 --- a/src/layouts/partials/resource.html +++ b/src/layouts/partials/resource.html @@ -1,4 +1,4 @@ -
+

{{ .Title }}

- {{ .Summary }} + {{ .Summary }}
\ No newline at end of file diff --git a/src/layouts/partials/subsection.html b/src/layouts/partials/subsection.html index 7278296..ebc4a4b 100644 --- a/src/layouts/partials/subsection.html +++ b/src/layouts/partials/subsection.html @@ -1,7 +1,7 @@
-{{ .Title }} +{{ .Title }} -{{ .Params.description }} +{{ .Params.description }}
diff --git a/src/layouts/resources/resources.html b/src/layouts/resources/resources.html index 59b6fa2..2a1e258 100644 --- a/src/layouts/resources/resources.html +++ b/src/layouts/resources/resources.html @@ -3,19 +3,19 @@ {{ if .Site.Params.light_dark }} {{ partial "light_dark.html" . }} {{ end }} -
+

{{ .Title }}

- {{ .Params.description }} + {{ .Params.description }} {{ with .Sections }} -

Sections

+

Sections

{{ range . }} {{ partial "subsection.html" . }} {{ end }} {{ end }} {{ with .RegularPages }} -

Pages

+

Pages

{{ range . }} This is a Page: {{ . }} of type {{ .Type }} in section {{ .Section }}

{{ partial "resource.html" . }}