From b5e09ea52ea1caf21bc8a300e2c142b443f790ef Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Thu, 29 Jan 2026 00:18:44 +0100 Subject: [PATCH] css fix --- app/globals.css | 13 +++++++------ app/page.tsx | 12 ++++++------ components/Layout.tsx | 4 ++-- next-env.d.ts | 2 +- postcss.config.mjs | 7 +++++++ 5 files changed, 23 insertions(+), 15 deletions(-) create mode 100644 postcss.config.mjs diff --git a/app/globals.css b/app/globals.css index d2df0ff..5973f45 100644 --- a/app/globals.css +++ b/app/globals.css @@ -7,6 +7,8 @@ --color-secondary-bg: #E6E9ED; --color-text-primary: #1F2933; --color-text-secondary: #6B7280; + + --font-family-sans: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; } :root { @@ -35,6 +37,10 @@ } @layer base { + *, ::after, ::before { + box-sizing: border-box; + } + html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; @@ -48,6 +54,7 @@ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; + margin: 0; } h1, h2, h3, h4, h5, h6 { @@ -91,12 +98,6 @@ transition: all var(--transition-fast); } - .container { - max-width: 1200px; - margin: 0 auto; - padding: 0 var(--spacing-lg); - } - section { padding: clamp(3rem, 8vw, 6rem) 0; } diff --git a/app/page.tsx b/app/page.tsx index 6528390..8e06e98 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -14,7 +14,7 @@ export default function Home() { backgroundPosition: 'center', }} > -
+
Engineering Excellence

@@ -39,7 +39,7 @@ export default function Home() {
-
+
Portfolio

Unsere Leistungen

@@ -68,7 +68,7 @@ export default function Home() {
-
+
-
+
Expertise

Technische Spezifikationen

@@ -143,7 +143,7 @@ export default function Home() {
-
+
Werte

Unsere Leitprinzipien

@@ -171,7 +171,7 @@ export default function Home() {
-
+

Bereit für Ihr nächstes Projekt?

diff --git a/components/Layout.tsx b/components/Layout.tsx index 814a315..6a54a21 100644 --- a/components/Layout.tsx +++ b/components/Layout.tsx @@ -35,7 +35,7 @@ const Layout = ({ children }: { children: React.ReactNode }) => { return (
-
+
{