Skip to content

Commit ad56870

Browse files
committed
code theme
1 parent aaa51f4 commit ad56870

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

docs/src/assets/custom.css

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,17 @@ pre .copy-button:focus, pre .copy-button:hover {
9090
.textarea, .input, #documenter .docs-sidebar form.docs-search > input {
9191
box-shadow: none;
9292
}
93+
.select select:focus, .textarea:focus, .input:focus, #documenter .docs-sidebar form.docs-search > input:focus, .select select.is-focused, .is-focused.textarea, .is-focused.input, #documenter .docs-sidebar form.docs-search > input.is-focused, .select select:active, .textarea:active, .input:active, #documenter .docs-sidebar form.docs-search > input:active, .select select.is-active, .is-active.textarea, .is-active.input, #documenter .docs-sidebar form.docs-search > input.is-active {
94+
border-color: #dbdbdb;
95+
box-shadow: none;
96+
}
97+
.select select:hover, .textarea:hover, .input:hover, #documenter .docs-sidebar form.docs-search > input:hover, .select select.is-hovered, .is-hovered.textarea, .is-hovered.input, #documenter .docs-sidebar form.docs-search > input.is-hovered {
98+
border-color: #dbdbdb;
99+
}
100+
#documenter .docs-sidebar ul.docs-menu li.is-active ul.internal .tocitem:hover {
101+
background-color: transparent;
102+
}
103+
93104
html.theme--documenter-dark .input, html.theme--documenter-dark #documenter .docs-sidebar form.docs-search > input, html.theme--documenter-dark .textarea {
94105
border-color: #2f353b;
95106
}
@@ -131,7 +142,8 @@ html.theme--documenter-dark #documenter .docs-sidebar ul.docs-menu .tocitem, htm
131142
}
132143

133144
html.theme--documenter-dark code {
134-
background-color: rgba(52, 57, 65, 1);
145+
/* background-color: rgba(52, 57, 65, 1); */
146+
background-color: rgba(35, 42, 52, 1);
135147
}
136148

137149
/* Set the style for the header [dark theme]*/

0 commit comments

Comments
 (0)