Skip to content

Commit

Permalink
Fixed uppercasing of code blocks in H5 headlines
Browse files Browse the repository at this point in the history
  • Loading branch information
squidfunk committed Nov 25, 2024
1 parent 226321e commit b3f1eb2
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 3 deletions.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

This file was deleted.

This file was deleted.

2 changes: 1 addition & 1 deletion material/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
{% endif %}
{% endblock %}
{% block styles %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.a1494179.min.css' | url }}">
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.6f8fc17f.min.css' | url }}">
{% if config.theme.palette %}
{% set palette = config.theme.palette %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.06af60db.min.css' | url }}">
Expand Down
5 changes: 5 additions & 0 deletions src/templates/assets/stylesheets/main/_typeset.scss
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,11 @@ kbd {
// Headline on level 5
h5 {
text-transform: uppercase;

// Don't uppercase code blocks
code {
text-transform: none;
}
}

// Horizontal separator
Expand Down

0 comments on commit b3f1eb2

Please sign in to comment.