Skip to content
This repository has been archived by the owner on Mar 12, 2023. It is now read-only.

Commit

Permalink
Style copy button
Browse files Browse the repository at this point in the history
  • Loading branch information
otoyo committed Feb 27, 2023
1 parent 913f2c6 commit a963536
Showing 1 changed file with 20 additions and 3 deletions.
23 changes: 20 additions & 3 deletions styles/notion-block.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,36 @@
display: block;
width: 100%;
}
.code > div:first-child {
background: rgb(247, 246, 243);
border-radius: var(--radius);
}
.code > div div {
display: flex;
justify-content: flex-end;
}
.code button {
display: block;
width: 4rem;
border: 0;
border-radius: var(--radius);
background-color: rgba(227, 226, 224, 0.5);
color: var(--fg);
line-height: 1.2rem;
cursor: pointer;
}
.code pre {
display: block;
overflow: auto;
padding: 2rem;
background: rgb(247, 246, 243);
padding: 0.8rem 2rem 2rem;
font-size: 0.9rem;
line-height: 1.2rem;
border-radius: var(--radius);
}
.code pre code {
color: var(--fg);
padding: 0;
background: rgb(247, 246, 243) !important;
border-radius: 0;
}

.callout {
Expand Down

0 comments on commit a963536

Please sign in to comment.