|
6 | 6 |
|
7 | 7 | <div class="flex items-center justify-center min-h-screen"> <!-- Full viewport height and centering utilities --> |
8 | 8 | <div class="w-full max-w-screen-xl px-4 lg:px-8 mx-auto"> <!-- Horizontal centering and max width --> |
9 | | - <div class="flex flex-wrap items-center justify-center custom-position-content" |
| 9 | + <div class="flex flex-wrap items-center justify-center custom-position-content md:flex-nowrap" |
10 | 10 | style="--tw-translate-x: 35px; @media (min-width: 768px) { --tw-translate-x: 35px; } @media (min-width: 1024px) { --tw-translate-x: 100px; } @media (min-width: 1280px) { --tw-translate-x: 130px; }" |
11 | 11 | x-data |
12 | 12 | x-init="$el.style.transform = `translateX(${getComputedStyle($el).getPropertyValue('--tw-translate-x')})`"> |
13 | | - <div class="w-full md:w-1/12 md:ml-2/12 -mt-3 ml-16 mr-6 bg-white bg-clip-border border border-solid border-gray-200 rounded-md text-center cursor-pointer font-extrabold" |
| 13 | + <div class="w-1/3 md:w-1/12 md:ml-2/12 mt-3 md:-mt-3 sm:-ml-4 md:ml-16 mr-6 bg-white bg-clip-border border border-solid border-gray-200 rounded-md text-center cursor-pointer font-extrabold order-3 md:order-none" |
14 | 14 | style="height: 82px;"> |
15 | 15 | <div id="argentina" class="mt-4">.AR</div> |
16 | 16 | <div id="chile">.CH</div> |
17 | 17 | </div> |
18 | | - <div class="w-full md:w-4/12 lg:w-4/12 xl:w-4/12" style="max-width: 250px;"> <!-- COLUMNA DASHBOARD --> |
| 18 | + <div class="w-full md:w-4/12 lg:w-4/12 xl:w-4/12 mt-4 md:mt-0 order-2 md:order-none" style="max-width: 250px;"> <!-- COLUMNA DASHBOARD --> |
19 | 19 | <div class="mb-1"> |
20 | 20 | <div class="flex justify-between"> |
21 | 21 | {% if last_total_increase %} |
|
40 | 40 | </div> |
41 | 41 | </div> |
42 | 42 | <!-- COMPONENTE ÍNDICE--> |
43 | | - <div class="relative flex flex-col min-w-0 break-words bg-white bg-clip-border border border-solid border-gray-200 rounded-md"> |
| 43 | + <div class="relative flex flex-col max-w-60 break-words bg-white bg-clip-border border border-solid border-gray-200 rounded-md"> |
44 | 44 | <div class="card-body p-5" style="background-color: var(--background-body);"> |
45 | 45 | <div class="p-0"> |
46 | 46 | <div |
|
50 | 50 | </div> |
51 | 51 | </div> |
52 | 52 | <div class="flex justify-between" style="margin-top: 3px; margin-left: 30px;"> |
53 | | - <div class="flex items-center" |
54 | | - style="filter: var(--legibilidad); font-size: 24px; font-weight: 900; color: var(--texto-amarillo-pleno); width: 50%; position: relative; bottom: 62px; left: 55px; z-index: 2;"> |
| 53 | + <div class="flex items-center font-extrabold" |
| 54 | + style="filter: var(--legibilidad); font-size: 24px; width: 50%; position: relative; bottom: 62px; left: 55px; z-index: 2;"> <!-- var(--legibilidad) para seleccionar desde fetch, no por CSS--> |
55 | 55 | {{ '%.2f'|format(min(total_engagement * 1000, 100)) }}% |
56 | 56 | </div> |
57 | 57 | </div> |
58 | 58 | </div> |
59 | | - <div class="w-full md:w-3/12 mx-1"> |
| 59 | + <div class="w-full md:w-3/12 mx-1 mt-4 md:mt-0 order-1 md:order-none scale-125 md:scale-100"> |
60 | 60 | <div class="-mt-5 text-center" style="letter-spacing: 0%;"> |
61 | 61 | <div class="text-uppercase inline mr-20 relative right-1 top-3 font-extrabold" |
62 | 62 | style="font-size: 20px;"> |
63 | 63 | ODIO <div class="inline" style="opacity: 40%;">OÍDO:</div> |
64 | 64 | </div> |
65 | | - <div class="text-uppercase" |
66 | | - style="font-size: 28px; font-weight: 900; margin-top: -4px; color: var(--texto-azul-pleno);"> |
| 65 | + <div class="text-uppercase font-extrabold" |
| 66 | + style="font-size: 28px; margin-top: -4px;"> |
67 | 67 | TOXICIDAD <div class="inline">EN</div> |
68 | 68 | </div> |
69 | 69 | <p class="text-uppercase text-44 font-extrabold relative right-1" |
|
0 commit comments