admin/site: retirer site_author, publisher=Blog, auteur depuis profil utilisateur

This commit is contained in:
Cedric Abonnel
2026-05-13 00:27:12 +02:00
parent 26c0a03e71
commit f3584159c1
9 changed files with 78 additions and 52 deletions
+53 -28
View File
@@ -1278,6 +1278,24 @@ footer.mt-5 { margin-top: 0 !important; }
.author-profile-link:hover { color: var(--vl-accent); }
.liens-cta {
display: inline-block;
margin-top: .625rem;
padding: .5rem 1.25rem;
border-radius: 100px;
background: var(--vl-accent);
color: #fff;
font-size: .875rem;
font-weight: 700;
text-decoration: none;
transition: background .2s, transform .15s;
}
.liens-cta:hover {
background: var(--vl-accent-dark);
color: #fff;
transform: translateY(-1px);
}
.author-bio-wrap {
flex: 1;
}
@@ -1309,30 +1327,30 @@ footer.mt-5 { margin-top: 0 !important; }
/* ─── Page "Mes liens" ───────────────────── */
.liens-page {
max-width: 480px;
max-width: 520px;
margin: 0 auto;
padding: 2.5rem 1rem 4rem;
padding: 3rem 1.25rem 5rem;
display: flex;
flex-direction: column;
align-items: center;
gap: 2rem;
gap: 2.5rem;
}
.liens-header {
display: flex;
flex-direction: column;
align-items: center;
gap: .75rem;
gap: 1rem;
text-align: center;
}
.liens-avatar {
width: 5rem;
height: 5rem;
width: 6rem;
height: 6rem;
border-radius: 50%;
background: var(--vl-accent);
color: #fff;
font-size: 2rem;
font-size: 2.5rem;
font-weight: 700;
display: flex;
align-items: center;
@@ -1340,59 +1358,64 @@ footer.mt-5 { margin-top: 0 !important; }
}
.liens-name {
font-size: 1.25rem;
font-size: 1.5rem;
font-weight: 700;
margin: 0;
}
.liens-bio {
font-size: .9rem;
font-size: .9375rem;
color: var(--vl-muted);
line-height: 1.6;
margin: 0;
}
.liens-sep {
width: 100%;
border: none;
border-top: 1.5px solid var(--vl-border);
margin: 0;
}
.liens-list {
width: 100%;
display: flex;
flex-direction: column;
gap: .75rem;
gap: 1rem;
}
.liens-item {
display: flex;
flex-direction: column;
align-items: center;
gap: .2rem;
gap: .3rem;
width: 100%;
padding: .875rem 1.25rem;
border-radius: var(--vl-radius);
border: 1.5px solid var(--vl-border);
background: var(--vl-surface);
padding: 1.125rem 1.75rem;
border-radius: 100px;
border: none;
background: var(--btn-bg, var(--vl-accent));
text-align: center;
text-decoration: none;
color: var(--vl-text);
font-weight: 600;
transition: border-color .15s, background .15s, transform .1s;
box-shadow: var(--vl-shadow-sm);
color: #fff;
font-weight: 700;
transition: filter .2s, transform .15s, box-shadow .2s;
box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.liens-item:hover {
border-color: var(--vl-accent);
background: var(--vl-accent-soft);
color: var(--vl-accent);
transform: translateY(-1px);
box-shadow: var(--vl-shadow-md);
color: #fff;
filter: brightness(1.12);
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(0,0,0,.18);
}
.liens-item-title { font-size: 1rem; }
.liens-item-title { font-size: 1.125rem; }
.liens-item-desc {
font-size: .8rem;
font-size: .85rem;
font-weight: 400;
color: var(--vl-muted);
color: rgba(255,255,255,.8);
}
.liens-item:hover .liens-item-desc { color: var(--vl-accent); opacity: .8; }
.liens-footer {
font-size: .8rem;
@@ -1401,6 +1424,8 @@ footer.mt-5 { margin-top: 0 !important; }
.liens-footer a { color: inherit; }
.liens-footer a:hover { color: var(--vl-accent); }
.liens-bg { background: #f1f5f9; }
/* ─── Agrégateur de flux ─────────────────── */
.flux-list {
-1
View File
@@ -1772,7 +1772,6 @@ switch ($action) {
saveSiteSettings([
'site_title' => $_POST['site_title'] ?? '',
'site_claim' => $_POST['site_claim'] ?? '',
'site_author' => $_POST['site_author'] ?? '',
'site_lang' => $_POST['site_lang'] ?? '',
'posts_per_page' => $_POST['posts_per_page'] ?? '',
'site_license_label' => $_POST['site_license_label'] ?? '',