From 219daad731910ba780d28074f8ad1b832d621c22 Mon Sep 17 00:00:00 2001 From: Mircea-Pavel ANTON Date: Wed, 18 Jan 2023 09:18:01 +0000 Subject: [PATCH] Define more aspect ratios --- assets/css/compiled/main.css | 12 ++++++++++++ assets/css/main.css | 4 +++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/assets/css/compiled/main.css b/assets/css/compiled/main.css index ed6d7123..6a508a6a 100644 --- a/assets/css/compiled/main.css +++ b/assets/css/compiled/main.css @@ -6267,6 +6267,18 @@ body:has(#menu-controller:checked) { /* 16:9 Aspect Ratio */ +.ratio-21-9 { + padding-top: 42.85%; +} + +/* 21:9 Aspect Ratio */ + +.ratio-32-9 { + padding-top: 28.125%; +} + +/* 32:9 Aspect Ratio */ + .first\:mt-8:first-child { margin-top: 2rem; } diff --git a/assets/css/main.css b/assets/css/main.css index c18c8861..600b64e0 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -470,4 +470,6 @@ body:has(#menu-controller:checked) { .grid-w95 { width: calc(95% - 5px); margin: 0px !important; } .grid-w100 { width: calc(100% - 5px); margin: 0px !important; } -.ratio-16-9 { padding-top: 56.25%; } /* 16:9 Aspect Ratio */ \ No newline at end of file +.ratio-16-9 { padding-top: 56.25%; } /* 16:9 Aspect Ratio */ +.ratio-21-9 { padding-top: 42.85%; } /* 21:9 Aspect Ratio */ +.ratio-32-9 { padding-top: 28.125%; } /* 32:9 Aspect Ratio */ \ No newline at end of file