Fix: Refactor CSS classes and apply new hx: prefixes
Some checks failed
Deploy Hugo site to Pages / build (push) Has been cancelled
Deploy Hugo site to Pages / deploy (push) Has been cancelled

Updated the CSS classes to use the new `hx:` prefix, making them more
consistent. Also updated the margin styles in the index page to use the
`style` attribute.
This commit is contained in:
darnodo
2025-11-19 12:45:56 +01:00
parent 21c92adea8
commit b2b398db7a
2 changed files with 8 additions and 8 deletions

View File

@@ -28,25 +28,25 @@ layout: hextra-home
title="Documentations" title="Documentations"
subtitle="Liste des documents et explications sur le concept de réseau ou de système" subtitle="Liste des documents et explications sur le concept de réseau ou de système"
link="documentation" link="documentation"
class="hx-aspect-auto md:hx-aspect-[1.1/1] max-md:hx-min-h-[340px]" class="hx:aspect-auto hx:md:aspect-[1.1/1] hx:max-md:min-h-[340px]"
image="/images/documentation.png" image="/images/documentation.png"
imageClass="hx-top-[40%] hx-left-[24px] hx-w-[180%] sm:hx-w-[110%] dark:hx-opacity-80" imageClass="hx:top-[40%] hx:left-[24px] hx:w-[180%] hx:sm:w-[110%] hx:dark:opacity-80"
style="background: radial-gradient(ellipse at 50% 80%,rgba(58, 56, 113, 0.1),hsla(0,0%,100%,0));" style="background: radial-gradient(ellipse at 50% 80%,rgba(58, 56, 113, 0.1),hsla(0,0%,100%,0));"
>}} >}}
{{< hextra/feature-card {{< hextra/feature-card
title="NetLab" title="NetLab"
subtitle="Des Labs pour s'entraîner" subtitle="Des Labs pour s'entraîner"
link="netlab" link="netlab"
class="hx-aspect-auto md:hx-aspect-[1.1/1] max-lg:hx-min-h-[340px]" class="hx:aspect-auto hx:md:aspect-[1.1/1] hx:max-lg:min-h-[340px]"
image="/images/netlab.png" image="/images/netlab.png"
imageClass="hx-top-[40%] hx-left-[36px] hx-w-[180%] sm:hx-w-[110%] dark:hx-opacity-80" imageClass="hx:top-[40%] hx:left-[36px] hx:w-[180%] hx:sm:w-[110%] hx:dark:opacity-80"
style="background: radial-gradient(ellipse at 50% 80%,rgba(203, 28, 66, 0.1),hsla(0,0%,100%,0));" style="background: radial-gradient(ellipse at 50% 80%,rgba(203, 28, 66, 0.1),hsla(0,0%,100%,0));"
>}} >}}
{{< /hextra/feature-grid >}} {{< /hextra/feature-grid >}}
<div class="hx-mt-12 hx-mb-6"> <div style="margin-top: 8rem; margin-bottom: 1.5rem;">
<h2 class="hx-text-right hx-text-3xl hx-font-semibold hx-text-gray-900 dark:hx-text-gray-100 hx-mb-4"> <h2 class="hx:text-right hx:text-3xl hx:font-semibold hx:text-gray-900 hx:dark:text-gray-100" style="margin-bottom: 1.5rem;">
Technologies utilisés Technologies utilisés
</h2> </h2>
<img src="images/tech-banner.png" alt="Technologies utilisées" class="hx-mx-auto hx-max-w-full hx-h-auto" /> <img src="images/tech-banner.png" alt="Technologies utilisées" class="hx:mx-auto hx:max-w-full hx:h-auto" />
</div> </div>