-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
h4 tag change in font weight for fixing issue (#3696) #3767
Conversation
Hi @soham283. Thanks for your PR. I'm waiting for a knative member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
✔️ Deploy Preview for dev-knative ready! 🔨 Explore the source changes: 187608b 🔍 Inspect the deploy log: https://app.netlify.com/sites/dev-knative/deploys/60dcbd3d3544a70007277768 😎 Browse the preview: https://deploy-preview-3767--dev-knative.netlify.app |
docs/stylesheets/extra.css
Outdated
|
||
/* Giving h4 tag distinctive style because it is non-differntial with bold text */ | ||
.md-typeset h4 { | ||
font-weight: 400; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
font-weight: 400
is the same as normal text (see https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight#values), so Im not sure this is really an improvement :(.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The #3696 issue it was stated that bold text and h4 tags context must have distinct style so that it can be recognized easily
that's why I came up with this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, but this makes it so that the h4 tags are impossible to distinguish from regular text, which is even worse than being hard to distinguish from bold text?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe increasing font-size may work. initially i thinked about that, but also thought if styling can make difference
Now updated the commit by changing font size, and removed font weight which were making is difficult to differentiate with the normal text. |
Hi @soham283, thanks for working on this! I think 1.0rem H4 font size looks a bit too large and heavy compared to H3 headings. I did a few tests in my browser. My personal preference is ~0.88rem. I was split between having the standard or a lighter font weight. My preferences are as follows:
I suppose this is a matter of personal taste so feel free to disagree @soham283, @julz, and @omerbensaadon! |
@snneji can you take another look when you have a chance? |
/lgtm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: julz, soham283 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Proposed Changes