Skip to content

Commit

Permalink
this seems cleaner
Browse files Browse the repository at this point in the history
  • Loading branch information
aceat64 committed Aug 22, 2024
1 parent e70b750 commit 8c4368a
Show file tree
Hide file tree
Showing 6 changed files with 48 additions and 58 deletions.
38 changes: 19 additions & 19 deletions content/guides/ipv6.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,22 @@ hide:

## How Many /64s

| Prefix | /64s | Subnet Bits |
| ------ | ------ | ----------- |
| /48 | 65,536 | 16 |
| /49 | 32,768 | 15 |
| /50 | 16,384 | 14 |
| /51 | 8,192 | 13 |
| /52 | 4,096 | 12 |
| /53 | 2,048 | 11 |
| /54 | 1,024 | 10 |
| /55 | 512 | 9 |
| /56 | 256 | 8 |
| /57 | 128 | 7 |
| /58 | 64 | 6 |
| /59 | 32 | 5 |
| /60 | 16 | 4 |
| /61 | 8 | 3 |
| /62 | 4 | 2 |
| /63 | 2 | 1 |
| /64 | 1 | 0 |
| Prefix | /64s | Subnet Bits |
| ------------------------- | -----------| ----------- |
| **/48** {: .note-bg } | **65,536** | **16** |
| /49 | 32,768 | 15 |
| /50 | 16,384 | 14 |
| /51 | 8,192 | 13 |
| **/52** {: .info-bg } | **4,096** | **12** |
| /53 | 2,048 | 11 |
| /54 | 1,024 | 10 |
| /55 | 512 | 9 |
| **/56** {: .tip-bg } | **256** | **8** |
| /57 | 128 | 7 |
| /58 | 64 | 6 |
| /59 | 32 | 5 |
| **/60** {: .question-bg } | **16** | **4** |
| /61 | 8 | 3 |
| /62 | 4 | 2 |
| /63 | 2 | 1 |
| **/64** {: .warning-bg } | **1** | **0** |
37 changes: 0 additions & 37 deletions content/stylesheets/ipv6.css

This file was deleted.

25 changes: 25 additions & 0 deletions content/stylesheets/tables.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
td.note-bg, td.note-bg ~ td { background-color:#448aff; color: #000000; }
td.abstract-bg, td.abstract-bg ~ td { background-color:#00b0ff; color: #000000; }
td.info-bg, td.info-bg ~ td { background-color:#00b8d4; color: #000000; }
td.tip-bg, td.tip-bg ~ td { background-color:#00bfa5; color: #000000; }
td.success-bg, td.success-bg ~ td { background-color:#00c853; color: #000000; }
td.question-bg, td.question-bg ~ td { background-color:#64dd17; color: #000000; }
td.warning-bg, td.warning-bg ~ td { background-color:#ff9100; color: #000000; }
td.failure-bg, td.failure-bg ~ td { background-color:#ff5252; color: #000000; }
td.danger-bg, td.danger-bg ~ td { background-color:#ff1744; color: #000000; }
td.bug-bg, td.bug-bg ~ td { background-color:#f50057; color: #000000; }
td.example-bg, td.example-bg ~ td { background-color:#7c4dff; color: #000000; }
td.quote-bg, td.quote-bg ~ td { background-color:#9e9e9e; color: #000000; }

td.note-bg-muted, td.note-bg-muted ~ td { background-color:#448aff1a }
td.abstract-bg-muted, td.abstract-bg-muted ~ td { background-color:#00b0ff1a }
td.info-bg-muted, td.info-bg-muted ~ td { background-color:#00b8d41a }
td.tip-bg-muted, td.tip-bg-muted ~ td { background-color:#00bfa51a }
td.success-bg-muted, td.success-bg-muted ~ td { background-color:#00c8531a }
td.question-bg-muted, td.question-bg-muted ~ td { background-color:#64dd171a }
td.warning-bg-muted, td.warning-bg-muted ~ td { background-color:#ff91001a }
td.failure-bg-muted, td.failure-bg-muted ~ td { background-color:#ff52521a }
td.danger-bg-muted, td.danger-bg-muted ~ td { background-color:#ff17441a }
td.bug-bg-muted, td.bug-bg-muted ~ td { background-color:#f500571a }
td.example-bg-muted, td.example-bg-muted ~ td { background-color:#7c4dff1a }
td.quote-bg-muted, td.quote-bg-muted ~ td { background-color:#9e9e9e1a }
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,4 +106,4 @@ theme:
icon: material/brightness-4
name: Switch to system preference
extra_css:
- stylesheets/ipv6.css
- stylesheets/tables.css
2 changes: 1 addition & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ readme = "README.md"

[tool.poetry.dependencies]
python = "^3.11"

[tool.poetry.group.dev.dependencies]
mkdocs-material = {git = "https://github.com/squidfunk/mkdocs-material-insiders.git"}
mkdocs-minify-plugin = "^0.8.0"
Pillow = "^10.1.0"
Expand Down

0 comments on commit 8c4368a

Please sign in to comment.