Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Hugo] CSS für Quellenhinweis für light-/dark-Mode anpassen #39

Open
cagix opened this issue Mar 16, 2023 · 0 comments
Open

[Hugo] CSS für Quellenhinweis für light-/dark-Mode anpassen #39

cagix opened this issue Mar 16, 2023 · 0 comments
Labels

Comments

@cagix
Copy link
Owner

cagix commented Mar 16, 2023

In hugo/hugo-lecture/layouts/partials/custom-header.html wird für die Quellenhinweise (Span .origin) die Schriftart festgelegt und ein leicht grauer Hintergrund definiert:

.origin {
    background-color: #ededed;
    font-size: 0.8em;
}

Das kann man im dark-Mode nicht mehr gut lesen. Entweder anpassen und zwei verschiedene Definitionen für light- vs. dark-Mode oder Einbindung vorhandener Möglichkeiten aus dem Theme (Icon, Notice)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant