From 9ebd9f1d24f02bd5a3c5a1d5a0740f48d0a238db Mon Sep 17 00:00:00 2001 From: codecalm Date: Sat, 19 Apr 2025 13:11:11 +0200 Subject: [PATCH] feat: update border utility examples and enhance card styling for improved layout --- docs/content/ui/utilities/borders.md | 63 ++++++++++++++-------------- shared/includes/docs/docs-card.html | 4 +- shared/includes/docs/menu.html | 2 +- shared/includes/docs/navbar.html | 2 +- 4 files changed, 36 insertions(+), 35 deletions(-) diff --git a/docs/content/ui/utilities/borders.md b/docs/content/ui/utilities/borders.md index 564a1d12f..5ad8efdbd 100644 --- a/docs/content/ui/utilities/borders.md +++ b/docs/content/ui/utilities/borders.md @@ -20,42 +20,42 @@ Borders can be applied to specific sides of an element using utility classes. Th {% capture html -%}
1
2
3
4
5
6
7
{%- endcapture %} -{% include "docs/example.html" html=html %} +{% include "docs/example.html" html=html centered hide-code %} ## Border size @@ -70,22 +70,22 @@ Border size utilities allow you to control the thickness of borders, providing f {% capture html -%}
1
2
3
{%- endcapture %} -{% include "docs/example.html" html=html %} +{% include "docs/example.html" html=html centered hide-code %} ## Remove border @@ -102,37 +102,37 @@ If you want to selectively remove borders from specific sides of an element, you {% capture html -%}
1
2
3
4
5
6
{%- endcapture %} -{% include "docs/example.html" html=html %} +{% include "docs/example.html" html=html centered hide-code %} ## Border color @@ -152,47 +152,47 @@ Customizing the border color helps to enhance the visual appeal and consistency {% capture html -%}
1
2
3
4
5
6
7
8
{%- endcapture %} -{% include "docs/example.html" html=html %} +{% include "docs/example.html" html=html centered hide-code %} ## Border radius @@ -239,7 +239,7 @@ Adding border radius gives elements smooth, rounded edges, which can make design 6 {%- endcapture %} -{% include "docs/example.html" html=html %} +{% include "docs/example.html" html=html centered hide-code %} ## Border opacity @@ -250,7 +250,7 @@ You can adjust the opacity of borders to create subtle visual effects or to blen
This is 50% opacity success border
``` -```html example +{% capture html -%}
This is default success border
This is 75% opacity success border @@ -262,4 +262,5 @@ You can adjust the opacity of borders to create subtle visual effects or to blen This is 25% opacity success border
This is 10% opacity success border
-``` \ No newline at end of file +{%- endcapture %} +{% include "docs/example.html" html=html hide-code %} \ No newline at end of file diff --git a/shared/includes/docs/docs-card.html b/shared/includes/docs/docs-card.html index 2bb8b3b24..3156d420f 100644 --- a/shared/includes/docs/docs-card.html +++ b/shared/includes/docs/docs-card.html @@ -1,4 +1,4 @@ -
+