60 lines
1.6 KiB
CSS
60 lines
1.6 KiB
CSS
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
|
|
|
|
body {
|
|
font-family: 'Fredoka', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
|
|
background: #0f172a;
|
|
color: #1a2a1a;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.app {
|
|
position: relative;
|
|
width: 100vw;
|
|
height: 100dvh; /* dvh = dynamic, s'adapte à la barre d'adresse mobile */
|
|
}
|
|
|
|
/* ── Boutons flottants (signalement + info) ── */
|
|
.app__actions {
|
|
position: absolute;
|
|
bottom: max(14px, calc(14px + env(safe-area-inset-bottom)));
|
|
left: max(16px, calc(16px + env(safe-area-inset-left)));
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
z-index: 15;
|
|
}
|
|
|
|
.app__action-btn {
|
|
width: 36px;
|
|
height: 36px;
|
|
border: 2.5px solid #333;
|
|
border-radius: 50%;
|
|
font-size: 16px;
|
|
font-family: 'Fredoka', sans-serif;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
box-shadow: 3px 3px 0px #333;
|
|
transition: transform .1s, box-shadow .1s;
|
|
}
|
|
.app__action-btn:hover {
|
|
transform: translate(-2px, -2px);
|
|
box-shadow: 5px 5px 0px #333;
|
|
}
|
|
.app__action-btn--info { background: #fffbf0; color: #1a1a2e; }
|
|
.app__action-btn--report { background: #2563eb; color: #fff; }
|
|
|
|
/* Vagues SVG en overlay sur la mer — très subtil, pointer-events none */
|
|
.app__wave-overlay {
|
|
position: absolute;
|
|
inset: 0;
|
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='40'%3E%3Cpath d='M0 20 Q20 8 40 20 Q60 32 80 20' fill='none' stroke='white' stroke-width='1.5'/%3E%3C/svg%3E");
|
|
background-size: 80px 40px;
|
|
background-repeat: repeat;
|
|
opacity: 0.06;
|
|
pointer-events: none;
|
|
z-index: 6;
|
|
}
|