theme: fix logo rendering with updated relearn theme
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
The theme overhauled its logo system to render #R-logo > .logo-image, making the old layouts/partials/logo.html override (#logo > img) match no CSS, so the wordmark overflowed the sidebar. Remove the stale override and use the theme-native logo config: point params.logo.src at the wordmark, suppress the redundant text title, and declare the auto variant's light/dark variants explicitly so the variant-gated logo also shows in dark mode. Set --LOGO-IMAGE-width to 90% in custom-header.html to fit the wide wordmark. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
426c2e5fb4
commit
f50dcc8ba9
3 changed files with 22 additions and 5 deletions
|
|
@ -1,2 +1,9 @@
|
|||
<script async defer data-website-id="42fed60c-fb3f-4cd3-9b89-eea2a4e5449d" src="https://pythagore.p0m.fr/pythagore.js"></script>
|
||||
<link rel="me" href="https://floss.social/@happyDomain">
|
||||
<style>
|
||||
/* The happyDomain logo is a wide wordmark (1260x180), so override the
|
||||
theme's default 4em logo width to fill most of the sidebar. */
|
||||
:root {
|
||||
--LOGO-IMAGE-width: 100%;
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue