refactoring

This commit is contained in:
Philipp Kühn 2021-02-02 15:06:23 +01:00
parent 5cf13584b4
commit 19900705b3
3 changed files with 7 additions and 2 deletions

View File

@ -188,6 +188,7 @@ code {
> p > img {
max-width: 100%;
border-radius: 0.75rem;
}
:first-child {
@ -299,7 +300,7 @@ code {
justify-content: center;
height: 1.5rem;
width: 1.5rem;
background-color: rgba($colorBlack, 0.1);
background-color: rgba($colorBlack, 0.05);
border-radius: 9999px;
color: $colorBlack;
font-size: 0.75rem;

View File

@ -47,6 +47,10 @@ pre[class*="language-"] {
padding: 1.25rem !important;
border-radius: 0.75rem;
max-height: unquote("max(300px, 60vh)");
&::-webkit-scrollbar-thumb {
background-color: rgba($colorWhite, 0.2);
}
}
pre[class*="language-"].language-css > code,

View File

@ -213,7 +213,7 @@ $menuBreakPoint: 800px;
display: flex;
justify-content: space-between;
padding: 0.25rem 0.5rem;
border-radius: 5px;
border-radius: 0.4rem;
font-size: 0.85rem;
margin-left: -0.5rem;
white-space: nowrap;