Files
Threadwell/publish/quartz.custom.scss
T
2026-08-25 16:26:52 -04:00

62 lines
1.1 KiB
SCSS

@use "./variables.scss" as *;
.page > #quartz-body {
@media all and ($desktop) {
grid-template-columns: 260px minmax(0, 1fr) 220px;
}
@media all and ($tablet) {
grid-template-columns: 260px minmax(0, 1fr);
}
}
body.threadwell-wide .page > #quartz-body {
@media all and ($desktop) {
grid-template-columns: 0 minmax(0, 1fr) 0;
}
@media all and ($tablet) {
grid-template-columns: 0 minmax(0, 1fr);
}
}
body.threadwell-wide .page > #quartz-body > .left,
body.threadwell-wide .page > #quartz-body > .right {
display: none;
}
article img {
cursor: zoom-in;
max-width: 100%;
height: auto;
}
.threadwell-wide-btn {
position: fixed;
right: 1rem;
bottom: 1rem;
z-index: 40;
padding: 0.4rem 0.7rem;
border: 1px solid var(--gray);
border-radius: 6px;
background: var(--light);
color: var(--dark);
cursor: pointer;
}
.threadwell-zoom {
position: fixed;
inset: 0;
z-index: 80;
display: flex;
align-items: center;
justify-content: center;
background: rgba(0, 0, 0, 0.88);
cursor: zoom-out;
}
.threadwell-zoom img {
max-width: 96vw;
max-height: 96vh;
object-fit: contain;
cursor: zoom-out;
}