forked from foxglove/mcap
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: use bold font for markdown h2/h3 headings (foxglove#665)
- Use bold font for markdown h2/h3 headings - Load 600 weight instead of 700 from google fonts. 700 feels quite heavy for the IBM Plex fonts we use.
- Loading branch information
Showing
4 changed files
with
26 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -153,3 +153,7 @@ overrides: | |
- subrange | ||
- unkeyed | ||
- lowercased | ||
|
||
- filename: "docs/**" | ||
words: | ||
- plex |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,14 @@ | ||
.md-source__fact--version { | ||
display: none; | ||
} | ||
.md-source__fact--stars::before { | ||
margin-left: 0 !important; | ||
} | ||
.md-source__fact::before { | ||
vertical-align: bottom; | ||
} | ||
display: none; | ||
} | ||
.md-source__fact--stars::before { | ||
margin-left: 0 !important; | ||
} | ||
.md-source__fact::before { | ||
vertical-align: bottom; | ||
} | ||
|
||
.md-typeset h2, | ||
.md-typeset h3 { | ||
font-weight: 600; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{% extends "base.html" %} | ||
|
||
{# Override font weights from the theme default (300,300i,400,400i,700,700i) #} | ||
{%- block fonts %} | ||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | ||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=IBM+Plex+Sans:300,300i,400,400i,600,600i%7CIBM+Plex+Mono:400,400i,600,600i&display=fallback"> | ||
<style>:root{--md-text-font:"IBM Plex Sans";--md-code-font:"IBM Plex Mono"}</style> | ||
{%- endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters