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

css: update selectors for odig package title #1290

Merged
merged 2 commits into from
Jan 26, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
Allows to specify the title of a page, the order of sub-pages and other
behaviors in the sidebar.
- Added `odoc-md` to process standalone Markdown pages (@jonludlam, #1234)
- Added CSS selectors to style version and and nav links when they appear within page titles, as produced by odig (@katrinafyi, #1290)

### Changed

Expand Down
4 changes: 2 additions & 2 deletions src/html_support_files/odoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -815,13 +815,13 @@ td.def-doc *:first-child {

/* Odig package page */

.package nav {
.package nav, h1 nav {
display: inline;
font-size: 14px;
font-weight: normal;
}

.package .version {
.package .version, h1 .version {
font-size: 14px;
}

Expand Down