Repository navigation
Expand file tree
/
Copy pathsrc.css
More file actions
138 lines (118 loc) · 2.33 KB
/
Copy pathsrc.css
File metadata and controls
138 lines (118 loc) · 2.33 KB
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
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
html {
scroll-behavior: smooth;
}
:focus-visible {
outline: 2px solid #4f46e5;
outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
scroll-behavior: auto !important;
transition-duration: 0.01ms !important;
}
}
}
@layer components {
.site-header {
isolation: isolate;
position: sticky;
top: 0;
z-index: 1000;
}
.ad-placement {
isolation: isolate;
position: relative;
z-index: 0;
}
.ad-banner-slot {
width: 100%;
max-width: 728px;
aspect-ratio: 728 / 90;
position: relative;
overflow: hidden;
}
.ad-banner-slot iframe {
display: block;
position: absolute !important;
top: 0;
left: 0;
width: 728px !important;
max-width: none !important;
height: 90px !important;
border: 0;
transform-origin: top left !important;
}
.ad-rectangle-slot {
width: 300px;
max-width: 100%;
}
.ad-rectangle-slot iframe {
display: block;
width: 100% !important;
max-width: 300px;
height: 250px !important;
border: 0;
}
.animate-fade-in {
animation: fadeIn 0.5s ease-out forwards;
}
.counter-box {
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.counter-box:hover {
transform: translateY(-2px);
box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.1), 0 2px 4px -1px rgba(79, 70, 229, 0.06);
}
.prose {
color: #4b5563;
max-width: 65ch;
}
.prose p {
margin-top: 1.25em;
margin-bottom: 1.25em;
line-height: 1.75;
}
.prose h2 {
color: #4f46e5;
font-size: 1.5em;
font-weight: 700;
line-height: 1.333;
margin-top: 1.6em;
margin-bottom: 0.8em;
}
.prose h2:first-child,
.prose p:first-child {
margin-top: 0;
}
.prose code {
color: #4f46e5;
background-color: #f5f3ff;
padding: 0.2rem 0.4rem;
border-radius: 0.25rem;
font-weight: 600;
}
@media (min-width: 1024px) {
.prose-xl {
font-size: 1.25rem;
line-height: 1.8;
}
}
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}