File size: 3,646 Bytes
f462b1c | 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 | /**
* Local Fonts - Self-hosted for offline capability
* Replaces Google Fonts CDN with system fonts fallback
*/
/* Inter - Primary UI Font */
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 300 800;
font-display: swap;
src: local('Inter'), local('Inter-Regular');
}
/* Source Code Pro - Monospace for code */
@font-face {
font-family: 'Source Code Pro';
font-style: normal;
font-weight: 400 700;
font-display: swap;
src: local('Source Code Pro'), local('SourceCodePro-Regular');
}
/* Roboto Mono - Alternative Monospace */
@font-face {
font-family: 'Roboto Mono';
font-style: normal;
font-weight: 400 700;
font-display: swap;
src: local('Roboto Mono'), local('RobotoMono-Regular');
}
/* Fira Code - Code Font with Ligatures */
@font-face {
font-family: 'Fira Code';
font-style: normal;
font-weight: 400 700;
font-display: swap;
src: local('Fira Code'), local('FiraCode-Regular');
}
/* Poppins - Rounded Sans-serif */
@font-face {
font-family: 'Poppins';
font-style: normal;
font-weight: 400 700;
font-display: swap;
src: local('Poppins'), local('Poppins-Regular');
}
/* Playfair Display - Elegant Serif */
@font-face {
font-family: 'Playfair Display';
font-style: normal;
font-weight: 400 700;
font-display: swap;
src: local('Playfair Display'), local('PlayfairDisplay-Regular');
}
/* Montserrat - Display Font */
@font-face {
font-family: 'Montserrat';
font-style: normal;
font-weight: 400 800;
font-display: swap;
src: local('Montserrat'), local('Montserrat-Regular');
}
/* Space Grotesk - Futuristic Font */
@font-face {
font-family: 'Space Grotesk';
font-style: normal;
font-weight: 400 700;
font-display: swap;
src: local('Space Grotesk'), local('SpaceGrotesk-Regular');
}
/* Ubuntu - Technical Font */
@font-face {
font-family: 'Ubuntu';
font-style: normal;
font-weight: 400 700;
font-display: swap;
src: local('Ubuntu'), local('Ubuntu-Regular');
}
/* Lato - Professional Font */
@font-face {
font-family: 'Lato';
font-style: normal;
font-weight: 400 700;
font-display: swap;
src: local('Lato'), local('Lato-Regular');
}
/* JetBrains Mono - Developer Font */
@font-face {
font-family: 'JetBrains Mono';
font-style: normal;
font-weight: 400 700;
font-display: swap;
src: local('JetBrains Mono'), local('JetBrainsMono-Regular');
}
/* Orbitron - Display/Header Font */
@font-face {
font-family: 'Orbitron';
font-style: normal;
font-weight: 400 900;
font-display: swap;
src: local('Orbitron'), local('Orbitron-Regular');
}
/* Fallback to system fonts if custom fonts not available */
:root {
--font-inter: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
--font-code: 'Source Code Pro', 'Fira Code', 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, monospace;
--font-display: 'Orbitron', 'Montserrat', 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
--font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
--font-rounded: 'Poppins', 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
--font-space: 'Space Grotesk', 'Orbitron', monospace;
--font-tech: 'Ubuntu', 'Roboto', sans-serif;
--font-corporate: 'Lato', 'Open Sans', sans-serif;
}
/* Apply fonts globally */
body {
font-family: var(--font-inter);
}
code, pre, .font-mono {
font-family: var(--font-code);
}
h1, h2, h3, .font-display {
font-family: var(--font-display);
}
|