diff options
author | tdro <tdro@noreply.example.com> | 2022-10-19 05:36:58 -0400 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2022-10-19 05:36:58 -0400 |
commit | ca3f788e588def92cef7f48bfb303d0fbb269924 (patch) | |
tree | 57e02d41477a1e46fec07c9df5f5a837f9d417a0 /assets | |
parent | c4ecb047f4b4afd2a2ae5c536337478d86c71ad4 (diff) | |
download | canory-ca3f788e588def92cef7f48bfb303d0fbb269924.tar.gz canory-ca3f788e588def92cef7f48bfb303d0fbb269924.tar.bz2 canory-ca3f788e588def92cef7f48bfb303d0fbb269924.zip |
themes/default/layouts/_default/_markup/render-image: Add dumb orientation check
Diffstat (limited to 'assets')
-rw-r--r-- | assets/css/default.css | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/assets/css/default.css b/assets/css/default.css index bffcc03..6fe3fbf 100644 --- a/assets/css/default.css +++ b/assets/css/default.css @@ -930,6 +930,15 @@ micro-content > figure > a { display: inline-block; } +micro-content > figure > a[data-orientation="landscape"] { + display: block; +} + +micro-content > figure > a[data-orientation="landscape"] img { + width: 100%; + max-height: 20rem; +} + micro-metadata { align-items: center; color: #444; |