Change how CW-ed posts look

Hides content, widens the padding on "Show content" and "Hide" buttons
This commit is contained in:
Jeder 2023-07-26 00:27:08 +02:00 committed by aprilthepink
parent 67525f87b3
commit 07587bbce5
3 changed files with 5 additions and 12 deletions

View file

@ -91,7 +91,7 @@ defineExpose({
> span {
display: inline-block;
background: var(--panel);
padding: 0.4em 1em;
padding: 0.4em 3em;
font-size: 0.8em;
border-radius: 999px;
box-shadow: 0 2px 6px rgb(0 0 0 / 20%);
@ -111,7 +111,7 @@ defineExpose({
> span {
display: inline-block;
background: var(--panel);
padding: 6px 10px;
padding: 0.4em 3em;
font-size: 0.8em;
border-radius: 999px;
box-shadow: 0 0 7px 7px var(--bg);

View file

@ -47,7 +47,7 @@ defineExpose({
> span {
display: inline-block;
background: var(--panel);
padding: 0.4em 1em;
padding: 0.4em 3em;
font-size: 0.8em;
border-radius: 999px;
box-shadow: 0 2px 6px rgb(0 0 0 / 20%);
@ -68,7 +68,7 @@ defineExpose({
> span {
display: inline-block;
background: var(--panel);
padding: 6px 10px;
padding: 0.4em 3em;
font-size: 0.8em;
border-radius: 999px;
box-shadow: 0 0 7px 7px var(--bg);

View file

@ -393,14 +393,7 @@ function focusFooter(ev) {
> .body {
min-height: 2em;
max-height: 5em;
filter: blur(4px);
:deep(span) {
animation: none !important;
transform: none !important;
}
:deep(img) {
filter: blur(12px);
}
visibility: hidden;
}
:deep(.fade) {
inset: 0;