219 lines
3.5 KiB
CSS
219 lines
3.5 KiB
CSS
html,
|
|
body {
|
|
background-color: #fff;
|
|
color: #335;
|
|
font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Helvetica,Arial,sans-serif;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
body {
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
body.no-scroll {
|
|
overflow: hidden;
|
|
}
|
|
|
|
div {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
h1 {
|
|
color: #69c;
|
|
cursor: pointer;
|
|
font-size: 45px;
|
|
font-weight: lighter;
|
|
line-height: 60px;
|
|
margin-bottom: 0;
|
|
margin-left: 30px;
|
|
margin-right: 30px;
|
|
margin-top: 30px;
|
|
}
|
|
|
|
h2 {
|
|
color: #666;
|
|
font-size: 20px;
|
|
font-weight: normal;
|
|
line-height: 30px;
|
|
margin-bottom: 30px;
|
|
margin-left: 30px;
|
|
margin-right: 30px;
|
|
margin-top: 0px;
|
|
}
|
|
|
|
a {
|
|
color: #69c;
|
|
font-size: 18px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.ImageSet h2 {
|
|
border-bottom: 1px solid #eef;
|
|
}
|
|
|
|
.Root-setCovers {
|
|
display: grid;
|
|
gap: 30px;
|
|
margin-top: 30px;
|
|
}
|
|
|
|
.SetCover {
|
|
align-items: center;
|
|
cursor: pointer;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: end;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.ImageSet-location,
|
|
.ImageSet-description,
|
|
.SetCover-location,
|
|
.SetCover-description {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.ImageSet-location:after,
|
|
.SetCover-location:after {
|
|
content: " · ";
|
|
white-space: break-spaces;
|
|
}
|
|
|
|
.ImageSet-navigation {
|
|
display: flex;
|
|
justify-content: center;
|
|
margin: 30px 0;
|
|
}
|
|
|
|
|
|
.Grid {
|
|
margin-bottom: 45px;
|
|
}
|
|
|
|
.Grid-row {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.Grid img {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.BigPicture {
|
|
align-items: center;
|
|
background-color: rgba(0, 0, 0, 0.6);
|
|
bottom: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-evenly;
|
|
left: 0;
|
|
position: fixed;
|
|
right: 0;
|
|
top: 0;
|
|
z-index: 100;
|
|
}
|
|
|
|
.BigPicture-viewport {
|
|
overflow: hidden;
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
position: relative;
|
|
touch-action: none;
|
|
}
|
|
|
|
.BigPicture-track {
|
|
display: flex;
|
|
align-items: center;
|
|
height: 100%;
|
|
will-change: transform;
|
|
}
|
|
|
|
.BigPicture-track.is-dragging {
|
|
cursor: grabbing;
|
|
}
|
|
|
|
.BigPicture-frame {
|
|
align-items: center;
|
|
display: flex;
|
|
justify-content: center;
|
|
max-width: 100%;
|
|
padding: 20px;
|
|
width: 100%;
|
|
}
|
|
|
|
.BigPicture-frame.is-dragging {
|
|
cursor: grabbing;
|
|
}
|
|
|
|
.BigPicture-imageWrapper {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
will-change: transform;
|
|
}
|
|
|
|
.BigPicture-zoomTarget {
|
|
transition: transform 0.2s ease;
|
|
will-change: transform;
|
|
}
|
|
|
|
.BigPicture img {
|
|
transition-duration: 0.2s;
|
|
transition-timing-function: ease-in-out;
|
|
transition-property: height, width, opacity;
|
|
}
|
|
|
|
.BigPicture-footer {
|
|
align-self: center;
|
|
display: flex;
|
|
flex: 0 0 auto;
|
|
justify-content: space-between;
|
|
margin-bottom: 8px;
|
|
max-width: 200px;
|
|
width: 100%;
|
|
}
|
|
|
|
.BigPicture-footerLink {
|
|
color: #69c;
|
|
cursor: pointer;
|
|
font-size: 18px;
|
|
text-decoration: none;
|
|
text-shadow: 0 0 18px rgba(0, 0, 0, .7);
|
|
}
|
|
|
|
.BigPicture-footerLink:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
html,
|
|
body {
|
|
background-color: #111;
|
|
color: #ccf;
|
|
}
|
|
|
|
.ImageSet h2 {
|
|
border-color: #335;
|
|
color: #bbb;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 900px) {
|
|
.Root-setCovers {
|
|
grid-template-columns: 1fr 1fr;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1400px) {
|
|
.Root-setCovers {
|
|
grid-template-columns: 1fr 1fr 1fr;
|
|
}
|
|
}
|