monumkp89's picture
Deploy PixelCraft web app
b63786a verified
Raw History Blame Contribute Delete
2.87 kB
/* App Global Styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
--brand: #ff7a59;
--brand-strong: #ea5b2a;
--brand-soft: #fff2ec;
--accent: #0ea5e9;
--accent-soft: #e0f2fe;
--ink: #122033;
--ink-soft: #425466;
--surface: rgba(255, 255, 255, 0.8);
--surface-strong: rgba(255, 255, 255, 0.95);
--surface-muted: rgba(255, 247, 240, 0.7);
--border: rgba(18, 32, 51, 0.12);
--shadow-lg: 0 28px 60px rgba(15, 23, 42, 0.14);
--shadow-md: 0 16px 40px rgba(15, 23, 42, 0.1);
--success: #16a34a;
--error: #dc2626;
--warning: #ea580c;
}
html,
body,
#root {
width: 100%;
min-height: 100%;
}
body {
font-family: "Aptos", "Segoe UI Variable", "Trebuchet MS", "Segoe UI", sans-serif;
color: var(--ink);
background:
radial-gradient(circle at top left, rgba(255, 122, 89, 0.16), transparent 28%),
radial-gradient(circle at top right, rgba(14, 165, 233, 0.14), transparent 24%),
linear-gradient(180deg, #fffaf5 0%, #f8fbff 48%, #eef4fb 100%);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* Scrollbar Styling */
::-webkit-scrollbar {
width: 10px;
height: 10px;
}
::-webkit-scrollbar-track {
background: rgba(255, 255, 255, 0.65);
}
::-webkit-scrollbar-thumb {
background: rgba(66, 84, 102, 0.28);
border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
background: rgba(66, 84, 102, 0.42);
}
/* Selection */
::selection {
background: rgba(255, 122, 89, 0.24);
color: var(--ink);
}
/* Links */
a {
color: var(--brand-strong);
text-decoration: none;
transition: color 0.2s ease;
}
a:hover {
color: #c9461c;
}
/* Buttons */
button {
font-family: inherit;
line-height: 1.15;
-webkit-tap-highlight-color: transparent;
}
/* Input */
input,
textarea,
select {
font-family: inherit;
}
button,
a,
input,
textarea,
select {
touch-action: manipulation;
}
/* Animations */
@keyframes slideIn {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
/* Utility Classes */
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 1rem;
}
.text-center {
text-align: center;
}
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }
/* Responsive Images */
img {
max-width: 100%;
height: auto;
}
/* Focus States */
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
a:focus-visible {
outline: 2px solid var(--brand);
outline-offset: 3px;
}