Files
NotionNext/styles/prism-mac-style.css
2022-12-24 13:09:12 +08:00

59 lines
950 B
CSS

/**
* @author https://github.com/txs
**/
.code-toolbar {
position: relative;
/* box-shadow: 0 10px 30px 0 rgba(0, 0, 0, .4); */
padding-bottom: 0 !important;
/* @apply mb-8 mt-4 pt-6 w-full rounded-lg bg-black */
@apply w-full rounded-lg
}
.toolbar {
position: absolute;
margin-left: 100%;
top: 8px;
right: 4px;
display: flex;
flex-direction: row;
font-size: 0.8rem;
line-height: 1rem;
}
.toolbar-item{
@apply whitespace-nowrap
}
.toolbar-item > button {
margin-top: -0.1rem;
}
/* .notion-code > code[class*='language-'],
pre[class*='language-'] {
background: black;
} */
.pre-mac {
position: absolute;
left: 15px;
@apply z-10 top-4 left-3
}
.pre-mac > span {
border-radius: 50%;
margin-right: 5px;
@apply float-left
}
.pre-mac > span:nth-child(1) {
background: red;
}
.pre-mac > span:nth-child(2) {
background: sandybrown;
}
.pre-mac > span:nth-child(3) {
background: limegreen;
}