Advertisement
ii_Giovanni

Homepage | custom.css

Apr 27th, 2025 (edited)
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.50 KB | None | 0 0
  1. /* Vision Pro Style - Applied globally and to service cards */
  2.  
  3. /* Base styles for the page */
  4. body {
  5. background-color: #1a1a1d; /* Dark background */
  6. color: rgba(235, 235, 245, 0.8); /* Slightly off-white text for better readability */
  7. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; /* System font stack including San Francisco */
  8. -webkit-font-smoothing: antialiased; /* Smoother fonts on macOS/iOS */
  9. -moz-osx-font-smoothing: grayscale; /* Smoother fonts on Firefox */
  10. }
  11.  
  12. /* Service Card refinement */
  13. .service-card {
  14. background-color: rgba(55, 55, 60, 0.55); /* Slightly adjusted dark background */
  15. backdrop-filter: blur(18px) saturate(190%); /* Increased blur/saturation slightly */
  16. border: 1px solid rgba(255, 255, 255, 0.12); /* More subtle border */
  17. border-radius: 14px; /* Slightly larger radius */
  18. padding: 12px; /* Adjusted padding */
  19. transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease; /* Added subtle transform */
  20. box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
  21. }
  22.  
  23. .from-theme-500\/30 {
  24. --tw-gradient-from: transparent !important;
  25. }
  26.  
  27. /* Add a slight lift effect on hover */
  28. .service-card:hover {
  29. background-color: rgba(70, 70, 75, 0.65); /* Lighter/more opaque on hover */
  30. border-color: rgba(255, 255, 255, 0.2); /* Brighter border on hover */
  31. box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15); /* Enhanced shadow on hover */
  32. }
  33.  
  34. /* Ensure text inside cards has good contrast */
  35. .service-card, .service-card .service-name, .service-card .service-url {
  36. color: rgba(235, 235, 245, 0.9) !important; /* Ensure good contrast */
  37. }
  38.  
  39. /* Service Group Name Style - Align with Vision Pro Text Styles (using Bold) */
  40. .service-group-name {
  41. font-weight: 600 !important; /* Using 600 for Semi-Bold, often used in visionOS */
  42. color: rgba(235, 235, 245, 0.95); /* Slightly brighter for headers */
  43. font-size: 1.2em; /* Slightly larger group names */
  44. }
  45.  
  46. /* Hide the footer */
  47. #footer {
  48. display: none !important; /* Force hide */
  49. }
  50.  
  51. /* Page Container Width - keeping existing logic */
  52. .container {
  53. max-width: 100%; /* Default width for smaller screens */
  54. }
  55.  
  56. /* Apply narrower width only on larger screens */
  57. @media (min-width: 768px) { /* Adjust breakpoint if needed */
  58. .container {
  59. max-width: 1100px; /* Limit container width with fixed value */
  60. }
  61. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement