This commit is contained in:
lyf
2024-08-08 21:07:03 +08:00
parent 036358de7c
commit 44787637f2
2 changed files with 41 additions and 2 deletions

View File

@@ -272,7 +272,6 @@ div.math {
pre {
position: relative;
&:hover .copy-code-button {
pointer-events: all;
transform: translateX(0px);
@@ -302,6 +301,17 @@ pre {
opacity: 1;
}
}
.show-hide-button {
width: 100%;
height: 20px;
line-height: 20px;
position: absolute;
text-align: center;
bottom: 0;
cursor: pointer;
color: white;
background: linear-gradient(rgba(0,0,0,.3), #1a1b26);
}
}
.clickable {