mirror of
https://github.com/supabase/supabase.git
synced 2026-07-06 21:44:22 +08:00
• broken the header links • we can now use components in blog posts • added <CodeBlock> to one of the posts to show JS example • added Copy button to CodeBlock, which can also be hidden.
26 lines
387 B
CSS
26 lines
387 B
CSS
.code-block {
|
|
@apply rounded-b-lg;
|
|
/* padding-top: 8px !important; */
|
|
@apply border border-gray-600;
|
|
}
|
|
|
|
.code-block::before {
|
|
content: '';
|
|
background: #1e1e1e;
|
|
height: 10px;
|
|
width: 48px;
|
|
display: block;
|
|
}
|
|
|
|
.code-block::after {
|
|
content: '';
|
|
background: #1e1e1e;
|
|
height: 12px;
|
|
width: 48px;
|
|
display: block;
|
|
}
|
|
|
|
.code-block code .linenumber {
|
|
margin-right: 4px;
|
|
}
|