Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated index.css with new features #488

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 44 additions & 8 deletions src/index.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');


@import "slick-carousel/slick/slick.css";
@import "slick-carousel/slick/slick-theme.css";
@tailwind base;
Expand All @@ -10,19 +8,56 @@

body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
sans-serif;
font-family: 'Poppins', sans-serif;
background-color: #f9f9f9; /* Light grey background */
color: #333; /* Dark grey text */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-x: hidden;
overflow-x: hidden;
}

h1, h2, h3 {
font-family: 'Poppins', sans-serif;
font-weight: 700;
margin-bottom: 0.5em;
}

button {
font-family: 'Poppins', sans-serif;
padding: 10px 20px;
background-color: #e72927; /* Red background */
color: white;
border: none;
border-radius: 5px;
transition: background-color 0.3s ease;
}

button:hover {
background-color: #c82727; /* Darker red on hover */
}

.card {
background-color: white;
border-radius: 10px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
padding: 20px;
margin: 15px;
}

@media (max-width: 768px) {
body {
padding: 10px; /* Add padding for smaller screens */
}

.card {
margin: 10px; /* Reduce margins on smaller screens */
}
}

code {
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
monospace;
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace;
}

@keyframes scroll {
0% {
transform: translateX(0);
Expand All @@ -34,4 +69,5 @@ code {

.animate-scroll {
animation: scroll 10s linear infinite;
will-change: transform; /* Helps the browser optimize the animation */
}