diff --git a/frontend/src/App.css b/frontend/src/App.css index 6af73281..2bff4d11 100644 --- a/frontend/src/App.css +++ b/frontend/src/App.css @@ -26,16 +26,52 @@ input[type='radio'] { } .star { - cursor: pointer; - font-size: 2rem; - margin-bottom: 0; + cursor: pointer; + font-size: 2rem; + margin-bottom: 0; } .card { - transition: all 0.3s ease; /* Ensure smooth transitions */ + @apply transition-all duration-300 ease-in-out; /* Smooth transition */ +} + +.card:hover { + @apply shadow-lg; /* Adds a shadow on hover */ +} + +/* Responsive adjustments for different screen sizes */ +@media (min-width: 640px) { + /* Small devices (sm) */ + .star { + font-size: 1.5rem; /* Smaller star size for narrow screens */ + } +} + +@media (min-width: 768px) { + /* Medium devices (md) */ + .star { + font-size: 1.75rem; /* Slightly larger star size */ + } + + .rating-button { + @apply p-3; /* More padding for buttons on medium screens */ + } +} + +@media (min-width: 1024px) { + /* Large devices (lg) */ + .card { + @apply rounded-lg p-4; /* Larger padding and rounded corners */ } - - /* Shadow effect on hover */ - .card:hover { - box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* Add a shadow on hover */ +} + +@media (min-width: 1280px) { + /* Extra large devices (xl) */ + .star { + font-size: 2rem; /* Default large star size */ + } + + .rating-button { + @apply p-4; /* Extra padding for larger screens */ } +} \ No newline at end of file diff --git a/frontend/src/components/Shared/footer/Content.jsx b/frontend/src/components/Shared/footer/Content.jsx index 2237fb85..5016b742 100644 --- a/frontend/src/components/Shared/footer/Content.jsx +++ b/frontend/src/components/Shared/footer/Content.jsx @@ -1,12 +1,11 @@ import { useEffect, useState } from 'react'; import Logo from '../../../assets/Logo/playcafe.png'; -import googleImage from '../../../assets/img/google.png'; import { FaFacebook, FaInstagram, FaTiktok, FaGithub } from 'react-icons/fa'; import Google from './Google'; export default function Content() { return ( -
+