Skip to content
Source
Sign inSign up
TanStack/router
Open History to see the last commit

index.css

247 lines4.3 KB

1/* purgecss start ignore */
2@tailwind base;
3@tailwind components;
4/* purgecss end ignore */
5​
6body,
7html {
8 text-rendering: optimizeLegibility;
9 -webkit-font-smoothing: antialiased;
10 -moz-osx-font-smoothing: grayscale;
12​
13.top-24 {
14 top: 6rem;
16​
17.focus-ring {
18 outline: none;
19 @apply shadow-outline border-blue-400;
21​
22/* purgecss start ignore */
23​
24.embed-responsive {
25 position: relative;
26 display: block;
27 height: 0;
28 padding: 0;
29 overflow: hidden;
31​
32.embed-responsive .embed-responsive-item,
33.embed-responsive iframe,
34.embed-responsive embed,
35.embed-responsive object,
36.embed-responsive video {
37 position: absolute;
38 top: 0;
39 left: 0;
40 bottom: 0;
41 height: 100%;
42 width: 100%;
43 border: 0;
45​
46.aspect-ratio-square {
47 padding-top: 100%;
49​
50.aspect-ratio-16-9 {
51 padding-top: 56.25%;
53​
54.aspect-ratio-4-3 {
55 padding-top: 75%;
57​
58.aspect-ratio-21-9 {
59 padding-top: 42.86%;
61​
62.anchor {
63 @apply text-gray-500 absolute ml-2 pr-1 underline;
65​
66.anchor::after {
67 content: '#';
68 visibility: hidden;
70​
71h1:hover .anchor::after,
72h2:hover .anchor::after,
73h3:hover .anchor::after,
74h4:hover .anchor::after,
75h5:hover .anchor::after,
76h6:hover .anchor::after {
77 visibility: visible;
79​
80/* Algolia v3 overrides */
81:root {
82 --docsearch-modal-background: #fff;
83 --docsearch-highlight-color: #1965e0;
84 --docsearch-primary-color: #0052cc;
85 --docsearch-searchbox-shadow: 0 0 0 3px rgba(66, 153, 225, 0.5);
86 --ifm-z-index-fixed: 1000;
87 --docsearch-searchbox-height: 48px;
88 --docsearch-icon-stroke-width: 1.4;
89 --hover-overlay: rgba(0, 0, 0, 0.05);
90 --fds-animation-fade-in: cubic-bezier(0, 0, 1, 1);
91 --fds-animation-fade-out: cubic-bezier(0, 0, 1, 1);
93​
94.DocSearch--active #__next {
95 -webkit-filter: blur(2px);
96 filter: blur(2px);
98.DocSearch-SearchBar {
99 @apply mb-2;
101​
102.DocSearch-Form {
103 @apply rounded-md;
105​
106.DocSearch-Search-Icon {
107 height: 20px;
108 width: 20px;
109 stroke-width: 1.6;
110 @apply text-gray-600;
112​
113/* Custom Remark alerts */
114.alert {
115 @apply p-4 border-l-4 mb-4;
117​
118.alert.alert-danger {
119 @apply bg-red-50 text-red-800 border-red-500;
121​
122.alert.alert-success {
123 @apply bg-green-50 text-green-700 border-green-500;
125​
126.alert.alert-warning {
127 @apply bg-yellow-50 text-yellow-800 border-yellow-500;
129​
130.alert.alert-info {
131 @apply bg-blue-50 text-blue-800 border-blue-500;
133​
134.font-mono {
135 font-family: monospace;
137​
138details > p > a,
139details > ul > li > a,
140details > ol > li > a,
141details > ul > li a,
142details > ol > li a,
143details > table > tbody > tr > td > a {
144 @apply text-blue-600 font-semibold transition-colors duration-150 ease-out;
146​
147details > p > a:hover,
148details > ul > li > a:hover,
149details > ol > li > a:hover,
150details > table > tbody > tr > td > a:hover {
151 @apply text-blue-800 transition-colors duration-150 ease-out;
153​
154details strong {
155 @apply font-bold;
157​
158details > p,
159details > ul,
160details > ol,
161details > blockquote,
162details > pre,
163details > div > .code-block {
164 @apply mb-4;
166details > ul,
167details > ul > li > ul {
168 @apply ml-8 list-disc;
170​
171details > ol {
172 @apply ml-8 list-decimal;
174details {
175 @apply p-3 bg-gray-50 rounded-md border mb-3 text-sm leading-5 shadow-sm;
177details > p {
178 @apply mt-2;
180details > summary {
181 @apply font-bold text-base;
183​
184@tailwind utilities;
185/* purgecss end ignore */
186​
187#carbonads * {
188 margin: initial;
189 padding: initial;
191#carbonads {
192 font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
193 Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', Helvetica, Arial,
194 sans-serif;
196#carbonads {
197 display: flex;
198 max-width: 330px;
199 background-color: hsl(0, 0%, 98%);
200 box-shadow: 0 1px 4px 1px hsla(0, 0%, 0%, 0.1);
201 z-index: 100;
203#carbonads a {
204 color: inherit;
205 text-decoration: none;
207#carbonads a:hover {
208 color: inherit;
210#carbonads span {
211 position: relative;
212 display: block;
213 overflow: hidden;
215#carbonads .carbon-wrap {
216 display: flex;
218#carbonads .carbon-img {
219 display: block;
220 margin: 0;
221 line-height: 1;
223#carbonads .carbon-img img {
224 display: block;
226#carbonads .carbon-text {
227 font-size: 13px;
228 padding: 10px;
229 margin-bottom: 16px;
230 line-height: 1.5;
231 text-align: left;
233#carbonads .carbon-poweredby {
234 display: block;
235 padding: 6px 8px;
236 background: #f1f1f2;
237 text-align: center;
238 text-transform: uppercase;
239 letter-spacing: 0.5px;
240 font-weight: 600;
241 font-size: 8px;
242 line-height: 1;
243 border-top-left-radius: 3px;
244 position: absolute;
245 bottom: 0;
246 right: 0;