Skip to content

Commit

Permalink
anew
Browse files Browse the repository at this point in the history
  • Loading branch information
utksi committed Jan 17, 2025
1 parent d70b994 commit 7d73a7c
Showing 1 changed file with 29 additions and 19 deletions.
48 changes: 29 additions & 19 deletions _sass/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1014,28 +1014,38 @@ figure.highlight {
margin: 0;
border: none;
width: 100%;
border-spacing: 0;

td {
padding: 0;
}

pre {
margin: 0;
white-space: pre;
}

.gutter {
width: 50px;
background: rgba(0,0,0,0.04);
border-right: 1px solid rgba(0,0,0,0.1);
color: rgba(0,0,0,0.4);
text-align: right;
padding-right: 10px;
user-select: none;
}

.code {
padding-left: 10px;
border: none;

&.gutter {
width: 50px;
min-width: 50px;
background: rgba(0,0,0,0.04);
border-right: 1px solid rgba(0,0,0,0.1);

pre {
margin: 0;
padding: 1rem;
text-align: right;
color: rgba(0,0,0,0.4);
user-select: none;
white-space: nowrap;
}
}

&.code {
width: 100%;

pre {
margin: 0;
padding: 1rem;
overflow-x: auto;
white-space: pre;
}
}
}
}
}
Expand Down

0 comments on commit 7d73a7c

Please sign in to comment.