File size: 2,833 Bytes
aae9926 19b42c2 aae9926 19b42c2 aae9926 19b42c2 aae9926 19b42c2 aae9926 19b42c2 aae9926 463b1f0 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 | /* Custom CSS for FlowFlex */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
* {
font-family: 'Inter', sans-serif;
}
/* Smooth scrolling */
html {
scroll-behavior: smooth;
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 6px;
}
::-webkit-scrollbar-track {
background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
background: #c1c1c1;
border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
background: #a8a8a8;
}
/* Post card animations */
.post-card {
transition: all 0.3s ease;
transform: translateY(0);
}
.post-card:hover {
transform: translateY(-4px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
/* Like animation */
.like-animation {
animation: like-pulse 0.6s ease;
}
@keyframes like-pulse {
0% { transform: scale(1); }
50% { transform: scale(1.2); }
100% { transform: scale(1); }
}
/* Feed filter active state */
.feed-filter-btn.active {
box-shadow: 0 4px 6px -1px rgba(14, 165, 233, 0.3);
}
/* Loading skeleton animation */
.skeleton {
background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
background-size: 200% 100%;
animation: loading 1.5s infinite;
}
@keyframes loading {
0% {
background-position: 200% 0;
}
100% {
background-position: -200% 0;
}
}
/* Fade in animation for new content */
.fade-in {
animation: fadeIn 0.5s ease-in;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Mobile responsive adjustments */
@media (max-width: 768px) {
.post-card {
margin-bottom: 1rem;
}
.feed-filter-btn {
font-size: 0.75rem;
padding: 0.5rem 1rem;
}
}
/* Dark mode support */
@media (prefers-color-scheme: dark) {
.dark-mode-auto {
background-color: #1a202c;
color: #e2e8f0;
}
}
/* Custom gradient backgrounds */
.gradient-bg-primary {
background: linear-gradient(135deg, #0ea5e9 0%, #d946ef 100%);
}
.gradient-bg-secondary {
background: linear-gradient(135deg, #d946ef 0%, #0ea5e9 100%);
}
/* Video player styles */
.video-container {
position: relative;
width: 100%;
height: 0;
padding-bottom: 177.77%; /* 9:16 aspect ratio for mobile videos */
}
/* Profile page specific styles */
.profile-tab.active {
box-shadow: 0 4px 6px -1px rgba(14, 165, 233, 0.3);
}
/* Create post form styles */
#media-upload {
border: 1px solid #d1d5db;
border-radius: 6px;
padding: 0.75rem;
font-size: 0.875rem;
}
/* Responsive video grid */
@media (min-width: 768px) {
.video-container {
padding-bottom: 56.25%; /* 16:9 aspect ratio for desktop */
}
|