-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsrc.css
More file actions
45 lines (43 loc) · 1.36 KB
/
Copy pathsrc.css
File metadata and controls
45 lines (43 loc) · 1.36 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
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
html {
scroll-behavior: smooth;
}
body {
@apply bg-cream-50 text-ink antialiased;
}
h1, h2, h3, h4, h5, h6 {
@apply font-serif;
}
a {
@apply underline-offset-2;
}
}
@layer components {
.container-narrow {
@apply mx-auto w-full max-w-container px-4 sm:px-6 lg:px-8;
}
.btn {
@apply inline-flex items-center justify-center gap-2 rounded-md px-5 py-2.5 text-sm font-semibold tracking-wide transition focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-gold-500 focus-visible:ring-offset-cream-50;
}
.btn-primary {
@apply btn bg-gold-500 text-white hover:bg-gold-600 active:bg-gold-700;
}
.btn-secondary {
@apply btn bg-navy-800 text-cream-50 hover:bg-navy-700 active:bg-navy-900;
}
.btn-outline {
@apply btn border border-navy-200 bg-transparent text-navy-800 hover:bg-navy-50;
}
.nav-link {
@apply text-sm font-medium text-navy-800 hover:text-gold-600 transition;
}
.nav-link-mobile {
@apply block rounded-md px-3 py-2 text-base font-medium text-navy-800 hover:bg-cream-200;
}
.field {
@apply w-full rounded-md border border-navy-200 bg-white px-3 py-2 text-sm text-ink shadow-sm placeholder:text-navy-400 focus:border-gold-500 focus:outline-none focus:ring-1 focus:ring-gold-500;
}
}