default code block font-size too small
See original GitHub issueThe default code block font-size was defined as $type-size-7
in _sass/_syntax.scss
. This is too small compared with the normal text font.
I’d recommend changing it to 0.8125em
(~13 px), which is between $type-size-5
(~16 px) and $type-size-6
(~12 px).
.highlight {
margin: 0;
font-family: $monospace;
font-size: .8125em; /* was $type-size-7 */
line-height: 1.8;
}
Issue Analytics
- State:
- Created 6 years ago
- Reactions:23
- Comments:8
Top Results From Across the Web
Font size in "Manager" window, Projects/Resources tabs
The fonts in the Log windows are still small, but this is controlled within Code::Blocks Settings -> View -> "Message logs' font size"....
Read more >Resizing font in Code::Blocks - Stack Overflow
For Mac, use Key Command + Control + mouse Scroll (up / down) to change font size.
Read more >How To Change font Size of Code Blocks IDE - YouTube
codeblock #IDE #coding #cprogramming #cpp Change code blocks IDE Font SizeNeed Help in Programming Task? Codersarts is trusted and top rated ...
Read more >Windows 10 code block font size - Super User
What extensions do you have installed? Is DPI scaling enabled? Can you inspect a code block (right click -> inspect), switch to Computed...
Read more >How can you change the default codeblock font size?
to TiddlyWiki. Hi, all! I was wondering if anyone knows how to change the size of the text in {{{codeblocks}}}. The monospaced text...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I also found distracting the icons in the top-right corner of code blocks with text
Removed the icon by commenting out the line
f121
Example:content:
in_sass/_syntax.scss
Happy to use this great template. Thanks for the resource!
For the code icon issue in the top right, you need to change the font family from “fontawesome” to “Font Awesome 5 Free”. I’d make a pull request with that, but have made all of my personal changes to master and the branch is a bit too muddied up