Skip to content

Commit b5b8b18

Browse files
authored
Merge pull request #10 from openinfradev/update_site_template
feature. update site templates
2 parents 9c91bce + a2db728 commit b5b8b18

File tree

2 files changed

+53
-2
lines changed

2 files changed

+53
-2
lines changed

docs/assets/css/extra.css

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
:root {
2+
--md-primary-fg-color: olivedrab;
3+
--md-primary-fg-color--light: lightgreen;
4+
--md-primary-fg-color--dark: darkgreen;
5+
}
6+
7+
.md-header__button.md-logo img, .md-header__button.md-logo svg {
8+
height: 2rem;
9+
width: 2rem;
10+
}
11+
12+
[data-md-color-scheme="slate"] {
13+
--md-hue: 210;
14+
}

mkdocs.yml

Lines changed: 39 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,52 @@ repo_url: https://github.com/openinfradev/decapod-docs
44
theme:
55
language: kr
66
name: material
7-
palette:
8-
primary: green
7+
palette:
8+
- scheme: default
9+
toggle:
10+
icon: material/toggle-switch-off-outline
11+
name: Switch to dark mode
12+
- scheme: slate
13+
toggle:
14+
icon: material/toggle-switch
15+
name: Switch to light mode
16+
features:
17+
- navigation.indexes
18+
- navigation.instant
19+
- navigation.top
20+
- navigation.tracking
21+
- navigation.instant
22+
- navigation.tabs
23+
- navigation.tabs.sticky
24+
- navigation.expand
25+
- toc.integrate
26+
- content.code.annotate
27+
- content.tabs.link
28+
- search.highlight
29+
- search.share
30+
- search.suggest
31+
highlightjs: true
32+
933
plugins:
1034
- search
35+
36+
extra_css:
37+
- assets/css/extra.css
38+
1139
markdown_extensions:
1240
- admonition
1341
- codehilite
42+
- attr_list
43+
- pymdownx.details
1444
- pymdownx.highlight
1545
- pymdownx.superfences
46+
- pymdownx.emoji
47+
- pymdownx.critic
48+
- pymdownx.caret
49+
- pymdownx.keys
50+
- pymdownx.mark
51+
- pymdownx.tilde
52+
1653
nav:
1754
- Overview: index.md
1855
- Concepts:

0 commit comments

Comments
 (0)