Skip to content

Commit 51a2ccf

Browse files
OptimusLimejpchen
authored andcommitted
Improved source coloring for docs and examples. (pyro-ppl#492)
1 parent 886b74f commit 51a2ccf

File tree

2 files changed

+28
-4
lines changed

2 files changed

+28
-4
lines changed

docs/source/_static/css/pyro.css

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,29 @@
11
@import url("theme.css");
22

33
.wy-side-nav-search {
4-
background-color: #dddddd;
4+
background-color: #565656;
55
}
66

77
.wy-side-nav-search a {
88
margin: 0
99
}
1010

1111
.wy-side-nav-search > div.version {
12-
color: #000000;
12+
color: #f26822;
1313
}
1414

1515
.wy-nav-top {
1616
background: #404040;
1717
}
18+
19+
.wy-menu-vertical li.on a, .wy-menu-vertical li.current>a {
20+
background: #ccc;
21+
}
22+
23+
.wy-side-nav-search input[type=text] {
24+
border-color: #313131;
25+
}
26+
27+
.wy-side-nav-search>a img.logo, .wy-side-nav-search .wy-dropdown>a img.logo {
28+
max-width: 60%;
29+
}
Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,29 @@
11
@import url("theme.css");
22

33
.wy-side-nav-search {
4-
background-color: #dddddd;
4+
background-color: #565656;
55
}
66

77
.wy-side-nav-search a {
88
margin: 0
99
}
1010

1111
.wy-side-nav-search > div.version {
12-
color: #000000;
12+
color: #f26822;
1313
}
1414

1515
.wy-nav-top {
1616
background: #404040;
1717
}
18+
19+
.wy-menu-vertical li.on a, .wy-menu-vertical li.current>a {
20+
background: #ccc;
21+
}
22+
23+
.wy-side-nav-search input[type=text] {
24+
border-color: #313131;
25+
}
26+
27+
.wy-side-nav-search>a img.logo, .wy-side-nav-search .wy-dropdown>a img.logo {
28+
max-width: 60%;
29+
}

0 commit comments

Comments
 (0)