diff --git a/assets/scss/index.scss b/assets/scss/index.scss index 669108f..6bed097 100644 --- a/assets/scss/index.scss +++ b/assets/scss/index.scss @@ -325,7 +325,7 @@ a { .title h1 { font-size: xxx-large; - padding-block-end: 3rem; + margin-block-end: 3rem; } main > .content { @@ -340,6 +340,47 @@ main > .content { flex-grow: 1; } +.list { + margin-block-start: 2rem; +} + +.list > li { + list-style: none; + margin: 0.5rem; +} + +.list > article { + margin: 0.5rem; + padding: 0.5rem; + border: 2px solid gray; + border-radius: 6px; +} + +.list > article > h3 { + margin: 0px; + padding-block: 0.25rem; + font-size: x-large; +} + +.list > article > .meta { + font-size: smaller; + padding-block-end: 1rem; +} + +.meta > span { + padding-inline-end: 1rem; +} + +.list > article > .more { + display: block; + width: 100%; + text-align: right; + font-size: x-large; + border: none; + background: inherit; + color: {{ .Site.Params.color.secondary }}; +} + .section { padding-top: 2rem; padding-bottom: 2.5rem; @@ -494,4 +535,4 @@ img { color: gray; font-size: small; margin: 0px; -} \ No newline at end of file +} diff --git a/layouts/_default/li.html b/layouts/_default/li.html new file mode 100644 index 0000000..a0e714c --- /dev/null +++ b/layouts/_default/li.html @@ -0,0 +1,4 @@ +
{{ .Title }}
+ {{ .Render "summary" }} {{ end }}