Update better

This commit is contained in:
Dayowe 2025-06-08 22:50:22 +02:00
parent aff9fb8721
commit 6e28d3b273

View File

@ -768,7 +768,7 @@
.dog-calc-code-container pre { .dog-calc-code-container pre {
margin: 0; margin: 0;
padding: 16px; padding: 16px 60px 16px 16px;
overflow-x: auto; overflow-x: auto;
} }
@ -781,18 +781,29 @@
.dog-calc-copy-btn { .dog-calc-copy-btn {
position: absolute; position: absolute;
top: 10px; top: 8px;
right: 10px; right: 8px;
padding: 6px 12px; padding: 6px 10px;
background: #f19a5f; background: #f19a5f;
color: white; color: white;
border: none; border: none;
border-radius: 4px; border-radius: 4px;
font-size: 0.85rem; font-size: 0.8rem;
font-weight: 500; font-weight: 500;
cursor: pointer; cursor: pointer;
transition: all 0.2s ease; transition: all 0.2s ease;
font-family: inherit; font-family: inherit;
z-index: 1;
}
/* Light theme code containers */
.dog-calc-theme-light .dog-calc-code-container {
background: #f8f5fa;
border: 1px solid #e8e3ed;
}
.dog-calc-theme-light .dog-calc-code-container code {
color: #312b3b;
} }
.dog-calc-copy-btn:hover { background: #e87741; } .dog-calc-copy-btn:hover { background: #e87741; }