added deploy watch, pull script. minor refactors
This commit is contained in:
@@ -33,6 +33,41 @@
|
||||
background-color: var(--surface-hover);
|
||||
}
|
||||
|
||||
.gallery-thumb {
|
||||
position: relative;
|
||||
display: block;
|
||||
padding: 0;
|
||||
border: none;
|
||||
background: none;
|
||||
cursor: pointer;
|
||||
pointer-events: auto;
|
||||
box-shadow: var(--shadow-sm);
|
||||
}
|
||||
.gallery-thumb img {
|
||||
display: block;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* Hover hint that clicking a thumbnail shows it in the main display. The
|
||||
active thumbnail is already there, so it gets no hint. */
|
||||
.gallery-thumb-magnifier {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 3px;
|
||||
color: #fff;
|
||||
background: rgba(0, 0, 0, 0.45);
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
transition: opacity 0.15s ease;
|
||||
}
|
||||
.gallery-thumb:not(.is-active):hover .gallery-thumb-magnifier,
|
||||
.gallery-thumb:not(.is-active):focus-visible .gallery-thumb-magnifier {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.action-button-svg {
|
||||
stroke: var(--fg-secondary);
|
||||
}
|
||||
|
||||
@@ -114,12 +114,22 @@
|
||||
video {
|
||||
max-width: 90vw;
|
||||
}
|
||||
|
||||
/* The gallery sizes its own media; keep the article image rules off it. */
|
||||
.project-details-gallery {
|
||||
max-width: 720px;
|
||||
margin-bottom: 2em;
|
||||
}
|
||||
|
||||
.project-details-gallery img {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
|
||||
.markdown-container {
|
||||
div:last-of-type {
|
||||
> div:last-of-type {
|
||||
margin-bottom: 4em !important;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user