Skip to content

Commit e11e875

Browse files
committed
Towards AI-on-Demand styling
1 parent 0906622 commit e11e875

File tree

3 files changed

+29
-0
lines changed

3 files changed

+29
-0
lines changed
12.2 KB
Loading

docs/stylesheets/extra.css

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
:root > * {
2+
--md-primary-fg-color: #0047BB;
3+
}
4+
5+
/* AIOD colors
6+
dark blue: #0047BB
7+
alternative dark blue: #003399:
8+
light blue: #41B6E6
9+
yellow: #FFED00
10+
dark gray: #646567
11+
light gray: #C5C6C8
12+
*/
13+
14+
/* At the default height and margin, the logo for AIoD is not recognizable. */
15+
.md-header__button.md-logo {
16+
margin: 0;
17+
padding: 0;
18+
}
19+
20+
.md-header__button.md-logo img, .md-header__button.md-logo svg {
21+
height: 2.4rem;
22+
width: 2.4rem;
23+
}

mkdocs.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ repo_url: https://github.com/aiondemand/AIOD-rest-api
44
edit_uri: edit/develop/docs/
55
theme:
66
name: material
7+
logo: assets/secondary-neg-white-25p.webp
78
features:
89
- content.code.copy
910
- navigation.footer
@@ -12,6 +13,8 @@ theme:
1213
icon:
1314
edit: material/pencil
1415
view: material/eye
16+
font:
17+
text: 'Montserrat'
1518
palette:
1619
# Palette toggle for light mode
1720
- media: "(prefers-color-scheme: light)"
@@ -27,6 +30,9 @@ theme:
2730
icon: material/brightness-4
2831
name: Switch to light mode
2932

33+
extra_css:
34+
- stylesheets/extra.css
35+
3036

3137
nav:
3238
- Home: README.md

0 commit comments

Comments
 (0)