style: search models style

This commit is contained in:
jialin
2024-08-23 17:17:02 +08:00
parent 76444f28cb
commit a60be9c88f
24 changed files with 571 additions and 115 deletions
@@ -0,0 +1,46 @@
.high-light-wrapper {
text-align: left;
.hljs {
font-weight: var(--font-weight-normal);
padding-inline: 0;
padding-block: 1.2em;
&::-webkit-scrollbar {
height: 8px;
}
&::-webkit-scrollbar-thumb {
background-color: rgba(211, 211, 220, 50%);
border-radius: 6px;
&:hover {
background-color: rgba(190, 190, 190, 100%);
}
}
&::-webkit-scrollbar-track {
background-color: transparent;
}
}
.code-pre {
padding-inline: 12px 32px;
position: relative;
border-radius: var(--border-radius-mini);
.copy-button {
position: absolute;
top: 6px;
right: 6px;
}
&.dark {
background-color: #282c34;
}
&.light {
background-color: rgb(250, 250, 250);
}
}
}