From 310783f38295f4deff38e40b5accbb86a3b60248 Mon Sep 17 00:00:00 2001 From: Giulio De Pasquale Date: Wed, 7 Dec 2022 19:08:40 +0100 Subject: [PATCH] Correct aspect ratio --- dist/css/style.css | 32 ++++++++++++++++++++++++++++++++ dist/index.html | 8 +++++--- 2 files changed, 37 insertions(+), 3 deletions(-) diff --git a/dist/css/style.css b/dist/css/style.css index 10afe97..793066e 100644 --- a/dist/css/style.css +++ b/dist/css/style.css @@ -602,6 +602,14 @@ video { display: none; } +.aspect-square { + aspect-ratio: 1 / 1; +} + +.aspect-\[4\/3\] { + aspect-ratio: 4/3; +} + .h-full { height: 100%; } @@ -678,6 +686,26 @@ video { width: 75%; } +.w-1\/2 { + width: 50%; +} + +.w-1\/3 { + width: 33.333333%; +} + +.w-2\/3 { + width: 66.666667%; +} + +.w-2\/5 { + width: 40%; +} + +.w-3\/5 { + width: 60%; +} + .max-w-full { max-width: 100%; } @@ -763,3 +791,7 @@ video { .will-change-contents { will-change: contents; } + +.hover\:cursor-none:hover { + cursor: none; +} diff --git a/dist/index.html b/dist/index.html index 21243e1..f941179 100644 --- a/dist/index.html +++ b/dist/index.html @@ -1,3 +1,4 @@ + @@ -5,7 +6,7 @@
-
+
Doom 95
@@ -16,7 +17,7 @@
- +
- \ No newline at end of file + + \ No newline at end of file