Skip to content

Increase font size in code blocks (issue 59) #273

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

Merged
merged 2 commits into from
Feb 15, 2024
Merged
Changes from 1 commit
Commits
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
5 changes: 3 additions & 2 deletions _sass/_syntax.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ div.highlighter-rouge, figure.highlight {
border-radius: $border-radius;
background-color: $code-background-color;
box-shadow: $box-shadow;
font-size: $type-size-4

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this line have ; at the end?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it should. It is the last option, so it works for now, but clearly just me being an idiot.


&:before {
position: absolute;
Expand All @@ -28,7 +29,7 @@ div.highlighter-rouge, figure.highlight {
.highlight {
margin: 0;
font-family: $monospace;
font-size: $type-size-7;
font-size: $type-size-6;
line-height: 1.8;
}
}
Expand Down Expand Up @@ -120,4 +121,4 @@ div.highlighter-rouge, figure.highlight {
.highlight .vc { color: #22b3eb } /* Name.Variable.Class */
.highlight .vg { color: #22b3eb } /* Name.Variable.Global */
.highlight .vi { color: #22b3eb } /* Name.Variable.Instance */
.highlight .il { color: #2aa198 } /* Literal.Number.Integer.Long */
.highlight .il { color: #2aa198 } /* Literal.Number.Integer.Long */