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

Make usage of <code> in headers *not* ugly #34

Merged
merged 1 commit into from
Mar 16, 2020
Merged

Make usage of <code> in headers *not* ugly #34

merged 1 commit into from
Mar 16, 2020

Conversation

toughengineer
Copy link
Contributor

0.875 is 14/16 (16px being the default font size specified in the rule for <body>).
This way usage of <code> elements will not be ugly since the font size will be relatively scaled (e.g. 28px instead of 14px for <h2> with default size 32px).

Example of ugliness:
https://toughengineer.github.io/talks/C++%20Siberia%202020/

0.875 is 14/16 (16px being the default font size specified in the rule for <body>).
This way usage of <code> elements will not be ugly since the font size will be relatively scaled (e.g. 28px instead of 14px for <h2> with default size 32px).
@welcome
Copy link

welcome bot commented Mar 2, 2020

Welcome! Congrats on your first pull request to The Slate Theme. If you haven't already, please be sure to check out the contributing guidelines.

@toughengineer
Copy link
Contributor Author

before:
image

after (code element text is of (relatively) normal size):
image

@benbalter benbalter merged commit dd924ed into pages-themes:master Mar 16, 2020
@welcome
Copy link

welcome bot commented Mar 16, 2020

Congrats on getting your first pull request to The Slate Theme merged! Without amazing humans like you submitting pull requests, we couldn’t run this project. You rock! 🎉

If you're interested in tackling another bug or feature, take a look at the open issues, especially those labeled help wanted.

@abdullahkavakli
Copy link

The problem continues.

abdullahkavakli added a commit to abdullahkavakli/abdullahkavakli.github.io that referenced this pull request Mar 31, 2021
0.688is 11/16 (16px being the default font size specified in the rule for <body>).
This way usage of <code> elements will not be ugly since the font size will be relatively scaled (e.g. 28px instead of 14px for <h2> with default size 32px).

Explained here:
pages-themes#34

Example of ugliness:
https://toughengineer.github.io/talks/C++%20Siberia%202020/
@toughengineer
Copy link
Contributor Author

toughengineer commented Mar 31, 2021

@abdullahkavakli, it is not fixed on GitHub Pages because the new version in this repo is not deployed to GitHub pages instance or something like that.
Maybe we can ask @benbalter to push/deliver the new version from this repo to GitHub pages. That'd be great.

@abdullahkavakli
Copy link

@toughengineer didn't benbalter merged this commit into pages-themes:master ? I couldn't understand. Can u explain more please?

@toughengineer
Copy link
Contributor Author

toughengineer commented Mar 31, 2021

@abdullahkavakli, my understanding is that the change is indeed in the master branch, but the code with the change is not yet delivered to GitHub pages itself, i.e. it seems that repos in pages-themes project are separate from what actual GitHub pages use, and changes from repos are not automatically delivered to GitHub pages.

@abdullahkavakli
Copy link

I got now what u mean. Can i ask another question? My commits can't pass travis test. Like this: #58 Do u know why?

@toughengineer
Copy link
Contributor Author

@abdullahkavakli, no idea.

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

Successfully merging this pull request may close these issues.

3 participants