This repository has been archived by the owner on Feb 11, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify style of H3 headings fix #625
- Loading branch information
Schalk Neethling
committed
May 12, 2021
1 parent
7d91ed5
commit 76384e9
Showing
10 changed files
with
64 additions
and
138 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
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,3 @@ | ||
.sample { | ||
margin: ($base-spacing * 2) 0; | ||
} |
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
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
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,37 @@ | ||
--- | ||
title: Typography - MDN Minimalist | ||
keywords: typography, font, type, mdn minimalist, mdn, sass, library | ||
description: The MDN Web Docs typography styles | ||
--- | ||
|
||
# Typography | ||
|
||
Below is the default styling for headings level 1-5 with their default margins. There are no special class names to use. Font sizes will also decrease appropriately on mobile devices but still follow a defined typescale. | ||
|
||
# Heading Level 1 | ||
|
||
## Heading Level 2 | ||
|
||
### Heading Level 3 | ||
|
||
#### Heading Level 4 | ||
|
||
##### Heading Level 5 | ||
|
||
## The Typescale | ||
|
||
Desktop and tablet typescale is based on [major third typescale](https://type-scale.com/?size=16&scale=1.250&text=MDN%20Web%20Docs&font=Poppins&fontweight=400&bodyfont=body_font_default&bodyfontweight=400&lineheight=1.75&backgroundcolor=%23ffffff&fontcolor=%23000000&preview=false) with a base of 100% of base font size set by the user which is typically 16-18px. On mobile phones the typescale based is based on a [major second typescale](https://bit.ly/2VUrOJm) with a base of 100% as set by the user. | ||
|
||
## ZillaSlab highlight | ||
|
||
Any heading level can be set to use the ZillaSlab Highlight style by adding the class `slab-highlight`, for example: | ||
|
||
<div class="sample"> | ||
<h2 class="slab-highlight">Slab Highlighted</h2> | ||
</div> | ||
|
||
### Code example | ||
|
||
```html | ||
<h2 class="slab-highlight">Slab Highlighted</h2> | ||
``` |
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 |
---|---|---|
|
@@ -17,4 +17,7 @@ | |
<li> | ||
<a href="/tables/">Tables</a> | ||
</li> | ||
<li> | ||
<a href="/typography/">Typography</a> | ||
</li> | ||
</ul> |
2 changes: 1 addition & 1 deletion
2
...de/resources/_gen/assets/css/minimalist/main.css_ee09be97884a98f1c989950cdaabae63.content
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...guide/resources/_gen/assets/css/minimalist/main.css_ee09be97884a98f1c989950cdaabae63.json
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 +1 @@ | ||
{"Target":"minimalist/main.min.3a60ccafcd3ff553f7fedfd405e9e83293584b5e94a2e5bae3841b041c6484fc.css","MediaType":"text/css","Data":{"Integrity":"sha256-OmDMr80/9VP3/t/UBenoMpNYS16UouW644QbBBxkhPw="}} | ||
{"Target":"minimalist/main.min.4c888e8bc6dd52ffcd00da6e28efb6a6d0951376c792d9e5fe5b3e976108a94e.css","MediaType":"text/css","Data":{"Integrity":"sha256-TIiOi8bdUv/NANpuKO+2ptCVE3bHktnl/ls+l2EIqU4="}} |
Oops, something went wrong.