diff options
| author | Francesco Tomaselli <tomaselli.fr@gmail.com> | 2025-04-01 12:06:46 +0200 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-01 12:06:46 +0200 | 
| commit | 9794243a3ff85aae024d6a8f7439702cc66f3f73 (patch) | |
| tree | a3a8d7d15430493c40c63b7fad0cbb6f547877f1 /assets/css | |
| parent | 133124affd2a9a2ef4c0d4a9867622b44b8153c6 (diff) | |
| parent | 1a13eb30da1483519c20ca8d075d85c816c2ff4e (diff) | |
Merge pull request #111 from tomfran/revert-110-main
Revert "fix: copy button position"
Diffstat (limited to 'assets/css')
| -rw-r--r-- | assets/css/main.css | 23 | 
1 files changed, 8 insertions, 15 deletions
| diff --git a/assets/css/main.css b/assets/css/main.css index 63fa220..033e3cc 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -66,7 +66,7 @@ li {      list-style-type: none;    } -  &>input[type="checkbox"] { +  & > input[type="checkbox"] {      width: var(--li-checkbox-size);      height: var(--li-checkbox-size);      margin: 0 0.2em 0.15em -1.25em; @@ -86,24 +86,17 @@ input {  /* Code blocks */ -.highlight { -  position: relative; -} - - -.copy-code-container { -  position: absolute; -  top: 10px; -  right: 10px; -  z-index: 10; -} -  .copy-code-button {    background-color: var(--background);    font-family: var(--font-mono);    padding: 3px 6px; -  font-size: .8em; +  font-size: 0.8em;    border-radius: var(--copy-code-button-border-radius); +  position: absolute; +  top: 10px; +  right: 10px; +  z-index: 1; +  display: none;    border: 1px solid var(--code-border);  } @@ -606,4 +599,4 @@ blockquote {  blockquote p {    margin-left: 1rem;    margin-right: 1rem; -}
\ No newline at end of file +} | 
