mirror of
https://github.com/boostorg/website-v2.git
synced 2026-02-27 17:42:08 +00:00
76 lines
1.8 KiB
CSS
76 lines
1.8 KiB
CSS
@tailwind base;
|
|
@tailwind components;
|
|
@tailwind utilities;
|
|
|
|
@layer base {
|
|
[x-cloak] {
|
|
display: none !important;
|
|
}
|
|
|
|
body {
|
|
@apply text-slate dark:text-white;
|
|
@apply font-cairo;
|
|
}
|
|
h1 {
|
|
@apply text-6xl;
|
|
@apply mb-3;
|
|
}
|
|
h2 {
|
|
@apply text-slate dark:text-white;
|
|
@apply text-4xl;
|
|
@apply my-5;
|
|
}
|
|
h3 {
|
|
@apply text-2xl;
|
|
}
|
|
h4 {
|
|
@apply text-xl;
|
|
}
|
|
h5 {
|
|
@apply text-base
|
|
}
|
|
p {
|
|
@apply py-5;
|
|
}
|
|
pre {
|
|
@apply p-6;
|
|
}
|
|
/* Forum style overrides */
|
|
textarea {
|
|
@apply w-full rounded bg-white dark:bg-charcoal border border-slate;
|
|
}
|
|
input[type=email] {
|
|
@apply w-full rounded bg-white dark:bg-charcoal border border-slate mt-3;
|
|
}
|
|
input[type=checkbox] {
|
|
@apply mr-3 rounded bg-white dark:bg-charcoal border border-slate text-orange;
|
|
}
|
|
input[type=file] {
|
|
@apply block w-full px-3 py-1 text-base text-slate dark:text-white font-normal text-orange bg-clip-padding border border-solid border-slate rounded transition ease-in-out my-2;
|
|
}
|
|
#signup_form input[type=email],
|
|
#signup_form input[type=password]{
|
|
@apply rounded bg-white dark:bg-charcoal text-slate dark:text-white border border-slate w-full;
|
|
}
|
|
#authpages #footerSignup {
|
|
@apply hidden;
|
|
}
|
|
/* Generic link style */
|
|
a:not(.link-header), select, .link {
|
|
@apply text-sky-600 dark:text-sky-300 hover:text-orange dark:hover:text-orange;
|
|
@apply group-hover:text-orange dark:group-hover:text-orange;
|
|
@apply fill-current;
|
|
}
|
|
|
|
.link-header {
|
|
@apply text-orange dark:text-orange hover:text-sky-600 dark:hover:text-sky-300;
|
|
}
|
|
|
|
/* use both .link and .link-force on an icon in order to bypass the following style and use all styles from .link */
|
|
i:not(.link-force) {
|
|
i.fa, i.fab, i.fa-brands, i.fas {
|
|
@apply text-slate dark:text-white;
|
|
}
|
|
}
|
|
}
|