Template
Codeblock/styles.css
From Dogcraft Wiki
.clip-codeblock.mw-collapsed {
max-height: calc(10em * 1.25);
overflow-y: hidden;
position: relative;
}
.clip-codeblock-toggle {
background: #f0f0f0;
color: #72777d;
padding: 2px 0;
border-top: 2px solid #f8f8f8;
width: 100%;
height: 1.25rem;
font-size: 80%;
display: flex;
justify-content: center;
align-items: center;
box-sizing: border-box;
}
.mw-collapsed .clip-codeblock-toggle {
position: absolute;
top: calc(9em * 1.25);
}
This page was last modified on 1 February 2026, at 01:42. (38 hours ago)