73 lines
1.3 KiB
SCSS
73 lines
1.3 KiB
SCSS
@use "./variables.scss" as *;
|
|
|
|
.page > #quartz-body {
|
|
@media all and ($desktop) {
|
|
grid-template-columns: 420px auto 280px;
|
|
}
|
|
@media all and ($tablet) {
|
|
grid-template-columns: 420px auto;
|
|
}
|
|
}
|
|
|
|
body.threadwell-wide .page {
|
|
max-width: none;
|
|
}
|
|
|
|
body.threadwell-wide .page > #quartz-body {
|
|
grid-template-columns: minmax(0, 1fr) !important;
|
|
grid-template-areas:
|
|
"grid-header"
|
|
"grid-center"
|
|
"grid-footer" !important;
|
|
}
|
|
|
|
body.threadwell-wide .sidebar.left,
|
|
body.threadwell-wide .sidebar.right {
|
|
display: none !important;
|
|
}
|
|
|
|
body.threadwell-wide .center,
|
|
body.threadwell-wide .center > article {
|
|
max-width: 46rem !important;
|
|
min-width: 0 !important;
|
|
width: 100% !important;
|
|
margin-inline: auto;
|
|
}
|
|
|
|
article img {
|
|
cursor: zoom-in;
|
|
max-width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
.threadwell-wide-btn {
|
|
display: inline-block;
|
|
margin: 0 0 0.75rem 0;
|
|
padding: 0.25rem 0.6rem;
|
|
border: 1px solid var(--gray);
|
|
border-radius: 6px;
|
|
background: var(--light);
|
|
color: var(--dark);
|
|
cursor: pointer;
|
|
font: inherit;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.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;
|
|
}
|