Spaces:
Configuration error
Configuration error
File size: 4,571 Bytes
9caa3cb |
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 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 |
/* app.css */
/* Basic Reset */
*,
*::before,
*::after {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
font-family: var(--font-sans, 'Inter', sans-serif);
background-color: var(--theme-dark); /* Fallback if gradient doesn't load */
color: var(--theme-text);
line-height: 1.6;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* Headings styling with Orbitron */
h1, h2, h3, h4, h5, h6 {
font-family: 'Orbitron', sans-serif;
color: var(--theme-accent);
margin-bottom: 0.75rem;
line-height: 1.3;
}
h1 { font-size: 2.25rem; } /* Corresponds to Tailwind text-4xl */
h2 { font-size: 1.875rem; } /* Corresponds to Tailwind text-3xl */
h3 { font-size: 1.5rem; } /* Corresponds to Tailwind text-2xl */
h4 { font-size: 1.25rem; } /* Corresponds to Tailwind text-xl */
p {
margin-bottom: 1rem;
color: var(--theme-text);
}
a {
color: var(--theme-accent);
text-decoration: none;
transition: color 0.2s ease-in-out;
}
a:hover {
color: var(--theme-hover);
text-decoration: underline;
}
/* Basic button styling (can be overridden by Tailwind or specific component styles) */
button,
input[type="button"],
input[type="submit"],
input[type="reset"] {
font-family: 'Orbitron', sans-serif;
cursor: pointer;
padding: 0.65rem 1.25rem; /* Slightly more padding */
border-radius: 0.375rem; /* rounded-md */
border: 1px solid transparent;
font-weight: 600; /* semi-bold */
text-transform: uppercase;
letter-spacing: 0.05em;
transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out, transform 0.1s ease, box-shadow 0.2s ease;
}
/* Default button theme (if no Tailwind bg-* class is applied) */
button:not([class*="bg-"]),
input[type="button"]:not([class*="bg-"]),
input[type="submit"]:not([class*="bg-"]),
input[type="reset"]:not([class*="bg-"]) {
background-color: var(--theme-primary);
color: var(--theme-text);
border-color: var(--theme-border);
}
button:not([class*="bg-"]):hover,
input[type="button"]:not([class*="bg-"]):hover,
input[type="submit"]:not([class*="bg-"]):hover,
input[type="reset"]:not([class*="bg-"]):hover {
background-color: var(--theme-secondary);
border-color: var(--theme-accent);
box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
button:active,
input[type="button"]:active,
input[type="submit"]:active,
input[type="reset"]:active {
transform: scale(0.98);
box-shadow: inset 0 1px 3px rgba(0,0,0,0.3);
}
/* Input field styling */
input[type="text"],
input[type="number"],
input[type="email"],
input[type="password"],
textarea,
select {
background-color: var(--theme-dark);
color: var(--theme-text);
border: 1px solid var(--theme-border);
padding: 0.65rem 0.85rem;
border-radius: 0.375rem; /* rounded-md */
transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
font-family: var(--font-sans, 'Inter', sans-serif);
font-size: 0.9rem;
width: 100%; /* Make inputs take full width by default within their container */
}
input[type="text"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
outline: none;
border-color: var(--theme-accent);
box-shadow: 0 0 0 3px rgba(var(--theme-accent-rgb, 0, 169, 224), 0.3); /* Uses --theme-accent-rgb from index.html */
}
/* Placeholder styling */
::placeholder {
color: var(--theme-secondary);
opacity: 0.7;
}
/* Custom Scrollbar (more global) */
::-webkit-scrollbar {
width: 12px; /* Slightly wider scrollbar */
height: 12px;
}
::-webkit-scrollbar-track {
background: rgba(0,0,0,0.1); /* More subtle track */
border-radius: 10px;
}
::-webkit-scrollbar-thumb {
background-color: var(--theme-primary);
border-radius: 10px;
border: 3px solid transparent; /* Creates padding around thumb */
background-clip: content-box; /* Important for border to act as padding */
}
::-webkit-scrollbar-thumb:hover {
background-color: var(--theme-secondary);
}
/* Container utility */
.container {
width: 90%;
max-width: 1200px; /* Standard max-width */
margin-left: auto;
margin-right: auto;
padding-left: 1rem;
padding-right: 1rem;
}
/* Add any other global styles or utility classes here */
/* Example: A class for a subtle card-like element */
.card-base {
background-color: var(--theme-dark);
border: 1px solid var(--theme-border);
border-radius: 0.5rem; /* rounded-lg */
padding: 1rem;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
|