Less home code more F3

This commit is contained in:
julien
2026-03-30 00:00:03 +02:00
parent d71cf304a9
commit fac7f60190
30 changed files with 818 additions and 1552 deletions

View File

@@ -110,8 +110,7 @@ a {
.meta-text,
.field-help,
.char-counter,
.cover-name {
.char-counter {
margin: 0;
color: var(--color-text-soft);
font-size: 0.95rem;
@@ -179,7 +178,6 @@ a {
.nav,
.page-actions,
.button-row,
.card-actions {
display: flex;
flex-wrap: wrap;
@@ -206,8 +204,7 @@ a {
align-items: center;
}
.nav-items__form,
.inline-form {
.nav-items__form {
margin: 0;
}
@@ -465,12 +462,6 @@ a {
line-height: 1.1;
}
.article-excerpt {
margin: 0;
color: var(--color-text-soft);
font-size: 1.05rem;
}
.card,
.panel,
.prose,
@@ -631,10 +622,6 @@ textarea.control {
aspect-ratio: 1;
}
.media-frame--large {
min-height: 18rem;
}
.media-frame--placeholder {
display: grid;
place-items: center;
@@ -645,14 +632,13 @@ textarea.control {
text-align: center;
}
.article-card {
.card--stack {
display: flex;
flex-direction: column;
overflow: hidden;
}
.card-body,
.article-card__body {
.card-body {
display: flex;
flex: 1;
flex-direction: column;
@@ -666,17 +652,6 @@ textarea.control {
line-height: 1.25;
}
.card-title__link,
.card-media-link {
color: inherit;
text-decoration: none;
}
.card-title__link:hover,
.card-title__link:focus-visible {
text-decoration: underline;
}
.card-summary {
color: inherit;
margin: 0;
@@ -711,10 +686,6 @@ textarea.control {
margin-bottom: var(--space-5);
}
.article-cover {
margin-bottom: var(--space-5);
}
.prose :first-child {
margin-top: 0;
}
@@ -846,34 +817,6 @@ textarea.control {
align-content: start;
}
.media-picker__name {
font-size: 0.95rem;
}
.cover-field {
gap: var(--space-3);
}
.cover-picker {
display: grid;
gap: var(--space-4);
align-items: start;
min-width: 0;
}
.cover-picker .button-row {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.cover-picker .button-row > * {
min-width: 0;
}
.cover-preview {
width: 100%;
}
/* =========================================================
Auth and error pages
========================================================= */
@@ -957,14 +900,6 @@ textarea.control {
}
@media (max-width: 720px) {
.cover-picker {
display: block;
}
.cover-picker > * + * {
margin-top: var(--space-4);
}
.page-header {
align-items: flex-start;
flex-direction: column;
@@ -999,8 +934,7 @@ textarea.control {
padding: var(--space-4);
}
.card-body,
.article-card__body {
.card-body {
padding: var(--space-4);
}
@@ -1015,7 +949,6 @@ textarea.control {
.nav > *,
.page-actions > *,
.button-row > *,
.card-actions > * {
flex: 1 1 100%;
}