Skip to content

Commit 5485dcb

Browse files
author
Carlos Santana
authored
carbon look and feel (#454)
Signed-off-by: Carlos Santana <csantana23@gmail.com>
1 parent 4355bd8 commit 5485dcb

File tree

3 files changed

+24
-2
lines changed

3 files changed

+24
-2
lines changed

docs/css/extra.css

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,34 @@
1+
12
:root {
23
--md-default-bg-color: #f4f4f4;
34
}
5+
:root > * {
6+
--md-code-bg-color: #efefef;
7+
--md-accent-fg-color: #030303;
8+
}
49
.md-nav {
510
font-size: .8rem;
611
line-height: 1.4;
712
}
813
.md-grid {
914
max-width: initial;
1015
}
16+
li .md-nav__item--active {
17+
background-color: #e0e0e0;
18+
}
19+
20+
.md-nav__item .md-nav__link--active {
21+
color: #161616;
22+
font-weight: 600;
23+
}
24+
.md-clipboard {
25+
color: #161616;
26+
}
27+
28+
.md-tabs__link {
29+
font-size: .9rem;
30+
}
31+
1132

1233
div.col-md-9 h1:first-of-type {
1334
text-align: center;

mkdocs.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ theme:
1515
palette:
1616
scheme: default
1717
primary: black
18-
accent: blue
1918
font:
2019
text: IBM Plex Sans
2120
code: IBM Plex Mono

overrides/assets/stylesheets/home.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,10 @@
9393
max-width: initial;
9494
}
9595

96-
body {
96+
section {
9797
color: #fff;
98+
}
99+
body {
98100
background: var(--md-primary-fg-color);
99101
background: #5063d0;
100102
background: #0071c7;

0 commit comments

Comments
 (0)