Ajout logo R, bouton Blog et reorganisation de l'arborescence
- Logo R entoure dans le header - Bouton Blog redirigeant vers blog.rdacet.fr - functions.php decoupe en modules inc/ (setup, helpers, data) - Page Templates deplaces dans templates/ avec filtre de compatibilite - README mis a jour avec la nouvelle structure du theme
This commit is contained in:
1 parent
7f0d3ee895
commit
8bf0c34646
13 files changed
+257
-124
No files matched your search
@@ -139,6 +139,32 @@ em { font-family: var(--font-serif); font-style: italic; }
|
||||
padding: 1.1rem 1.75rem;
|
||||
gap: 1rem;
|
||||
}
|
||||
.site-logo {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: .7rem;
|
||||
}
|
||||
.logo-mark {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 42px;
|
||||
height: 42px;
|
||||
flex-shrink: 0;
|
||||
border: 1.5px solid var(--ink);
|
||||
border-radius: 50%;
|
||||
font-family: var(--font-serif);
|
||||
font-size: 1.25rem;
|
||||
font-weight: 600;
|
||||
line-height: 1;
|
||||
color: var(--ink);
|
||||
transition: background .2s, color .2s, transform .2s;
|
||||
}
|
||||
.site-logo:hover .logo-mark {
|
||||
background: var(--ink);
|
||||
color: var(--bg);
|
||||
transform: rotate(-6deg);
|
||||
}
|
||||
.site-logo .site-title {
|
||||
font-family: var(--font-serif);
|
||||
font-size: 1.15rem;
|
||||
@@ -157,6 +183,18 @@ em { font-family: var(--font-serif); font-style: italic; }
|
||||
font-weight: 500;
|
||||
margin-top: .3rem;
|
||||
}
|
||||
.header-actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1.75rem;
|
||||
}
|
||||
.btn--blog {
|
||||
padding: .55rem 1.15rem;
|
||||
font-size: .85rem;
|
||||
}
|
||||
.btn--blog .arrow-i { font-size: .95rem; }
|
||||
.btn--blog:hover .arrow-i { transform: translate(2px, -2px); }
|
||||
|
||||
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2.25rem; }
|
||||
.main-nav a {
|
||||
color: var(--ink-soft);
|
||||
@@ -669,6 +707,8 @@ section.alt { background: var(--bg-alt); }
|
||||
|
||||
@media (max-width: 720px) {
|
||||
.nav-toggle { display: block; }
|
||||
.header-actions { gap: .9rem; }
|
||||
.logo-mark { width: 38px; height: 38px; font-size: 1.1rem; }
|
||||
.main-nav {
|
||||
position: absolute; top: 100%; left: 0; right: 0;
|
||||
background: var(--bg);
|
||||
|
||||
Reference in new issue
Block a user