This commit is contained in:
lyf
2024-08-10 12:45:50 +08:00
parent 8f759d1c3e
commit 6f75ef8f0a
2 changed files with 72 additions and 25 deletions

View File

@@ -301,10 +301,15 @@ pre {
opacity: 1;
}
}
}
code{
.show-hide-button {
border-radius: 10px;
position: absolute;
top: 0;
left: 0;
right: 0;
width: 100%;
margin: auto;
height: fit-content;
@@ -322,11 +327,15 @@ pre {
background: #464e4e;
}
}
.expanded {
background-image: none;
}
.collapsed {
background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.06));
}
}
.clickable {
cursor: pointer;