Skip to content

Commit 7a7452e

Browse files
committed
css update to distinguish inline code and code blocks
1 parent 69a1e90 commit 7a7452e

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

docs/assets/css/style.css

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,15 +139,23 @@ body {
139139
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.05);
140140
}
141141

142-
code {
142+
/* inline code */
143+
code.highlighter-rouge{
144+
background: white;
145+
border: 1px solid #ccc;
146+
147+
}
148+
149+
/* code block */
150+
div.highlighter-rouge {
143151
background-color: white;
144152
width: 60%;
145153
border: 1px solid #ccc;
146154
padding: 2.5px;
147155

148156
}
149157

150-
158+
/*
151159
pre > code.language-bash {
152160
background-color: white;
153161
width: 60%;
@@ -164,6 +172,7 @@ pre > code.language-python {
164172
overflow-x: auto;
165173
border: 1px solid #ccc;
166174
}
175+
*/
167176
/*
168177
.hamburger {
169178
display: none;

0 commit comments

Comments
 (0)