wirewizards / style.css
tjksecurity's picture
Create a low voltage cabling company website with the latest SEO embedded
41de87e verified
Raw History Blame Contribute Delete
1.21 kB
/* Base styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
body {
font-family: 'Inter', sans-serif;
line-height: 1.6;
color: #1a202c;
}
.dark body {
color: #e2e8f0;
}
/* Smooth scroll behavior */
html {
scroll-behavior: smooth;
}
/* Custom styles for feather icons */
.feather {
width: 24px;
height: 24px;
stroke: currentColor;
stroke-width: 2;
stroke-linecap: round;
stroke-linejoin: round;
fill: none;
}
/* Animation for hover effects */
.transition {
transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 300ms;
}
/* Service card hover effect */
.service-card:hover {
transform: translateY(-5px);
}
/* Dark mode toggle styles */
#darkModeToggle {
display: flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
border-radius: 50%;
background-color: rgba(255, 255, 255, 0.1);
transition: background-color 0.3s ease;
}
#darkModeToggle:hover {
background-color: rgba(255, 255, 255, 0.2);
}