wp-wellnet-elevate / style.css
CSNET's picture
สร้างเว็บที่นำเสนอโครงการที่สอดคล้องแนวคิดนี้
1922e6b verified
Raw History Blame Contribute Delete
3.06 kB
/* Custom Scrollbar */
::-webkit-scrollbar {
width: 10px;
}
::-webkit-scrollbar-track {
background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
background: #14b8a6;
border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
background: #0d9488;
}
/* Smooth Scroll */
html {
scroll-behavior: smooth;
}
/* Animation Classes */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.fade-in-up {
animation: fadeInUp 0.6s ease-out;
}
/* Hover Effects */
.hover-lift {
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
transform: translateY(-5px);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
/* Mobile Menu */
.mobile-menu {
display: none;
}
@media (max-width: 768px) {
.mobile-menu {
display: block;
}
.desktop-menu {
display: none;
}
}
/* Gradient Text */
.gradient-text {
background: linear-gradient(135deg, #14b8a6 0%, #3b82f6 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
/* Card Hover Effects */
.card-hover {
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-hover:hover {
transform: translateY(-10px) scale(1.02);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
/* Button Animations */
.btn-pulse {
animation: pulse 2s infinite;
}
@keyframes pulse {
0% {
box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.7);
}
70% {
box-shadow: 0 0 0 10px rgba(20, 184, 166, 0);
}
100% {
box-shadow: 0 0 0 0 rgba(20, 184, 166, 0);
}
}
/* Loading Animation */
@keyframes spin {
to {
transform: rotate(360deg);
}
}
.loading {
animation: spin 1s linear infinite;
}
/* Section Spacing */
section {
position: relative;
}
/* Background Patterns */
.pattern-bg {
background-image:
radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
background-size: 40px 40px;
}
/* Feature Icons Animation */
.feature-icon {
transition: transform 0.3s ease;
}
.feature-icon:hover {
transform: rotate(10deg) scale(1.1);
}
/* Navigation Active State */
.nav-active {
color: #14b8a6 !important;
font-weight: 600;
}
/* Sticky Navigation Enhancements */
.nav-shadow {
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
/* Text Selection */
::selection {
background: #14b8a6;
color: white;
}
/* Focus States */
.focus-ring:focus {
outline: 2px solid #14b8a6;
outline-offset: 2px;
}
/* Responsive Typography */
@media (max-width: 640px) {
h1 {
font-size: 2.5rem;
line-height: 1.2;
}
h2 {
font-size: 2rem;
line-height: 1.3;
}
}
/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
.dark-mode-support {
background-color: #1a1a1a;
color: #ffffff;
}
}
/* Print Styles */
@media print {
.no-print {
display: none !important;
}
}