mirror of
https://github.com/boostorg/website-v2.git
synced 2026-02-27 17:42:08 +00:00
Hooked up light and dark mode to the nav. In addition to changing the content colors the logo is swapped based on mode.
62 lines
1.2 KiB
CSS
62 lines
1.2 KiB
CSS
@tailwind base;
|
|
@tailwind components;
|
|
@tailwind utilities;
|
|
@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@200;300;400;500;600;700;800;900&display=swap");
|
|
|
|
@layer base {
|
|
[x-cloak] {
|
|
display: none !important;
|
|
}
|
|
|
|
body {
|
|
@apply text-charcoal dark:text-white;
|
|
@apply font-cairo;
|
|
}
|
|
h1 {
|
|
@apply text-6xl;
|
|
@apply mb-3;
|
|
}
|
|
h2 {
|
|
@apply text-4xl;
|
|
@apply my-5;
|
|
}
|
|
h3 {
|
|
@apply text-2xl;
|
|
}
|
|
h4 {
|
|
@apply text-xl;
|
|
}
|
|
h5 {
|
|
@apply text-base
|
|
}
|
|
p {
|
|
@apply py-5;
|
|
}
|
|
p a {
|
|
@apply text-orange;
|
|
}
|
|
pre {
|
|
@apply p-6;
|
|
}
|
|
/* Forum style overrides */
|
|
textarea {
|
|
@apply w-full rounded bg-charcoal border border-slate;
|
|
}
|
|
input[type=email] {
|
|
@apply w-full rounded bg-charcoal border border-slate mt-3;
|
|
}
|
|
input[type=checkbox] {
|
|
@apply mr-3 rounded bg-charcoal border border-slate text-orange;
|
|
}
|
|
input[type=file] {
|
|
@apply block w-full px-3 py-1 text-base 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-charcoal text-white border border-slate w-full;
|
|
}
|
|
#authpages #footerSignup {
|
|
@apply hidden;
|
|
}
|
|
}
|