Skip to content

Commit

Permalink
css update to distinguish inline code and code blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
ymahlich committed Jan 26, 2025
1 parent 69a1e90 commit 7a7452e
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions docs/assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -139,15 +139,23 @@ body {
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.05);
}

code {
/* inline code */
code.highlighter-rouge{
background: white;
border: 1px solid #ccc;

}

/* code block */
div.highlighter-rouge {
background-color: white;
width: 60%;
border: 1px solid #ccc;
padding: 2.5px;

}


/*
pre > code.language-bash {
background-color: white;
width: 60%;
Expand All @@ -164,6 +172,7 @@ pre > code.language-python {
overflow-x: auto;
border: 1px solid #ccc;
}
*/
/*
.hamburger {
display: none;
Expand Down

0 comments on commit 7a7452e

Please sign in to comment.