From 15c27a5a53604e60487f505007acb92a6ede57fb Mon Sep 17 00:00:00 2001 From: Thedro Neely Date: Sat, 30 Jan 2021 23:05:07 -0500 Subject: generators/hugo/layouts/shortcodes/smallcaps: Allow setting type --- generators/hugo/themes/tdro/layouts/shortcodes/smallcaps.html | 2 +- public/css/tdro.css | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/generators/hugo/themes/tdro/layouts/shortcodes/smallcaps.html b/generators/hugo/themes/tdro/layouts/shortcodes/smallcaps.html index a0a2983..147fbf2 100644 --- a/generators/hugo/themes/tdro/layouts/shortcodes/smallcaps.html +++ b/generators/hugo/themes/tdro/layouts/shortcodes/smallcaps.html @@ -1 +1 @@ -{{ .Get `set` }} +{{ .Get `set` }} diff --git a/public/css/tdro.css b/public/css/tdro.css index c9e1204..3088134 100644 --- a/public/css/tdro.css +++ b/public/css/tdro.css @@ -4121,6 +4121,13 @@ figure a, .navbar-item, .webring a, .article__more__content a, .front__more, .image__thumbnail { max-height: 222px; } .medium-zoom-overlay { background-color: #fff; background-color: rgba(255, 255, 255, .9); } +/* + * Fonts + */ + +.smallcaps { font-variant: small-caps; letter-spacing: 0.05rem; line-height: 0; text-transform: lowercase; } +.smallcapsintro { font-size: 2rem !important; text-transform: none; } + /* * Text selection @@ -4476,7 +4483,6 @@ blockquote .blockquote-footer { font-size: 1.1rem; margin-top: 1.3rem; } blockquote p { font-size: 1.3rem !important; } .document .subtitle { margin-top: 0 !important; margin-bottom: 1.5em !important; } -.is-small-caps { font-variant: small-caps; } .recent__article .marginnote, .recent__article .sidenote { margin-top: 0 !important; } @media (max-width: 768px) { .recent__article .columns, .content blockquote, .highlight { clear: both; } } -- cgit v1.2.3