From e15ba7de172b7248bc64b23efb17e97865e2d285 Mon Sep 17 00:00:00 2001 From: sasha-astiadi Date: Thu, 12 Dec 2024 20:34:18 +0100 Subject: [PATCH] fix responsiveness --- templates/partials/action/video.html | 42 +++++++++++++++++++--------- 1 file changed, 29 insertions(+), 13 deletions(-) diff --git a/templates/partials/action/video.html b/templates/partials/action/video.html index 4aa1a1b5c..21cd5230c 100644 --- a/templates/partials/action/video.html +++ b/templates/partials/action/video.html @@ -1,26 +1,31 @@ -
-
+
+
-

+

Join the Web4 Revolution

-

- Join us on our journey to the decentralized internet. Watch the video below to learn more about our mission and products. +

+ Join us on our journey to the decentralized internet.
Watch the video below to learn more about our mission and products.

- +
- +
+ +
-
+ @@ -46,11 +51,12 @@ /* Responsive iframe for YouTube video */ .responsive-iframe { - width: 100%; - height: 0; - padding-bottom: 56.25%; /* 16:9 Aspect Ratio */ position: relative; - border: none; + width: 100%; + max-width: 800px; /* Max width for large screens */ + padding-bottom: 56.25%; /* 16:9 Aspect Ratio */ + height: 0; + overflow: hidden; } .responsive-iframe iframe { position: absolute; @@ -66,6 +72,16 @@ justify-content: center; } + /* Responsive text and spacing */ + .text-pretty { + word-wrap: break-word; + } + @media (max-width: 640px) { + .text-pretty { + padding: 0 1rem; + } + } + /* Style for the button */ .blinking-effect { animation: blink 1.5s step-start infinite;