Spaces:
Running
Running
| /* style.css */ | |
| /* Import Font */ | |
| @import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;700&display=swap'); | |
| :root { | |
| --primary: #4F46E5; | |
| --secondary: #10B981; | |
| } | |
| /* Smooth Scrolling for the whole page */ | |
| html { | |
| scroll-behavior: smooth; | |
| } | |
| /* Custom Scrollbar */ | |
| ::-webkit-scrollbar { | |
| width: 10px; | |
| } | |
| ::-webkit-scrollbar-track { | |
| background: #f1f5f9; | |
| } | |
| ::-webkit-scrollbar-thumb { | |
| background: #cbd5e1; | |
| border-radius: 5px; | |
| } | |
| ::-webkit-scrollbar-thumb:hover { | |
| background: #94a3b8; | |
| } | |
| /* Utilities for glassmorphism if not using Tailwind arbitrary values */ | |
| .glass { | |
| background: rgba(255, 255, 255, 0.65); | |
| backdrop-filter: blur(10px); | |
| -webkit-backdrop-filter: blur(10px); | |
| border: 1px solid rgba(255, 255, 255, 0.18); | |
| box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07); | |
| } | |
| /* Animation Classes */ | |
| .fade-in { | |
| opacity: 0; | |
| transition: opacity 0.5s ease-in-out; | |
| } | |
| .fade-in.visible { | |
| opacity: 1; | |
| } | |
| /* Code block highlight simulation */ | |
| code { | |
| font-family: 'Vazirmatn', monospace; | |
| direction: ltr; | |
| display: block; | |
| } |