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

Try CSS variable again #545

Open
wants to merge 27 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
00f72e0
Add styles based on the documentation tool
humitos Dec 16, 2024
24d7869
Use a reactive property to add specific classes
humitos Dec 17, 2024
f3477b7
Use `tool=sphinx` `tool-theme=furo` to add CSS rules
humitos Dec 18, 2024
053d931
Remove unused code
humitos Dec 18, 2024
8c337ea
Update furo font size
humitos Dec 18, 2024
9d08961
Update MkDocs Material font size
humitos Dec 18, 2024
12057bf
Useful for Jupyter Book and others
humitos Dec 18, 2024
28bb43c
Style for Antora
humitos Dec 18, 2024
434f187
Update snapshots to match `tool=` and `tool-theme=` attrs
humitos Dec 18, 2024
718b52a
Better comment
humitos Dec 18, 2024
531c7e2
Rename attribute with a `data-` prefix
humitos Jan 8, 2025
7f099cc
Adjust style a little more
humitos Jan 8, 2025
fe1319f
Show example of setting attributes and variables at parent DOM
agjohnson Jan 8, 2025
d6e86c6
Show example of setting attributes and variables at parent DOM (#484)
agjohnson Jan 9, 2025
1446007
Small tweaks to font sizes
humitos Jan 9, 2025
ed87f06
Fix some tests
humitos Jan 9, 2025
4d2a219
Handle error when checking mdBook
humitos Jan 9, 2025
6b5db39
More fixes
agjohnson Jan 9, 2025
12f1b3f
Update font sizes
agjohnson Jan 9, 2025
5d2a33f
Working example of CSS layer defaults
agjohnson Jan 13, 2025
1b2ce13
Merge branch 'main' into agj/css-variable-root-defaults
agjohnson Feb 19, 2025
a348a9e
Hack not needed because this is a native CSSStyleSheet
agjohnson Feb 19, 2025
d6c139b
Bad merge?
agjohnson Feb 19, 2025
047c286
Drop unused doctools.css
agjohnson Feb 19, 2025
f847c0e
Tune var usage and defaults
agjohnson Feb 19, 2025
69dfc0a
Lint
agjohnson Feb 19, 2025
5844acf
Relint
agjohnson Feb 19, 2025
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
Prev Previous commit
Next Next commit
Update furo font size
  • Loading branch information
humitos committed Dec 18, 2024
commit 8c337eaa40863923a32a710d04820fafa3f2ec45
2 changes: 1 addition & 1 deletion src/flyout.css
Original file line number Diff line number Diff line change
Expand Up @@ -166,5 +166,5 @@ div[tool="mdbook"] {
}

div[tool="sphinx"][tool-theme="furo"] {
--addons-flyout-font-size: 0.8rem;
--addons-flyout-font-size: 0.75rem;
}