Style fixes
This commit is contained in:
@@ -69,3 +69,57 @@ body { background:#07131f; }
|
||||
main [id] { scroll-margin-top: 5rem; }
|
||||
@media (width >= 64rem) { main [id] { scroll-margin-top: 6rem; } }
|
||||
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
|
||||
|
||||
|
||||
/* ABSDEV hero — explicit responsive layout */
|
||||
.hero-layout {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
align-items: center;
|
||||
gap: 2.5rem;
|
||||
}
|
||||
|
||||
.hero-heading {
|
||||
margin-top: 2rem;
|
||||
max-width: 790px;
|
||||
font-size: clamp(2.4rem, 6.6vw, 6.2rem);
|
||||
font-weight: 600;
|
||||
line-height: 1.04;
|
||||
letter-spacing: -0.065em;
|
||||
text-wrap: balance;
|
||||
}
|
||||
|
||||
.hero-features {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
column-gap: 2rem;
|
||||
row-gap: 0.75rem;
|
||||
margin-top: 3rem;
|
||||
padding-top: 1.25rem;
|
||||
border-top: 1px solid rgb(255 255 255 / 10%);
|
||||
font-size: 0.875rem;
|
||||
color: #94a3b8;
|
||||
}
|
||||
|
||||
.hero-features b {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
@media (min-width: 1024px) {
|
||||
.hero-layout {
|
||||
grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
|
||||
gap: 3rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 639px) {
|
||||
.hero-heading {
|
||||
margin-top: 1.25rem;
|
||||
}
|
||||
|
||||
.hero-features {
|
||||
margin-top: 2rem;
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,71 @@
|
||||
@import 'tailwindcss';
|
||||
@source '../../vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php';
|
||||
@source '../views/**/*.blade.php';
|
||||
@theme { --color-ink: #07131f; --color-acid: #c7f36b; --font-sans: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif; }
|
||||
@layer base { html { scroll-behavior: smooth; } body { font-family: var(--font-sans); } ::selection { background:#c7f36b; color:#07131f; } }
|
||||
@layer components {
|
||||
.container-wide { @apply mx-auto w-full max-w-[1320px] px-4 sm:px-6 md:px-10 xl:px-14; }
|
||||
.section-padding { @apply py-16 sm:py-20 lg:py-28; }
|
||||
.heading-2 { @apply max-w-[650px] text-[clamp(2rem,4.8vw,4.6rem)] font-semibold tracking-[-.055em] leading-[1.12]; }
|
||||
.section-heading { @apply flex flex-col justify-between gap-5 lg:flex-row lg:items-end; }
|
||||
.eyebrow { @apply inline-flex items-center gap-3 text-[11px] font-bold uppercase tracking-[.25em] text-acid; }
|
||||
.status-dot { @apply size-2 rounded-full bg-acid shadow-[0_0_16px_#c7f36b]; }
|
||||
.button-acid { @apply inline-flex items-center justify-center gap-4 rounded-full bg-acid px-6 sm:gap-7 py-4 text-[13px] font-bold text-ink transition hover:bg-white; }
|
||||
.button-outline { @apply items-center gap-5 rounded-full border border-white/25 px-6 py-3.5 text-xs font-bold transition hover:border-acid hover:text-acid; }
|
||||
.brand-mark { @apply flex size-10 items-center justify-center rounded-xl bg-white/10 text-xl font-extrabold; }
|
||||
.nav-link { @apply transition hover:text-acid; }
|
||||
.mini-panel { @apply flex flex-col gap-3 rounded-xl bg-white/5 px-1.5 py-3 text-center text-[10px] sm:px-3 sm:text-left text-slate-300; }
|
||||
.service-card { @apply rounded-2xl border border-white/10 bg-white/[.025] p-5 sm:p-7 lg:min-h-72 transition duration-300 hover:-translate-y-1 hover:border-acid/40 hover:bg-white/[.055]; }
|
||||
.work-card { @apply overflow-hidden rounded-[24px] border border-white/10 bg-[#0a1622]; }
|
||||
.work-visual { @apply flex h-60 items-center justify-center overflow-hidden p-5 sm:h-72 sm:p-8; }
|
||||
.field-label { @apply mb-2 block text-xs font-semibold text-slate-300; }
|
||||
.field-input { @apply block w-full rounded-xl border border-white/15 bg-[#0b1926] px-4 py-3.5 text-base text-white outline-none transition focus:border-acid; }
|
||||
.field-error { @apply mt-2 text-xs text-red-300; }
|
||||
.admin-input { @apply block w-full rounded-xl border border-slate-200 bg-white px-4 py-3 text-sm text-slate-900 outline-none focus:border-teal-500; }
|
||||
.admin-label { @apply mb-2 block text-xs font-semibold uppercase tracking-wider text-slate-500; }
|
||||
.admin-card { @apply rounded-2xl border border-slate-200 bg-white p-6 shadow-sm; }
|
||||
.admin-nav { @apply rounded-xl px-4 py-3 text-sm font-medium text-slate-300 transition hover:bg-white/10 hover:text-white; }
|
||||
.admin-button { @apply rounded-xl bg-[#102b38] px-5 py-3 text-sm font-semibold text-white transition hover:bg-[#1c5661]; }
|
||||
}
|
||||
.hero-grid { background-image:linear-gradient(to right,rgba(148,163,184,.055) 1px,transparent 1px),linear-gradient(to bottom,rgba(148,163,184,.055) 1px,transparent 1px);background-size:60px 60px; mask-image:linear-gradient(to bottom,black,transparent 95%); }
|
||||
.hero-glow { background:radial-gradient(ellipse at 78% 48%,rgba(16,95,111,.23),transparent 48%),#07131f; }
|
||||
|
||||
/* Second-generation visual system: layered backgrounds, gradient accents and light. */
|
||||
body { background:#07131f; }
|
||||
.hero-glow { background: radial-gradient(ellipse 50% 55% at 78% 42%,rgba(29,177,174,.27),transparent 75%), radial-gradient(ellipse 50% 55% at 18% 15%,rgba(77,123,177,.12),transparent 75%),linear-gradient(145deg,#081724,#07131f 72%); }
|
||||
.section-services { background:radial-gradient(ellipse at 85% 12%,rgba(20,126,136,.17),transparent 48%),linear-gradient(180deg,#0a1b2a 0%,#091622 100%); }
|
||||
.section-process { background:radial-gradient(ellipse at 12% 88%,rgba(152,210,79,.08),transparent 45%),#07131f; }
|
||||
.section-about { background:linear-gradient(115deg,#10293a,#0c1b2c 62%,#0e2532); }
|
||||
.section-contact { background:radial-gradient(ellipse at 83% 31%,rgba(30,108,119,.22),transparent 50%),#07131f; }
|
||||
.service-card { background:linear-gradient(145deg,rgba(26,72,85,.5),rgba(11,28,42,.85)); box-shadow:inset 0 1px rgba(255,255,255,.06),0 18px 55px rgba(0,0,0,.12); }
|
||||
.service-card:hover { box-shadow:inset 0 1px rgba(199,243,107,.20),0 22px 60px rgba(0,0,0,.25); }
|
||||
.page-hero { background:radial-gradient(ellipse 48% 48% at 75% 40%,rgba(18,123,132,.27),transparent 83%),linear-gradient(125deg,#081827,#07131f); }
|
||||
.page-title { font-size:clamp(2.45rem,7vw,6.3rem);font-weight:650;line-height:1.05;letter-spacing:-.068em;max-width:850px; }
|
||||
.page-art { perspective:900px; }
|
||||
.page-art-center { transform:rotate(-3deg);box-shadow:0 34px 90px rgba(0,0,0,.46),0 0 90px rgba(40,184,195,.09); }
|
||||
.page-art-orbit { filter:drop-shadow(0 0 20px rgba(199,243,107,.2)); }
|
||||
.feature-band { background:radial-gradient(ellipse at 20% 48%,rgba(26,139,153,.24),transparent 60%),linear-gradient(130deg,#0a2634,#081521); }
|
||||
.feature-glass { background:linear-gradient(145deg,rgba(255,255,255,.095),rgba(255,255,255,.018));box-shadow:0 30px 80px rgba(0,0,0,.18); }
|
||||
@media (max-width: 639px) { .page-art-center { transform: none; } }
|
||||
|
||||
/* ABSDEV visual refresh: navigation and brand system. */
|
||||
.site-header { box-shadow: 0 10px 40px rgba(0,0,0,.16); }
|
||||
.brand-emblem { display:inline-flex; align-items:center; justify-content:center; width:43px; height:43px; border-radius:13px; background:linear-gradient(135deg,#1a5060,#0d2637); border:1px solid rgba(199,243,107,.28); color:#fff; font-size:24px; font-weight:800; letter-spacing:-.08em; box-shadow:inset 0 1px rgba(255,255,255,.12),0 10px 22px rgba(0,0,0,.2); }
|
||||
.site-nav-link { color:#cbd5e1; font-size:13px; font-weight:650; transition:color .2s ease; }
|
||||
.site-nav-link:hover,.site-nav-link:focus-visible {color:#c7f36b;}
|
||||
.site-header-cta { align-items:center; justify-content:center; gap:20px; min-height:43px; padding:0 23px; background:#c7f36b; border-radius:999px; color:#07131f; font-size:13px; font-weight:800; transition:background .2s,transform .2s; }
|
||||
.site-header-cta:hover { background:#e2ffab; transform:translateY(-1px); }
|
||||
.site-menu-button { @apply flex min-h-11 cursor-pointer list-none items-center gap-2 rounded-xl border border-white/20 px-3 text-sm font-semibold text-white; }
|
||||
.site-menu-button::-webkit-details-marker { display: none; }
|
||||
.site-menu-panel { @apply absolute inset-x-0 top-full max-h-[calc(100dvh-4rem)] overflow-y-auto border-b border-white/15 bg-[#0b202d] shadow-xl; }
|
||||
.site-menu-panel a { @apply flex min-h-11 items-center rounded-lg px-3 hover:bg-white/10; }
|
||||
.site-header :focus-visible { outline: 2px solid #c7f36b; outline-offset: 2px; }
|
||||
|
||||
.hero-glow:before { content:""; pointer-events:none; position:absolute; width:400px; height:400px; right:-120px; top:10%; border-radius:50%; background:rgba(199,243,107,.055); filter:blur(60px); }
|
||||
.section-services .service-card {border-radius:24px;}
|
||||
.section-services .service-card:hover {transform:translateY(-6px);}
|
||||
#about {position:relative; overflow:hidden;}
|
||||
#about:before {content:""; pointer-events:none; position:absolute; width:420px; height:420px; left:-230px; top:0; border-radius:50%; background:rgba(25,184,196,.09); filter:blur(80px);}
|
||||
main [id] { scroll-margin-top: 5rem; }
|
||||
@media (width >= 64rem) { main [id] { scroll-margin-top: 6rem; } }
|
||||
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
|
||||
Reference in New Issue
Block a user