Spaces:
Running
Running
File size: 3,620 Bytes
ad08f08 |
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 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 |
@import 'tailwindcss';
@theme {
--bio-green: #16a34a;
--bio-blue: #2563eb;
--bio-purple: #9333ea;
--bio-orange: #ea580c;
--bio-yellow: #ca8a04;
--bio-pink: #db2777;
--bio-teal: #0d9488;
--bio-cyan: #0891b2;
--bio-lime: #65a30d;
}
@tailwind base;
@tailwind components;
@tailwind utilities;
:root {
font-family: 'Inter', system-ui, Avenir, Helvetica, Arial, sans-serif;
line-height: 1.5;
font-weight: 400;
color-scheme: light dark;
color: #334155;
background-color: #f8fafc;
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-text-size-adjust: 100%;
}
body {
margin: 0;
min-width: 320px;
min-height: 100vh;
transition: background-color 0.3s, color 0.3s;
/* Enhanced font rendering */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
/* Vibrant background gradient */
background: linear-gradient(135deg, #f0f9ff 0%, #fdf2f8 50%, #f0fdf4 100%);
}
.dark body {
background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #052e16 100%);
}
h1, h2, h3, h4, h5, h6 {
/* Improved font rendering for headings */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
font-weight: 800;
/* Gradient text for headings */
background: linear-gradient(90deg, var(--bio-green), var(--bio-blue), var(--bio-purple));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.dark h1, .dark h2, .dark h3, .dark h4, .dark h5, .dark h6 {
background: linear-gradient(90deg, #4ade80, #60a5fa, #c084fc);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
button, a {
/* Improved font rendering for interactive elements */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
}
button {
border-radius: 8px;
border: 1px solid transparent;
padding: 0.6em 1.2em;
font-size: 1em;
font-weight: 500;
font-family: inherit;
background-color: #1a1a1a;
cursor: pointer;
transition: border-color 0.25s;
}
button:hover {
border-color: #646cff;
}
button:focus,
button:focus-visible {
outline: 4px auto -webkit-focus-ring-color;
}
/* Dark mode styles */
.dark {
color: #f1f5f9;
background-color: #0f172a;
}
/* Improved font rendering for all elements */
* {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
}
/* Gradient text utility class */
.text-gradient {
background: linear-gradient(90deg, var(--bio-green), var(--bio-blue), var(--bio-purple));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.dark .text-gradient {
background: linear-gradient(90deg, #4ade80, #60a5fa, #c084fc);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
/* Gradient backgrounds */
.bg-gradient-bio {
background: linear-gradient(135deg, var(--bio-green), var(--bio-blue), var(--bio-purple));
}
.bg-gradient-bio-alt {
background: linear-gradient(135deg, var(--bio-pink), var(--bio-orange), var(--bio-yellow));
}
.bg-gradient-bio-light {
background: linear-gradient(135deg, var(--bio-cyan), var(--bio-teal), var(--bio-lime));
}
@media (prefers-color-scheme: light) {
:root {
color: #213547;
background-color: #ffffff;
}
a:hover {
color: #747bff;
}
button {
background-color: #f9f9f9;
}
} |