mirror of
https://gitlab.com/MisterBiggs/brain-quartz.git
synced 2025-07-23 23:01:22 +00:00
.github
content
quartz
components
scripts
styles
clipboard.scss
darkmode.scss
legacyToc.scss
toc.scss
ArticleTitle.tsx
Body.tsx
Content.tsx
Darkmode.tsx
Head.tsx
Header.tsx
PageTitle.tsx
ReadingTime.tsx
Spacer.tsx
TableOfContents.tsx
TagList.tsx
index.ts
types.ts
plugins
processors
static
styles
bootstrap-cli.mjs
bootstrap-worker.mjs
build.ts
cfg.ts
log.ts
path.ts
perf.ts
resources.tsx
theme.ts
worker.ts
.gitignore
.prettierrc
CODE_OF_CONDUCT.md
LICENSE.txt
README.md
index.d.ts
package-lock.json
package.json
quartz.config.ts
tsconfig.json
tsconfig.tsbuildinfo
38 lines
568 B
SCSS
38 lines
568 B
SCSS
.clipboard-button {
|
|
position: absolute;
|
|
display: flex;
|
|
float: right;
|
|
right: 0;
|
|
padding: 0.4rem;
|
|
margin: -0.2rem 0.3rem;
|
|
color: var(--gray);
|
|
border-color: var(--dark);
|
|
background-color: var(--light);
|
|
border: 1px solid;
|
|
border-radius: 5px;
|
|
z-index: 1;
|
|
opacity: 0;
|
|
transition: 0.2s;
|
|
|
|
& > svg {
|
|
fill: var(--light);
|
|
filter: contrast(0.3);
|
|
}
|
|
|
|
&:hover {
|
|
cursor: pointer;
|
|
border-color: var(--secondary);
|
|
}
|
|
|
|
&:focus {
|
|
outline: 0;
|
|
}
|
|
}
|
|
|
|
pre {
|
|
&:hover > .clipboard-button {
|
|
opacity: 1;
|
|
transition: 0.2s;
|
|
}
|
|
}
|