aboutsummaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2022-09-05 15:51:18 -0400
committertdro <tdro@noreply.example.com>2022-09-05 15:51:18 -0400
commit2d3bfb0ddc97bb6c147965bb1bb8a515c96f1192 (patch)
treef2e5a6a75b57dcd18067131458f9eca8771bf862 /assets
parent04faae81db518593ad1b05559079f45c4c9c5ab0 (diff)
downloadcanory-2d3bfb0ddc97bb6c147965bb1bb8a515c96f1192.tar.gz
canory-2d3bfb0ddc97bb6c147965bb1bb8a515c96f1192.tar.bz2
canory-2d3bfb0ddc97bb6c147965bb1bb8a515c96f1192.zip
themes/default/layouts/shortcodes/video: Set orientation
Diffstat (limited to 'assets')
-rw-r--r--assets/css/default.css10
1 files changed, 10 insertions, 0 deletions
diff --git a/assets/css/default.css b/assets/css/default.css
index dbb0592..4fa6ece 100644
--- a/assets/css/default.css
+++ b/assets/css/default.css
@@ -281,6 +281,7 @@ blockquote p span {
video {
border-radius: 0.5rem;
+ background-color: #000;
}
video:hover {
@@ -288,6 +289,15 @@ video:hover {
box-shadow: 0 0 14px var(--shadow);
}
+video[data-orientation="portrait"] {
+ width: 50%;
+}
+
+video-container {
+ display: block;
+ text-align: center;
+}
+
kbd {
background-color: #eee;
border-radius: 0.25rem;