| 1 |
@tailwind base; |
| 2 |
@tailwind components; |
| 3 |
@tailwind utilities; |
| 4 |
|
| 5 |
@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,600;0,700;1,400&family=Playfair+Display:wght@700;900&display=swap'); |
| 6 |
|
| 7 |
:root { |
| 8 |
--vmi-red: #AE122A; |
| 9 |
--vmi-gold: #FFD619; |
| 10 |
--vmi-dark-red: #8A0E22; |
| 11 |
--vmi-light-gold: #FFF3B8; |
| 12 |
--vmi-cream: #d7d4c9; |
| 13 |
--vmi-black: #1A1A1A; |
| 14 |
--vmi-gray: #4A4A4A; |
| 15 |
--vmi-light-gray: #F5F5F5; |
| 16 |
} |
| 17 |
|
| 18 |
body { |
| 19 |
font-family: 'Crimson Text', Georgia, serif; |
| 20 |
color: var(--vmi-black); |
| 21 |
background: var(--vmi-cream); |
| 22 |
font-size: 18px; |
| 23 |
line-height: 1.6; |
| 24 |
} |
| 25 |
|
| 26 |
h1, h2, h3, h4, h5, h6 { |
| 27 |
font-family: 'Playfair Display', Georgia, serif; |
| 28 |
font-weight: 700; |
| 29 |
color: var(--vmi-black); |
| 30 |
} |
| 31 |
|
| 32 |
/* Line clamp utilities (in case they're not in your Tailwind version) */ |
| 33 |
.line-clamp-2 { |
| 34 |
overflow: hidden; |
| 35 |
display: -webkit-box; |
| 36 |
-webkit-box-orient: vertical; |
| 37 |
-webkit-line-clamp: 2; |
| 38 |
} |
| 39 |
|
| 40 |
.line-clamp-3 { |
| 41 |
overflow: hidden; |
| 42 |
display: -webkit-box; |
| 43 |
-webkit-box-orient: vertical; |
| 44 |
-webkit-line-clamp: 3; |
| 45 |
} |
| 46 |
|
| 47 |
/* Custom utility classes for VMI theme */ |
| 48 |
@layer utilities { |
| 49 |
.vmi-red { |
| 50 |
color: var(--vmi-red); |
| 51 |
} |
| 52 |
|
| 53 |
.vmi-gold { |
| 54 |
color: var(--vmi-gold); |
| 55 |
} |
| 56 |
|
| 57 |
.bg-vmi-red { |
| 58 |
background-color: var(--vmi-red); |
| 59 |
} |
| 60 |
|
| 61 |
.bg-vmi-gold { |
| 62 |
background-color: var(--vmi-gold); |
| 63 |
} |
| 64 |
|
| 65 |
.bg-vmi-dark-red { |
| 66 |
background-color: var(--vmi-dark-red); |
| 67 |
} |
| 68 |
|
| 69 |
.border-vmi-red { |
| 70 |
border-color: var(--vmi-red); |
| 71 |
} |
| 72 |
|
| 73 |
.border-vmi-gold { |
| 74 |
border-color: var(--vmi-gold); |
| 75 |
} |
| 76 |
|
| 77 |
.hover\:bg-vmi-light-gold:hover { |
| 78 |
background-color: var(--vmi-light-gold); |
| 79 |
} |
| 80 |
|
| 81 |
.bg-vmi-cream { |
| 82 |
background-color: var(--vmi-cream); |
| 83 |
} |
| 84 |
} |
| 85 |
|
| 86 |
/* Override default link colors */ |
| 87 |
a { |
| 88 |
color: var(--vmi-red); |
| 89 |
text-decoration: none; |
| 90 |
} |
| 91 |
|
| 92 |
a:hover { |
| 93 |
color: var(--vmi-dark-red); |
| 94 |
text-decoration: underline; |
| 95 |
} |