doordesk-js/doordesk/style/tailwind.css

85 lines
1.2 KiB
CSS
Raw Normal View History

2023-07-02 04:52:35 -04:00
@tailwind base;
@tailwind components;
@tailwind utilities;
2024-01-19 21:35:38 -05:00
html {
@apply text-orange-50 antialiased font-mono tracking-tighter;
}
2023-07-02 04:52:35 -04:00
body {
2024-01-19 18:25:01 -05:00
@apply bg-gradient-to-br from-zinc-900 to-zinc-950 bg-fixed;
2023-07-10 20:59:52 -04:00
}
2024-01-19 21:35:38 -05:00
nav li {
@apply border-b-2 mx-1.5 sm:mx-6;
@apply border-transparent hover:border-orange-700 duration-300;
}
nav li:has(> a[aria-current="page"]) {
@apply border-b-orange-700 border-b-2;
2023-07-02 04:52:35 -04:00
}
2024-01-19 18:25:01 -05:00
/* for innerHTML articles */
2023-07-02 04:52:35 -04:00
article p {
2024-01-19 18:25:01 -05:00
@apply mt-5 indent-4;
2023-07-02 04:52:35 -04:00
}
article h3 {
2024-01-19 20:13:26 -05:00
@apply mt-8 text-2xl text-orange-600;
2023-07-02 04:52:35 -04:00
}
2024-01-19 18:25:01 -05:00
article a {
@apply text-orange-300 hover:underline;
2023-07-02 04:52:35 -04:00
}
2024-01-19 18:25:01 -05:00
article h3 > a {
2024-01-19 20:13:26 -05:00
@apply text-orange-600;
2023-07-02 04:52:35 -04:00
}
2024-01-19 18:25:01 -05:00
article ul,
article ol {
@apply mt-5 list-inside;
2023-07-02 04:52:35 -04:00
}
article ul {
2024-01-19 18:25:01 -05:00
@apply list-disc;
2023-07-02 04:52:35 -04:00
}
article ol {
2024-01-19 18:25:01 -05:00
@apply list-decimal;
2023-07-02 04:52:35 -04:00
}
2024-01-19 20:13:26 -05:00
2024-01-19 20:14:09 -05:00
/* Code blocks */
2024-01-19 20:13:26 -05:00
.hh4 {
@apply text-orange-600;
}
.hh3 {
@apply text-blue-500;
}
.hh13 {
@apply text-orange-800;
}
.hh10 {
@apply text-slate-500;
}
.hh5 {
@apply text-orange-300;
}
/* dunno what this is yet */
.hh18 {
color: red;
}
.code-block {
2024-01-19 22:32:59 -05:00
@apply bg-black bg-opacity-50 p-3 rounded-lg shadow-lg shadow-black max-w-fit m-auto;
2024-01-19 20:13:26 -05:00
}
.code-block-inner {
2024-01-19 22:32:59 -05:00
@apply p-2 mt-2 text-sm border-t-gray-500 overflow-x-scroll border-t-2;
2024-01-19 20:13:26 -05:00
}