Files
SweetHome/app/globals.css
Claw AI 48523067fc
All checks were successful
Build frontend / build (push) Successful in 1m2s
Use local Madani Arabic font files instead of CDN
- Added @font-face for all 9 weights (Thin to Black)
- Removed CDN links from layout.js
- Font loads locally from public/fonts/
2026-03-28 16:52:31 +00:00

147 lines
3.1 KiB
CSS

@import "tailwindcss";
/* ─── Madani Arabic Font ─── */
@font-face {
font-family: 'Madani Arabic';
src: url('/fonts/Madani Arabic Thin.ttf') format('truetype');
font-weight: 100;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Madani Arabic';
src: url('/fonts/Madani Arabic Extra Light.ttf') format('truetype');
font-weight: 200;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Madani Arabic';
src: url('/fonts/Madani Arabic Light.ttf') format('truetype');
font-weight: 300;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Madani Arabic';
src: url('/fonts/Madani-Arabic-Regular.ttf') format('truetype');
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Madani Arabic';
src: url('/fonts/Madani Arabic Medium.ttf') format('truetype');
font-weight: 500;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Madani Arabic';
src: url('/fonts/Madani Arabic Semi Bold.ttf') format('truetype');
font-weight: 600;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Madani Arabic';
src: url('/fonts/Madani-Arabic-Bold.ttf') format('truetype');
font-weight: 700;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Madani Arabic';
src: url('/fonts/Madani Arabic Extra Bold.ttf') format('truetype');
font-weight: 800;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Madani Arabic';
src: url('/fonts/Madani Arabic Black.ttf') format('truetype');
font-weight: 900;
font-style: normal;
font-display: swap;
}
:root {
--background: #ede6e6;
--foreground: #156874;
}
@theme inline {
--color-background: var(--background);
--color-foreground: var(--foreground);
--font-sans: var(--font-geist-sans);
--font-mono: var(--font-geist-mono);
}
@media (prefers-color-scheme: dark) {
:root {
--background: #ede6e6;
--foreground: #156874;
}
}
body {
background: var(--background);
color: var(--foreground);
font-family: 'Madani Arabic', 'Noto Sans Arabic', 'Cairo', Arial, sans-serif;
}
.leaflet-container {
font-family: inherit;
width: 100%;
height: 100%;
}
.leaflet-popup-content-wrapper {
border-radius: 1rem;
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}
.leaflet-popup-content {
margin: 0;
min-width: 200px;
}
.leaflet-popup-tip {
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}
.custom-marker {
background: transparent;
border: none;
}
.custom-marker div {
transition: transform 0.2s ease;
}
.custom-marker:hover div {
transform: scale(1.1);
}
.property-tooltip {
background: white !important;
color: #1f2937 !important;
font-weight: 500 !important;
font-size: 0.875rem !important;
padding: 0.5rem 1rem !important;
border-radius: 0.75rem !important;
border: 1px solid #e5e7eb !important;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
}
.property-tooltip::before {
border-top-color: white !important;
}