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

Tags in tag cloud has same font-size #267

Closed
SilverRainZ opened this issue Jan 2, 2024 · 10 comments · Fixed by #268
Closed

Tags in tag cloud has same font-size #267

SilverRainZ opened this issue Jan 2, 2024 · 10 comments · Fixed by #268

Comments

@SilverRainZ
Copy link
Contributor

Describe the bug

Although each tag has a corresponding CSS class "ablog-cloud-%d" to indicate the relative size, but there is no any CSS style defined, can we have a default style?

To Reproduce

Just see tag cloud of https://ablog.readthedocs.io/en/stable/

Screenshots

image

System Details

No response

Installation method

pip

@SilverRainZ
Copy link
Contributor Author

I found that other ABlog instance has a normal tag cloud, I don't know what's the difference between them.

图片

@nabobalis
Copy link
Contributor

Is the problem the line break after each tag?

@SilverRainZ
Copy link
Contributor Author

I think not, the problem is https://ablog.readthedocs.io/en/stable/ lacks a <style> tag:

2024-01-03_004036

but http://blog.marc.rintsch.de/index.html has:

2024-01-03_004015

@nabobalis
Copy link
Contributor

We can add a stylesheet in ablog. I wonder if ablog used to do that and I forgot.

@SilverRainZ
Copy link
Contributor Author

SilverRainZ commented Jan 2, 2024

Yes, the stylesheet is removed in #144, and possibly by accident

@nabobalis
Copy link
Contributor

Ah yeah, good spot. I removed it and forgot to add anything back in an actual css file.

@SilverRainZ
Copy link
Contributor Author

So you prefer to add a standalone CSS file than an embed style tag?

@nabobalis
Copy link
Contributor

I would go towards that.

@SilverRainZ
Copy link
Contributor Author

If you are busy, I can help with this :-)

@nabobalis
Copy link
Contributor

I won't say no to help.

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

Successfully merging a pull request may close this issue.

2 participants