Skip to content

Commit b7849f4

Browse files
Bump ini from 1.3.5 to 1.3.7 (#427)
1 parent 42e2a82 commit b7849f4

File tree

4 files changed

+54
-10
lines changed

4 files changed

+54
-10
lines changed

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ markdown_extensions:
4444
- meta
4545
- pymdownx.superfences
4646
- pymdownx.details
47+
- pymdownx.tabbed
4748
- toc:
4849
permalink: true
4950
nav:

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/get-started/java-binding.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,14 @@ deployment.
5353
on some older Linux distributions, like Ubuntu 16.04. Libsodium 23 is
5454
available in Ubuntu 18.04 or can be installed from a custom PPA.
5555

56-
```bash tab="Linux (Ubuntu)"
57-
sudo apt-get update && sudo apt-get install libsodium-dev
58-
```
59-
60-
```bash tab="Mac OS"
61-
brew install libsodium
62-
```
56+
=== "Linux (Ubuntu)"
57+
```bash
58+
sudo apt-get update && sudo apt-get install libsodium-dev
59+
```
60+
=== "Mac OS"
61+
```bash
62+
brew install libsodium
63+
```
6364

6465
3. Follow the steps in the [After Install](#after-install) section below
6566

theme/assets/stylesheets/extra.css

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,3 +81,45 @@
8181
background-color: #3a3a3a;
8282
}
8383
}
84+
85+
/* For displaying tabs by `pymdownx.tabbed` extension */
86+
.tabbed-set {
87+
display: flex;
88+
position: relative;
89+
flex-wrap: wrap;
90+
}
91+
92+
.tabbed-set .highlight {
93+
background: #ddd;
94+
}
95+
96+
.tabbed-set .tabbed-content {
97+
display: none;
98+
order: 99;
99+
width: 100%;
100+
}
101+
102+
.tabbed-set label {
103+
width: auto;
104+
margin: 0 0.5em;
105+
padding: 0.25em;
106+
font-size: 120%;
107+
cursor: pointer;
108+
}
109+
110+
.tabbed-set input {
111+
position: absolute;
112+
opacity: 0;
113+
}
114+
115+
.tabbed-set input:nth-child(n+1) {
116+
color: #333333;
117+
}
118+
119+
.tabbed-set input:nth-child(n+1):checked + label {
120+
color: #ff5252;
121+
}
122+
123+
.tabbed-set input:nth-child(n+1):checked + label + .tabbed-content {
124+
display: block;
125+
}

0 commit comments

Comments
 (0)