Enlarge the landing logo and put RecipesCam back on one word
.lp-logo is a flex row, so the bare text node "Recipes" and the <em>Cam</em> were two flex items and the 6px gap landed between them: the wordmark read "Recipes Cam". They now live in one span, so the gap only separates the icon from the name. Along with it: mark 22px -> 30px (24px under 680px), wordmark 18px -> 24px (19px on phones), gap 6px -> 8px. Colours untouched — Cam is still the amber accent, and the mark keeps its rounded corners.
This commit is contained in:
@@ -110,9 +110,10 @@ html { scroll-behavior: smooth; scroll-padding-top: 78px; }
|
||||
border-bottom: 1px solid var(--lp-line);
|
||||
}
|
||||
.lp-nav .lp-wrap { display: flex; align-items: center; gap: 18px; height: 62px; }
|
||||
.lp-logo { display: flex; align-items: center; gap: 6px; font-family: var(--lp-display); font-weight: 800; font-size: 18px; }
|
||||
.lp-logo { display: flex; align-items: center; gap: 8px; font-family: var(--lp-display); font-weight: 800; font-size: 24px; }
|
||||
.lp-logo em { font-style: normal; color: var(--lp-ink-amber); }
|
||||
.lp-logo-mark { border-radius: 6px; display: block; }
|
||||
.lp-logo-word { white-space: nowrap; }
|
||||
.lp-logo-mark { border-radius: 8px; display: block; width: 30px; height: 30px; }
|
||||
.lp-nav-links { display: flex; gap: 16px; margin-left: 14px; font-size: 12.5px; color: var(--lp-muted); }
|
||||
.lp-nav-links a:hover { color: var(--lp-text); }
|
||||
.lp-nav .lp-spacer { flex: 1 1 auto; }
|
||||
@@ -420,8 +421,8 @@ html { scroll-behavior: smooth; scroll-padding-top: 78px; }
|
||||
@media (max-width: 680px) {
|
||||
/* logo + theme + language + burger have to fit a 360px phone */
|
||||
.lp-nav .lp-wrap { gap: 10px; }
|
||||
.lp-logo { font-size: 15px; }
|
||||
.lp-logo-mark { width: 18px; height: 18px; }
|
||||
.lp-logo { font-size: 19px; }
|
||||
.lp-logo-mark { width: 24px; height: 24px; }
|
||||
.lp-tool { width: 30px; height: 30px; font-size: 11px; }
|
||||
.lp-burger { padding: 6px; }
|
||||
.lp-sec { padding: 64px 0; }
|
||||
|
||||
Reference in New Issue
Block a user