Redesigned account, checkout Added stock management design elements
This commit is contained in:
@@ -0,0 +1,91 @@
|
||||
/* ==========================================================================
|
||||
Midrand Books — Fine Press Legal Styles Document
|
||||
========================================================================== */
|
||||
|
||||
.legal-page-container {
|
||||
max-width: 1140px;
|
||||
margin: 0 auto;
|
||||
padding-left: 1.5rem;
|
||||
padding-right: 1.5rem;
|
||||
font-family: system-ui, -apple-system, sans-serif;
|
||||
}
|
||||
|
||||
.legal-main-title {
|
||||
font-size: 2.5rem;
|
||||
letter-spacing: -0.03em;
|
||||
color: #111111;
|
||||
font-family: Georgia, 'Times New Roman', serif;
|
||||
}
|
||||
|
||||
.tracking-wider {
|
||||
letter-spacing: 0.12em;
|
||||
}
|
||||
|
||||
/* --- Index Navigation Stack --- */
|
||||
.legal-nav-index {
|
||||
position: sticky;
|
||||
top: 2rem;
|
||||
border-left: 1px solid rgba(0, 0, 0, 0.08);
|
||||
padding-left: 1.25rem;
|
||||
}
|
||||
|
||||
.index-btn {
|
||||
color: #666666;
|
||||
background: transparent;
|
||||
border: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
font-family: inherit;
|
||||
font-size: inherit;
|
||||
cursor: pointer;
|
||||
text-decoration: none;
|
||||
transition: color 0.2s ease, padding-left 0.2s ease;
|
||||
}
|
||||
|
||||
.index-btn:hover {
|
||||
color: #111111;
|
||||
padding-left: 4px;
|
||||
}
|
||||
|
||||
.index-btn:focus {
|
||||
outline: none;
|
||||
color: #111111;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
/* --- Content Typography Alignment --- */
|
||||
.legal-article-body {
|
||||
line-height: 1.8;
|
||||
color: #333333;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.section-title {
|
||||
font-family: Georgia, 'Times New Roman', serif;
|
||||
font-size: 1.35rem;
|
||||
color: #111111;
|
||||
margin-bottom: 1.25rem;
|
||||
font-weight: 500;
|
||||
scroll-margin-top: 2rem; /* Adds padding baseline context when aligned via smooth-scroll */
|
||||
}
|
||||
|
||||
.legal-section p {
|
||||
margin-bottom: 1.2rem;
|
||||
}
|
||||
|
||||
.legal-section ul {
|
||||
padding-left: 1.25rem;
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.legal-section li {
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
code {
|
||||
background-color: #F5F5F4;
|
||||
color: #111111;
|
||||
padding: 0.2rem 0.4rem;
|
||||
border-radius: 4px;
|
||||
font-size: 0.88rem;
|
||||
}
|
||||
Reference in New Issue
Block a user