diff options
author | Thedro Neely <thedroneely@gmail.com> | 2021-01-30 23:05:07 -0500 |
---|---|---|
committer | Thedro Neely <thedroneely@gmail.com> | 2021-01-30 23:05:07 -0500 |
commit | 15c27a5a53604e60487f505007acb92a6ede57fb (patch) | |
tree | e9e5e641e8f96e61c79ce8fe1abb3ce7180acea8 | |
parent | 320ce8cf1858a36c80bcbde594d906705d263186 (diff) | |
download | thedroneely.com-15c27a5a53604e60487f505007acb92a6ede57fb.tar.gz thedroneely.com-15c27a5a53604e60487f505007acb92a6ede57fb.tar.bz2 thedroneely.com-15c27a5a53604e60487f505007acb92a6ede57fb.zip |
generators/hugo/layouts/shortcodes/smallcaps: Allow setting type
-rw-r--r-- | generators/hugo/themes/tdro/layouts/shortcodes/smallcaps.html | 2 | ||||
-rw-r--r-- | 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 @@ -<span style="line-height: 0;" class="is-small-caps is-size-3">{{ .Get `set` }}</span> +<span class="smallcaps smallcaps{{ .Get `type` }}">{{ .Get `set` }}</span> 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; } } |