![]() Server : Apache/2 System : Linux server-15-235-50-60 5.15.0-164-generic #174-Ubuntu SMP Fri Nov 14 20:25:16 UTC 2025 x86_64 User : gositeme ( 1004) PHP Version : 8.2.29 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname Directory : /home/gositeme/domains/lavocat.ca/public_html/src/styles/ |
/* Mobile Profile Optimizations */
/* Ensure proper touch targets */
@media (max-width: 768px) {
/* Minimum touch target size */
button, a, [role="button"] {
min-height: 44px;
min-width: 44px;
}
/* Better text readability */
.text-sm {
font-size: 14px;
line-height: 1.4;
}
/* Improved spacing for mobile */
.mobile-spacing {
padding: 16px;
margin-bottom: 16px;
}
/* Better card shadows for mobile */
.mobile-card {
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
border-radius: 12px;
}
/* Optimize images for mobile */
.mobile-avatar {
width: 80px;
height: 80px;
}
/* Better button spacing */
.mobile-button-group {
display: flex;
flex-direction: column;
gap: 12px;
}
/* Horizontal scroll for tabs */
.mobile-tabs {
overflow-x: auto;
-webkit-overflow-scrolling: touch;
scrollbar-width: none; /* Firefox */
-ms-overflow-style: none; /* IE and Edge */
}
.mobile-tabs::-webkit-scrollbar {
display: none; /* Chrome, Safari, Opera */
}
/* Better text truncation */
.mobile-text-truncate {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
/* Improved focus states for accessibility */
button:focus,
a:focus,
[role="button"]:focus {
outline: 2px solid #3b82f6;
outline-offset: 2px;
}
/* Better loading states */
.mobile-loading {
padding: 32px 16px;
text-align: center;
}
/* Optimize grid layouts for mobile */
.mobile-grid {
display: grid;
grid-template-columns: 1fr;
gap: 16px;
}
/* Better modal positioning */
.mobile-modal {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 50;
background: rgba(0, 0, 0, 0.5);
display: flex;
align-items: center;
justify-content: center;
padding: 16px;
}
/* Improved form elements */
input, textarea, select {
font-size: 16px; /* Prevents zoom on iOS */
padding: 12px;
border-radius: 8px;
}
/* Better list spacing */
.mobile-list {
space-y: 12px;
}
/* Optimize images */
img {
max-width: 100%;
height: auto;
}
/* Better navigation */
.mobile-nav {
position: sticky;
top: 0;
background: white;
z-index: 10;
border-bottom: 1px solid #e5e7eb;
}
/* Improved scrolling */
.mobile-scroll {
-webkit-overflow-scrolling: touch;
scroll-behavior: smooth;
}
}
/* Tablet optimizations */
@media (min-width: 769px) and (max-width: 1024px) {
.tablet-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 20px;
}
.tablet-sidebar {
width: 320px;
}
}
/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
.retina-image {
image-rendering: -webkit-optimize-contrast;
image-rendering: crisp-edges;
}
}
/* Dark mode support */
@media (prefers-color-scheme: dark) {
.mobile-card {
background: #1f2937;
color: #f9fafb;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
}
/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
* {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
}
}