Spaces:
Running
Running
File size: 3,509 Bytes
efc7d19 | 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 | /* ============================================================
GLASSGRID — BASE STYLES
Resets, typography foundation, global defaults.
No component-specific styles. No colors (use tokens).
============================================================ */
*, *::before, *::after {
box-sizing: border-box;
margin: 0;
padding: 0;
-webkit-tap-highlight-color: transparent;
}
html {
font-size: 16px;
scroll-behavior: smooth;
-webkit-text-size-adjust: 100%;
height: 100%;
}
body {
font: var(--text-body);
font-family: var(--font-family-base);
background-color: var(--color-bg-base);
color: var(--color-text-primary);
min-height: 100vh;
overscroll-behavior-y: none;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* Background ambient glow effect */
body::before {
content: '';
position: fixed;
top: -30%;
left: -20%;
width: 60%;
height: 60%;
background: radial-gradient(circle, var(--color-accent-primary) 0%, transparent 70%);
opacity: 0.06;
pointer-events: none;
z-index: var(--z-base);
filter: blur(var(--blur-2xl));
}
body::after {
content: '';
position: fixed;
bottom: -20%;
right: -20%;
width: 50%;
height: 50%;
background: radial-gradient(circle, var(--color-accent-secondary) 0%, transparent 70%);
opacity: 0.05;
pointer-events: none;
z-index: var(--z-base);
filter: blur(var(--blur-2xl));
}
img, video {
max-width: 100%;
height: auto;
display: block;
}
button, input, textarea, select {
font: inherit;
color: inherit;
border: none;
background: none;
outline: none;
appearance: none;
}
button {
cursor: pointer;
user-select: none;
}
a {
color: inherit;
text-decoration: none;
}
ul, ol {
list-style: none;
}
/* Scrollbar */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
background: var(--color-glass-border-md);
border-radius: var(--radius-full);
}
/* Focus visible */
:focus-visible {
outline: 2px solid var(--color-interactive-focus);
outline-offset: 2px;
border-radius: var(--radius-sm);
}
/* Selection */
::selection {
background: rgba(168, 85, 247, 0.3);
color: var(--color-text-primary);
}
/* Typography utilities */
.text-display { font: var(--text-display); letter-spacing: var(--letter-spacing-tight); }
.text-heading { font: var(--text-heading); letter-spacing: var(--letter-spacing-tight); }
.text-subheading { font: var(--text-subheading); }
.text-body { font: var(--text-body); }
.text-caption { font: var(--text-caption); }
.text-micro { font: var(--text-micro); }
.text-primary { color: var(--color-text-primary); }
.text-secondary { color: var(--color-text-secondary); }
.text-tertiary { color: var(--color-text-tertiary); }
.text-muted { color: var(--color-text-muted); }
.text-accent { color: var(--color-text-accent); }
.text-gradient {
background: var(--color-accent-gradient);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
}
/* Spacing utilities */
.mt-auto { margin-top: auto; }
.mb-auto { margin-bottom: auto; }
.ml-auto { margin-left: auto; }
.mr-auto { margin-right: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }
/* Display utilities */
.hidden { display: none !important; }
.sr-only {
position: absolute;
width: 1px; height: 1px;
overflow: hidden;
clip: rect(0,0,0,0);
white-space: nowrap;
}
|