clause agent mode "make it look like papermod"
Some checks failed
CSS Code Linting / Lint CSS (push) Has been cancelled
JS Code Linting / Lint JS (push) Has been cancelled
PHP Code Linting / Parallel lint (push) Has been cancelled
PHP Code Linting / PHPCS check (push) Has been cancelled

This commit is contained in:
gribse 2025-07-26 16:24:01 +02:00
parent 1c59bd66ea
commit 582e4491c0
91 changed files with 2139 additions and 202 deletions

View file

@ -0,0 +1,104 @@
// PaperMod inspired layout styles
.content-wrapper {
max-width: 1200px;
margin: 0 auto;
padding: 2rem 1.5rem;
display: grid;
grid-template-columns: 1fr 300px;
gap: 3rem;
align-items: start;
@media (max-width: 1024px) {
grid-template-columns: 1fr;
gap: 2rem;
padding: 1.5rem 1rem;
}
@media (max-width: 768px) {
padding: 1rem;
}
}
.site-main {
min-width: 0; // Prevent grid blowout
// Full width on pages without sidebar
.no-sidebar & {
grid-column: 1 / -1;
max-width: 800px;
margin: 0 auto;
}
// Single posts and pages
.single &,
.page & {
max-width: 800px;
.no-sidebar & {
max-width: 900px;
}
}
}
// Archive and blog layouts
.home,
.archive,
.search-results {
.content-wrapper {
grid-template-columns: 1fr;
max-width: 1000px;
}
.site-main {
display: grid;
gap: 2rem;
// Card grid for archive pages
&.card-grid {
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
@media (max-width: 768px) {
grid-template-columns: 1fr;
gap: 1.5rem;
}
}
}
}
// Site container
#page {
display: flex;
flex-direction: column;
min-height: 100vh;
background: var(--color-bg-primary);
}
// Skip to content
.skip-link {
&.screen-reader-text {
position: absolute !important;
clip-path: inset(50%);
width: 1px;
height: 1px;
overflow: hidden;
&:focus {
background: var(--color-text-primary);
color: var(--color-bg-primary);
clip-path: none;
display: block;
font-size: 0.875rem;
font-weight: $font__weight-bold;
height: auto;
left: 1rem;
line-height: normal;
padding: 1rem 1.5rem;
text-decoration: none;
top: 1rem;
width: auto;
z-index: 100000;
border-radius: 4px;
}
}
}

0
sass/layouts/_content-sidebar.scss Normal file → Executable file
View file

0
sass/layouts/_no-sidebar.scss Normal file → Executable file
View file

0
sass/layouts/_sidebar-content.scss Normal file → Executable file
View file