141 lines
2.6 KiB
CSS
141 lines
2.6 KiB
CSS
@import url("https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700;800;900&display=swap");
|
|
@import "tailwindcss";
|
|
|
|
:root {
|
|
font-family: "Vazirmatn", ui-sans-serif, system-ui, sans-serif;
|
|
color: #1e293b;
|
|
background: #fbfaf7;
|
|
font-synthesis: none;
|
|
text-rendering: optimizeLegibility;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html {
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
min-width: 320px;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
button,
|
|
input {
|
|
font: inherit;
|
|
}
|
|
|
|
button,
|
|
a {
|
|
-webkit-tap-highlight-color: transparent;
|
|
}
|
|
|
|
button {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.hero-grid {
|
|
background-image:
|
|
linear-gradient(to right, rgba(91, 80, 214, 0.07) 1px, transparent 1px),
|
|
linear-gradient(to bottom, rgba(91, 80, 214, 0.07) 1px, transparent 1px);
|
|
background-size: 36px 36px;
|
|
mask-image: linear-gradient(to bottom, black, transparent 90%);
|
|
}
|
|
|
|
.hero-grid-light {
|
|
background-image:
|
|
linear-gradient(to right, rgba(255, 255, 255, 0.6) 1px, transparent 1px),
|
|
linear-gradient(to bottom, rgba(255, 255, 255, 0.6) 1px, transparent 1px);
|
|
background-size: 40px 40px;
|
|
}
|
|
|
|
.no-scrollbar::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
.no-scrollbar {
|
|
scrollbar-width: none;
|
|
}
|
|
|
|
.article-body .lead {
|
|
border-right: 4px solid #5b50d6;
|
|
padding: 0.5rem 1.25rem 0.5rem 0;
|
|
font-size: 1.125rem;
|
|
font-weight: 600;
|
|
color: #334155;
|
|
}
|
|
|
|
.article-body h2 {
|
|
margin-top: 2.25rem;
|
|
margin-bottom: 0.75rem;
|
|
font-size: 1.5rem;
|
|
line-height: 1.6;
|
|
font-weight: 900;
|
|
color: #0f172a;
|
|
}
|
|
|
|
.article-body ul {
|
|
margin: 1.25rem 0;
|
|
padding-right: 1.5rem;
|
|
list-style: none;
|
|
}
|
|
|
|
.article-body li {
|
|
position: relative;
|
|
margin: 0.45rem 0;
|
|
}
|
|
|
|
.article-body li::before {
|
|
content: "";
|
|
position: absolute;
|
|
right: -1.3rem;
|
|
top: 0.85rem;
|
|
width: 0.45rem;
|
|
height: 0.45rem;
|
|
border-radius: 999px;
|
|
background: #5b50d6;
|
|
}
|
|
|
|
.article-body blockquote {
|
|
display: flex;
|
|
gap: 1rem;
|
|
margin: 2.25rem 0;
|
|
border-radius: 1.5rem;
|
|
background: #eeecff;
|
|
padding: 1.5rem;
|
|
color: #4338a8;
|
|
font-size: 1.1rem;
|
|
font-weight: 800;
|
|
}
|
|
|
|
@keyframes float {
|
|
0%, 100% { transform: translateY(0) rotate(-6deg); }
|
|
50% { transform: translateY(-10px) rotate(-3deg); }
|
|
}
|
|
|
|
@keyframes float-delayed {
|
|
0%, 100% { transform: translateY(0); }
|
|
50% { transform: translateY(-8px); }
|
|
}
|
|
|
|
.float-card {
|
|
animation: float 4s ease-in-out infinite;
|
|
}
|
|
|
|
.float-card-delayed {
|
|
animation: float-delayed 4.5s ease-in-out 0.8s infinite;
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
scroll-behavior: auto !important;
|
|
animation-duration: 0.01ms !important;
|
|
animation-iteration-count: 1 !important;
|
|
}
|
|
}
|