210 lines
3.7 KiB
CSS
210 lines
3.7 KiB
CSS
/* Font Import */
|
|
|
|
@import url('https://fonts.googleapis.com/css2?family=Bagel+Fat+One&display=swap');
|
|
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;600&display=swap');
|
|
|
|
|
|
/* Reset / Normalize */
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* Colors + Main Font */
|
|
:root {
|
|
--tomato: #D44B24;
|
|
--tomato-dark: #D44B24;
|
|
--olive: #6B6B05;
|
|
--olive-dark: #5C5C05;
|
|
--olive-light: #E5E1B7;
|
|
--butter: #FFFBD1;
|
|
--butter-light: #FFFDE3;
|
|
--white: #ffffff;
|
|
--black: #221C1A;
|
|
--brown: #66340d;
|
|
|
|
--font-main: 'Jost', sans-serif;
|
|
--font-size-base: 16px;
|
|
|
|
/* Spacing Scale */
|
|
--space-1: 8px;
|
|
--space-2: 12px;
|
|
--space-3: 16px;
|
|
--space-4: 20px;
|
|
--space-5: 24px;
|
|
--space-6: 32px;
|
|
|
|
/* Radius Scale */
|
|
--radius-pill: 999px;
|
|
--radius-md: 20px;
|
|
--radius-lg: 30px;
|
|
|
|
/* Letter Spacing Scale */
|
|
--ls-none: 0;
|
|
--ls-ui: 0.03em;
|
|
--ls-label: 0.045em;
|
|
}
|
|
|
|
/* Base Styles */
|
|
body {
|
|
font-family: var(--font-main);
|
|
font-size: 1.125em;
|
|
line-height: 1.5;
|
|
color: var(--black);
|
|
background-color: var(--butter);
|
|
}
|
|
|
|
img {
|
|
max-width: 100%;
|
|
display: block;
|
|
}
|
|
|
|
/* Typography */
|
|
|
|
h1, h2 {
|
|
font-family: 'Bagel Fat One';
|
|
margin-bottom: 0.5em;
|
|
}
|
|
|
|
p {
|
|
font-family: 'Jost', sans-serif;
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
/* Layout */
|
|
.container {
|
|
width: 90%;
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
/* Top Navigation */
|
|
.top-nav-wrap {
|
|
background: var(--butter);
|
|
padding: 6px 12px;
|
|
}
|
|
|
|
.top-nav {
|
|
background: rgba(255, 255, 255, 0.95);
|
|
border-radius: var(--radius-lg);
|
|
box-shadow: 0 3px 12px rgba(102, 52, 13, 0.1);
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
min-height: 58px;
|
|
padding: 3px 9px 3px var(--space-5);
|
|
max-width: none;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.brand {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
height: 50px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.brand img {
|
|
width: auto;
|
|
height: 100%;
|
|
max-width: 104px;
|
|
display: block;
|
|
}
|
|
|
|
.top-nav-links {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
|
|
}
|
|
|
|
.nav-link {
|
|
color: var(--black);
|
|
line-height: 1.3;
|
|
text-decoration: none;
|
|
padding: var(--space-1) var(--space-4);
|
|
border-radius: var(--radius-md);
|
|
border-width: 2px;
|
|
border-color: none;
|
|
border-radius: 20px
|
|
}
|
|
|
|
.nav-link:hover,
|
|
.nav-link:focus-visible {
|
|
background: var(--olive-light);
|
|
color: var(--black);
|
|
}
|
|
|
|
.login-pill {
|
|
background: var(--olive);
|
|
border-radius: var(--radius-md);
|
|
color: var(--butter);
|
|
line-height: 1.3;
|
|
padding: var(--space-1) var(--space-4);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.profile-pill {
|
|
width: 38px;
|
|
height: 38px;
|
|
border-radius: 19px;
|
|
background: var(--tomato);
|
|
color: var(--butter);
|
|
font-size: 17px;
|
|
font-weight: 500;
|
|
letter-spacing: var(--ls-ui);
|
|
line-height: 1.3;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
text-decoration: none;
|
|
}
|
|
|
|
/* Components */
|
|
.button {
|
|
display: inline-block;
|
|
padding: 0.5em 1.25em;
|
|
background-color: var(--olive-color);
|
|
font-family: 'Jost', sans-serif;
|
|
font-size: 1em;
|
|
color: var(--butter-light);
|
|
border: none;
|
|
border-radius: 2em;
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
.button:hover {
|
|
background-color: var(--olive-dark);
|
|
}
|
|
|
|
/* Navigation */
|
|
.nav {
|
|
display: flex;
|
|
gap: 1rem;
|
|
}
|
|
|
|
/* Utilities */
|
|
.text-center {
|
|
text-align: left;
|
|
}
|
|
|
|
.hidden {
|
|
display: none;
|
|
}
|
|
|
|
/* Media Queries (Responsive) */
|
|
@media (max-width: 768px) {
|
|
.container {
|
|
width: 95%;
|
|
}
|
|
|
|
.nav {
|
|
flex-direction: column;
|
|
}
|
|
} |