mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-22 12:20:34 +00:00
Docs: optimize codeblock (#259)
Signed-off-by: Carson Yang <yangchuansheng33@gmail.com>
This commit is contained in:
@@ -4,4 +4,21 @@
|
||||
display: block !important;
|
||||
margin: 0 auto !important;
|
||||
border-radius: .25rem;
|
||||
}
|
||||
|
||||
div.code-toolbar {
|
||||
padding-top: 1.95rem !important;
|
||||
}
|
||||
|
||||
.docs-content .main-content pre code::before {
|
||||
background: #fc625d;
|
||||
border-radius: 50%;
|
||||
box-shadow: 20px 0 #fdbc40, 40px 0 #35cd4b;
|
||||
content: ' ';
|
||||
height: 12px;
|
||||
left: 12px;
|
||||
margin-top: -21px;
|
||||
position: absolute;
|
||||
width: 12px;
|
||||
z-index: 1;
|
||||
}
|
Reference in New Issue
Block a user