Initial baseline: LaraBlog core with plugin commerce surface.
Captures the current working tree after theme slots, ArticleAccess, and the payment / paid-content plugins so subsequent work has a reviewable git history.
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="960" height="600" viewBox="0 0 960 600" role="img" aria-label="example theme preview">
|
||||
<defs>
|
||||
<linearGradient id="bg" x1="1" y1="0" x2="0" y2="1">
|
||||
<stop offset="0%" stop-color="#fff7f1"/>
|
||||
<stop offset="50%" stop-color="#f3f6fb"/>
|
||||
<stop offset="100%" stop-color="#eef2f8"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<rect width="960" height="600" fill="url(#bg)"/>
|
||||
<rect x="48" y="40" width="864" height="520" rx="8" fill="#ffffff" fill-opacity="0.9" stroke="#14203324"/>
|
||||
<text x="80" y="118" font-family="Georgia, serif" font-size="46" font-weight="700" fill="#142033">LaraBlog</text>
|
||||
<rect x="80" y="132" width="160" height="6" fill="#c45c26"/>
|
||||
<text x="80" y="172" font-family="Helvetica, Arial, sans-serif" font-size="18" fill="#5c6b80">�%��H � :�����</text>
|
||||
<rect x="80" y="210" width="70" height="12" rx="2" fill="#c45c26"/>
|
||||
<rect x="170" y="210" width="70" height="12" rx="2" fill="#14203333"/>
|
||||
<rect x="260" y="210" width="70" height="12" rx="2" fill="#14203333"/>
|
||||
<rect x="80" y="260" width="500" height="90" rx="6" fill="#fff" stroke="#c45c2640"/>
|
||||
<rect x="104" y="284" width="360" height="18" rx="4" fill="#142033"/>
|
||||
<rect x="104" y="316" width="280" height="10" rx="4" fill="#5c6b8088"/>
|
||||
<rect x="80" y="372" width="500" height="90" rx="6" fill="#fff" stroke="#14203318"/>
|
||||
<rect x="104" y="396" width="300" height="18" rx="4" fill="#142033"/>
|
||||
<rect x="104" y="428" width="250" height="10" rx="4" fill="#5c6b8088"/>
|
||||
<rect x="640" y="260" width="220" height="200" rx="6" fill="#fff" stroke="#14203318"/>
|
||||
<rect x="664" y="288" width="100" height="14" rx="3" fill="#142033"/>
|
||||
<rect x="664" y="324" width="160" height="10" rx="3" fill="#c45c2666"/>
|
||||
<rect x="664" y="348" width="140" height="10" rx="3" fill="#14203326"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.8 KiB |
@@ -0,0 +1,128 @@
|
||||
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;600;700&family=Newsreader:opsz,wght@6..72,500;6..72,700&display=swap");
|
||||
|
||||
:root {
|
||||
--ink: #142033;
|
||||
--muted: #5c6b80;
|
||||
--paper: #f3f6fb;
|
||||
--panel: rgba(255, 255, 255, 0.86);
|
||||
--line: rgba(20, 32, 51, 0.14);
|
||||
--accent: #c45c26;
|
||||
--accent-deep: #9a3f12;
|
||||
--serif: "Newsreader", Georgia, serif;
|
||||
--sans: "IBM Plex Sans", "Helvetica Neue", sans-serif;
|
||||
}
|
||||
|
||||
* { box-sizing: border-box; }
|
||||
html { scroll-behavior: smooth; }
|
||||
body {
|
||||
margin: 0;
|
||||
color: var(--ink);
|
||||
font-family: var(--sans);
|
||||
background:
|
||||
radial-gradient(800px 380px at 90% -10%, rgba(196, 92, 38, 0.18), transparent 55%),
|
||||
radial-gradient(900px 420px at 0% 0%, rgba(40, 90, 160, 0.12), transparent 50%),
|
||||
linear-gradient(180deg, #fbfcfe, var(--paper));
|
||||
line-height: 1.7;
|
||||
}
|
||||
.wrap { width: min(1080px, calc(100% - 2rem)); margin: 0 auto; }
|
||||
.site-header { padding: 2.5rem 0 1.25rem; }
|
||||
.brand {
|
||||
display: inline-block;
|
||||
font-family: var(--serif);
|
||||
font-size: clamp(2.2rem, 4.5vw, 3.2rem);
|
||||
color: var(--ink);
|
||||
text-decoration: none;
|
||||
letter-spacing: -0.03em;
|
||||
border-bottom: 4px solid var(--accent);
|
||||
animation: slide 0.55s ease both;
|
||||
}
|
||||
.tagline { color: var(--muted); margin: 0.6rem 0 1rem; max-width: 34rem; }
|
||||
.nav-bar {
|
||||
display: flex; flex-wrap: wrap; gap: 0.85rem;
|
||||
padding: 0.75rem 0; border-block: 1px solid var(--line);
|
||||
}
|
||||
.nav-bar a { color: var(--ink); text-decoration: none; font-weight: 700; }
|
||||
.nav-bar a:hover { color: var(--accent-deep); }
|
||||
.flash { color: var(--accent-deep); font-weight: 700; }
|
||||
.layout { display: grid; grid-template-columns: 1fr 260px; gap: 2rem; padding: 2rem 0 3rem; }
|
||||
@media (max-width: 860px) { .layout { grid-template-columns: 1fr; } }
|
||||
.panel, .post-item {
|
||||
background: var(--panel);
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 0.35rem;
|
||||
padding: 1.2rem 1.35rem;
|
||||
margin-bottom: 0.9rem;
|
||||
}
|
||||
.post-item { transition: border-color 0.2s ease; }
|
||||
.post-item:hover { border-color: var(--accent); }
|
||||
.post-item h2, .page-title {
|
||||
font-family: var(--serif);
|
||||
margin: 0 0 0.45rem;
|
||||
letter-spacing: -0.02em;
|
||||
}
|
||||
.post-item h2 a { color: inherit; text-decoration: none; }
|
||||
.meta { color: var(--muted); font-size: 0.9rem; }
|
||||
.sidebar h3 { margin: 0 0 0.6rem; font-family: var(--serif); }
|
||||
.sidebar ul { list-style: none; margin: 0; padding: 0; }
|
||||
.sidebar li { margin: 0.4rem 0; }
|
||||
.sidebar a { color: var(--ink); font-weight: 600; text-decoration: none; }
|
||||
.chip {
|
||||
display: inline-block; margin-right: 0.35rem; padding: 0.15rem 0.55rem;
|
||||
border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: 0.85rem;
|
||||
}
|
||||
|
||||
.post {
|
||||
background: var(--panel);
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 0.35rem;
|
||||
padding: 1.35rem 1.45rem 1.6rem;
|
||||
margin-bottom: 0.9rem;
|
||||
}
|
||||
.post__title {
|
||||
font-family: var(--serif);
|
||||
font-size: clamp(1.85rem, 3vw, 2.4rem);
|
||||
margin: 0 0 0.55rem;
|
||||
letter-spacing: -0.02em;
|
||||
}
|
||||
.post__meta { margin: 0; color: var(--muted); font-size: 0.9rem; }
|
||||
.post__category { font-weight: 700; text-decoration: none; color: var(--accent-deep); }
|
||||
.post__toc {
|
||||
margin: 1rem 0 1.35rem;
|
||||
padding: 0.9rem 1rem;
|
||||
border: 1px solid var(--line);
|
||||
border-left: 4px solid var(--accent);
|
||||
background: rgba(196, 92, 38, 0.06);
|
||||
}
|
||||
.post__toc-title { margin: 0 0 0.55rem; font-family: var(--serif); font-size: 1.05rem; }
|
||||
.post__toc-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.3rem; }
|
||||
.post__toc-item a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.92rem; }
|
||||
.post__toc-item a:hover { color: var(--accent-deep); }
|
||||
.post__toc-item--h3 { padding-left: 0.85rem; }
|
||||
.post__toc-item--h4 { padding-left: 1.7rem; }
|
||||
.post__content { font-size: 1.06rem; line-height: 1.8; }
|
||||
.post__content h2, .post__content h3, .post__content h4 {
|
||||
font-family: var(--serif);
|
||||
scroll-margin-top: 1.25rem;
|
||||
}
|
||||
.post__content h2 { font-size: 1.45rem; margin: 1.6rem 0 0.7rem; }
|
||||
.post__content h3 { font-size: 1.22rem; margin: 1.35rem 0 0.55rem; }
|
||||
.post__content img { max-width: 100%; height: auto; }
|
||||
.post__footer { margin-top: 1.35rem; padding-top: 0.9rem; border-top: 1px solid var(--line); }
|
||||
.post__tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem; }
|
||||
.comments__title { font-family: var(--serif); font-size: 1.4rem; margin: 0 0 0.85rem; }
|
||||
.comment { padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
|
||||
.comment__meta { color: var(--muted); font-size: 0.88rem; margin-bottom: 0.3rem; }
|
||||
|
||||
form.stack label { display: block; margin: 0.75rem 0 0.25rem; font-weight: 600; }
|
||||
form.stack input, form.stack textarea {
|
||||
width: 100%; border: 1px solid var(--line); border-radius: 0.35rem; padding: 0.7rem 0.8rem; font: inherit;
|
||||
}
|
||||
form.stack button {
|
||||
margin-top: 1rem; background: var(--accent); color: #fff; border: 0;
|
||||
border-radius: 0.35rem; padding: 0.7rem 1.15rem; font-weight: 700; cursor: pointer;
|
||||
}
|
||||
.site-footer { padding: 1.25rem 0 2.5rem; color: var(--muted); border-top: 1px solid var(--line); }
|
||||
@keyframes slide {
|
||||
from { opacity: 0; transform: translateY(8px); }
|
||||
to { opacity: 1; transform: none; }
|
||||
}
|
||||
Reference in New Issue
Block a user