diff --git a/assets/css/bobastyle.css b/assets/css/bobastyle.css index b65e463..bffccd9 100644 --- a/assets/css/bobastyle.css +++ b/assets/css/bobastyle.css @@ -174,30 +174,6 @@ video { max-width: 100%; } -figure > .figure-media { - padding: 5px; -} - -figure > .figure-media.border { - border: 2px solid var(--figure-border); -} - -.post-media > figure > .figure-media { - border: 7px solid var(--figure-border); -} - -figure { - display: block; - text-align: center; - margin: 0; -} - -figcaption { - font-style: italic; - font-size: small; - text-align: center; -} - a { color: var(--link-0); text-decoration: inherit; @@ -495,9 +471,7 @@ body { content: ","; } -.post-media { - margin-top: 15px; -} +/* for formatting of the featured image/media, see the .featured-media class */ .summary-card-description { margin-top: 10px; @@ -509,6 +483,37 @@ body { /* }}} */ +/* Figures, and featured media component (used in page.html and summary-card) {{{ */ + +figure > .figure-media { + padding: 5px; +} + +figure > .figure-media.border { + border: 2px solid var(--figure-border); +} + +figure { + display: block; + text-align: center; + margin: 0; +} + +figcaption { + font-style: italic; + font-size: small; + text-align: center; +} + +.featured-media { + margin-top: 15px; +} +.featured-media > figure > .figure-media { + border: 7px solid var(--figure-border); +} + +/* }}} */ + /* List layout {{{ */ .page-list { diff --git a/layouts/_partials/feature-figure.html b/layouts/_partials/featured-media.html similarity index 88% rename from layouts/_partials/feature-figure.html rename to layouts/_partials/featured-media.html index 01df020..8dc1c57 100644 --- a/layouts/_partials/feature-figure.html +++ b/layouts/_partials/featured-media.html @@ -1,5 +1,5 @@ {{ with .Resources.Get "feature" }} -