feat(site): per-gym SEO texts, event gym selector, hero/navbar polish
- Generated SEO titles/descriptions per gym; gym seo fields override each on its own - Keywords, author, og:site_name, favicon and JSON-LD logo follow the gym - CrossFit page 404s before output for gyms without a box - Events: «Mostrar em» gym selector; event page uses its gym's brand - Hero event button text colour from the event colour (--ev-on) - Navbar bottom line stops at the other-gym head (--switch-w) - Diagonal hero blur mask; remove the trial link
This commit is contained in:
1 parent
785d1f6ceb
commit
725f5b9c26
12 files changed
+93
-58
No files matched your search
+11
-22
@@ -600,7 +600,7 @@ section[id] {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
right: var(--switch-w, 0px); /* ends where the other-gym head starts (navbar.php JS) */
|
||||
bottom: -1px;
|
||||
height: 2px;
|
||||
pointer-events: none;
|
||||
@@ -894,7 +894,15 @@ section[id] {
|
||||
-webkit-mask-image: linear-gradient(to bottom, transparent 18%, rgba(0, 0, 0, .55) 36%, #000 50%, rgba(0, 0, 0, .55) 64%, transparent 82%);
|
||||
mask-image: linear-gradient(to bottom, transparent 18%, rgba(0, 0, 0, .55) 36%, #000 50%, rgba(0, 0, 0, .55) 64%, transparent 82%);
|
||||
}
|
||||
/* The blur fades in diagonally: lightest at the top left, full at the bottom
|
||||
right (second mask layer, intersected with the band above). */
|
||||
.hero-section .container::before {
|
||||
-webkit-mask-image: linear-gradient(to bottom, transparent 18%, rgba(0, 0, 0, .55) 36%, #000 50%, rgba(0, 0, 0, .55) 64%, transparent 82%),
|
||||
linear-gradient(135deg, rgba(0, 0, 0, .15) 15%, #000 75%);
|
||||
mask-image: linear-gradient(to bottom, transparent 18%, rgba(0, 0, 0, .55) 36%, #000 50%, rgba(0, 0, 0, .55) 64%, transparent 82%),
|
||||
linear-gradient(135deg, rgba(0, 0, 0, .15) 15%, #000 75%);
|
||||
-webkit-mask-composite: source-in;
|
||||
mask-composite: intersect;
|
||||
-webkit-backdrop-filter: blur(22px) saturate(1.1);
|
||||
backdrop-filter: blur(22px) saturate(1.1);
|
||||
opacity: .8;
|
||||
@@ -962,31 +970,12 @@ section[id] {
|
||||
|
||||
.hero-cta-row {
|
||||
display: flex;
|
||||
flex-direction: column; /* the button, then the trial link as plain text under it */
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 14px;
|
||||
margin-top: 2.5rem;
|
||||
}
|
||||
|
||||
/* "Marca uma aula experimental": text only, under the main button. */
|
||||
.hero-text-link {
|
||||
background: none;
|
||||
border: 0;
|
||||
padding: 4px 8px;
|
||||
color: #fff;
|
||||
font: inherit;
|
||||
font-weight: 300;
|
||||
letter-spacing: .02em;
|
||||
text-shadow: 0 1px 6px rgba(0, 0, 0, .6);
|
||||
cursor: pointer;
|
||||
transition: color .3s ease;
|
||||
}
|
||||
.hero-text-link:hover,
|
||||
.hero-text-link:focus-visible {
|
||||
color: var(--fitme-accent);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.hero-cta-row .site-btn {
|
||||
margin-top: 0;
|
||||
}
|
||||
@@ -3541,7 +3530,7 @@ h3.contact-title {
|
||||
font-size: .92rem;
|
||||
font-weight: 700;
|
||||
white-space: nowrap;
|
||||
color: var(--fitme-on-accent); /* white on the red gym, dark on lime */
|
||||
color: var(--ev-on, var(--fitme-on-accent)); /* set from the event colour (index.php) */
|
||||
background: var(--ev-accent);
|
||||
}
|
||||
.hero-event-go i { transition: transform var(--fitme-transition); }
|
||||
|
||||
Reference in new issue
Block a user