From 25574e18271df0af55363d5a7a53fe0c219d0763 Mon Sep 17 00:00:00 2001 From: Fer-Bar Date: Thu, 15 Feb 2024 11:36:38 -0300 Subject: [PATCH] Added main carousel component --- pet/static/pet/css/main_carousel.css | 20 ++++++++++++ pet/templates/pet/main_carousel.html | 49 ++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) create mode 100644 pet/static/pet/css/main_carousel.css create mode 100644 pet/templates/pet/main_carousel.html diff --git a/pet/static/pet/css/main_carousel.css b/pet/static/pet/css/main_carousel.css new file mode 100644 index 0000000..e32bbe5 --- /dev/null +++ b/pet/static/pet/css/main_carousel.css @@ -0,0 +1,20 @@ +.carousel { + margin-bottom: 4rem; +} + +.carousel-caption { + bottom: 3rem; + z-index: 10; +} + +.carousel-item { + height: 32rem; +} + +@media (min-width: 40em) { + .carousel-caption p { + margin-bottom: 1.25rem; + font-size: 1.25rem; + line-height: 1.4; + } +} \ No newline at end of file diff --git a/pet/templates/pet/main_carousel.html b/pet/templates/pet/main_carousel.html new file mode 100644 index 0000000..86b4c41 --- /dev/null +++ b/pet/templates/pet/main_carousel.html @@ -0,0 +1,49 @@ + \ No newline at end of file