aboutsummaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2022-10-19 05:36:58 -0400
committertdro <tdro@noreply.example.com>2022-10-19 05:36:58 -0400
commitca3f788e588def92cef7f48bfb303d0fbb269924 (patch)
tree57e02d41477a1e46fec07c9df5f5a837f9d417a0 /assets
parentc4ecb047f4b4afd2a2ae5c536337478d86c71ad4 (diff)
downloadcanory-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.css9
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;