html,
body {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
overflow: hidden;
background: black;
font-family: "Spectral", serif;
}
a {
color: white;
}
.scene-tooltip {
background: black;
color: white !important;
padding: 4px;
max-width: 250px;
text-align: center;
font-size: 1rem !important;
line-height: 1.5;
font-family: "Spectral", serif !important;
opacity: 1;
}
.scene-tooltip:empty {
opacity: 0;
}
.scene-nav-info {
display: none !important;
}
#app {
width: 100%;
height: 100%;
}
/* intro */
.intro {
box-sizing: border-box;
width: 100%;
height: 100%;
transition: opacity 0.2s;
background: #333;
opacity: 1;
}
.intro.done {
opacity: 0;
}
.intro-image {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-size: cover;
background-position: center center;
transition: opacity 0.5s;
pointer-events: auto;
cursor: pointer;
opacity: 1;
}
.intro-image.playing {
pointer-events: none;
opacity: 0;
}
.intro-video {
position: absolute;
top: 50%;
left: 50%;
transform: translate3d(-50%, -50%, 0);
pointer-events: none;
}
.intro-video iframe {
width: 100%;
height: 100%;
pointer-events: none;
}
.curtain {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: black;
transition: opacity 2s;
opacity: 1;
}
.curtain.done {
opacity: 0;
pointer-events: none;
}
.intro-text .legend,
.intro-text .quote,
.intro-text .site-title,
.intro-text .credits-link {
transition-duration: 2s !important;
}
/** Legend */
.legend {
position: absolute;
bottom: 3rem;
left: 0;
font-size: 0.875rem;
line-height: 1.75;
margin: 0 2rem;
/*background: rgba(64, 64, 64, 0.5);*/
color: #fff;
text-shadow: 0 0 2px #000;
transition: opacity 0.2s;
opacity: 0;
pointer-events: none;
}
.legend.visible {
opacity: 1;
pointer-events: auto;
}
.legend .category {
cursor: pointer;
}
.legend .category:hover {
text-decoration: underline;
opacity: 1;
}
.legend .selected {
text-decoration: underline;
}
.legend .unselected {
opacity: 0.8;
}
.legend .removeSelection {
cursor: pointer;
opacity: 0.6;
margin-bottom: 0.5rem;
}
.legend .removeSelection:hover {
opacity: 0.8;
text-decoration: underline;
}
/** Detail view */
.detail {
position: absolute;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
pointer-events: none;
transition: opacity 0.2s;
opacity: 0;
background: rgba(64, 64, 64, 0.9);
color: white;
display: flex;
flex-direction: row;
}
.detail.visible {
opacity: 1;
pointer-events: auto;
}
.detail > div {
height: 100vh;
width: 50vw;
}
.detail > div.content {
height: auto;
}
.detail .content > div {
min-height: 100%;
padding: 3rem 5rem 6rem 5rem;
/*background: rgba(0, 0, 0, 0.5);*/
}
.detail .media {
padding: 3rem 5rem;
}
.detail .content {
overflow-x: hidden;
overflow-y: scroll;
}
.detail .content::-webkit-scrollbar {
width: 0;
opacity: 0;
}
.detail .content > div {
max-width: 600px;
}
.detail .title {
font-size: 1.25rem;
line-height: 1.5;
margin-bottom: 2rem;
}
.detail .title .index {
margin-bottom: 0.75rem;
}
.detail .citation {
font-size: 1rem;
line-height: 1.5;
margin-bottom: 2rem;
}
.detail .description {
font-size: 1rem;
line-height: 1.75;
}
/** Image galleries */
.gallery {
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
}
.gallery .image img {
cursor: pointer;
max-height: calc(100vh - 12rem);
max-width: 100%;
transition: opacity 100ms;
}
.buttons {
width: 100%;
text-align: right;
}
.buttons.close {
margin-bottom: 1rem;
}
.buttons img {
cursor: pointer;
height: 1.5rem;
}
.gallery .buttons {
margin-top: 1rem;
}
.gallery .buttons.arrows div {
display: inline-block;
}
/** Videos */
.video {
display: flex;
height: calc(100vh - 12rem);
width: 100%;
}
.video > div,
.video iframe {
width: 100%;
height: 100%;
}
/** Clocks */
.clocks {
display: flex;
flex-direction: row;
width: 100%;
height: calc(100vh - 12rem);
align-items: center;
justify-content: space-evenly;
}
/** Quote */
.quote {
position: absolute;
top: 3.5rem;
right: 2rem;
font-size: 0.875rem;
color: #fff;
transition: opacity 0.2s;
opacity: 0;
pointer-events: none;
text-shadow: 0 0 2px #000;
}
.quote.visible {
opacity: 1;
}
.quote div {
text-align: right;
}
.quote div:last-child {
margin-top: 0.875rem;
}
/** Title */
.site-title {
position: absolute;
left: 50%;
top: 3rem;
transform: translateX(-50%);
color: #fff;
transition: opacity 0.2s;
opacity: 0;
pointer-events: none;
text-shadow: 0 0 2px #000;
}
.site-title.visible {
opacity: 1;
}
.site-title img {
height: 1.5rem;
}
/** Credits */
.credits-link {
position: absolute;
right: 0;
bottom: 2rem;
color: #fff;
transition: opacity 0.2s;
margin: 1rem 2rem;
opacity: 0;
pointer-events: none;
cursor: pointer;
text-shadow: 0 0 2px #000;
}
.credits-link.visible {
opacity: 1;
pointer-events: auto;
}
.credits-link:hover {
text-decoration: underline;
}
.credits {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
overflow-y: scroll;
background: rgba(64, 64, 64, 0.9);
color: #fff;
transition: opacity 0.5s;
opacity: 0;
pointer-events: none;
}
.credits.visible {
opacity: 1;
pointer-events: auto;
}
.credits .inner {
padding: 3rem;
}
.credits .row,
.credits .bibliography {
width: 100%;
display: flex;
flex-direction: row;
align-items: flex-start;
justify-content: space-evenly;
}
.credits .row .column {
width: 33%;
padding: 0.5rem 2rem 1rem 2rem;
position: relative;
}
.credits .bibliography-title {
margin-top: 3rem;
}
.credits .bibliography .column {
width: 25%;
padding: 1rem 2rem;
}
.credits {
font-size: 1rem;
}
.credits h2 {
width: 100%;
text-align: center;
font-weight: normal;
font-size: 1rem;
margin-top: 0;
padding-top: 0;
margin-bottom: 1.5rem;
}
.credits .logos {
margin-top: 1rem;
display: flex;
flex-flow: row wrap;
align-items: center;
justify-content: space-evenly;
padding: 0 1rem;
}
.credits .logos img {
max-height: 75px;
max-width: 300px;
margin-right: 1rem;
}
.credits-rows {
margin-bottom: 1rem;
}
.credits-rows > div {
display: flex;
flex-direction: row;
align-items: flex-end;
}
.credits-rows a,
.credits-rows span {
font-weight: bold;
}
.credits-rows a {
text-decoration: underline;
}
.credits-rows > div > div:first-child {
padding-right: 0.25rem;
}
.credits .close {
position: absolute;
top: 1rem;
right: 2rem;
cursor: pointer;
height: 1.5rem;
}
.intro .close {
position: absolute;
top: 3rem;
right: 2rem;
cursor: pointer;
height: 1.5rem;
}
/** landscape warning */
.landscape-warning {
position: fixed;
top: 0;
left: 0;
z-index: 3;
width: 100%;
height: 100%;
background: #111111;
color: #fff;
font-family: "Helvetica", sans-serif;
font-size: 16px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.landscape-warning .landscape-message {
margin: 2rem 0;
text-align: center;
}
.landscape-warning path {
fill: #fff;
}
.landscape-warning .rotate-icon {
width: 2rem;
height: 2rem;
margin-bottom: -0.5rem;
}
.landscape-warning .phone-icon {
width: 3rem;
height: 3rem;
transform: rotate(90deg);
}
.landscape-warning .last-museum-logo {
width: 8rem;
}
@media only screen and (max-height: 500px) {
.intro .close {
top: 1rem;
right: 1rem;
}
.site-title {
top: 1rem;
}
.site-title img {
height: 1rem;
}
.quote {
top: 1rem;
right: 1rem;
font-size: 0.75rem;
}
.credits-link {
bottom: 0;
right: 0;
margin: 0;
padding: 1rem;
}
.legend {
bottom: 1rem;
left: 1rem;
margin: 0;
}
.scene-tooltip {
display: none !important;
}
/* detail */
.detail {
flex-direction: column-reverse;
overflow-y: scroll;
}
.detail .media {
box-sizing: border-box;
padding: 0;
}
.gallery {
margin-top: 3rem;
position: relative;
}
.gallery .buttons.arrows {
position: absolute;
bottom: 0;
right: 1rem;
width: auto;
}
.gallery .buttons.arrows div {
margin: 0 0.25rem;
width: 1.5rem;
height: 1.5rem;
padding: 0.25rem;
text-align: center;
}
.buttons.close {
width: auto;
position: fixed;
top: 0;
right: 0;
padding: 1rem;
margin: 0;
z-index: 1;
}
.detail > div {
width: 100%;
}
.gallery .image img {
max-height: calc(100vh - 4rem);
}
.clocks {
height: calc(100vh - 6rem);
}
.video {
margin-top: 4rem;
height: calc(100vh - 2rem);
}
.detail .content {
overflow: visible;
}
.detail .content > div {
padding: 1rem 3rem;
}
/* credits */
.credits .row,
.credits .bibliography {
flex-direction: column;
}
.credits .row .column {
width: 100%;
padding: 0 0 1rem 0;
position: static;
}
.credits .row .column:first-child {
padding-top: 2rem;
}
.credits h2 {
margin-top: 0.5rem;
}
.credits .inner {
padding: 1rem;
}
.credits .close {
position: fixed;
right: 1rem;
}
.credits .bibliography .column {
width: 100%;
padding: 0 0;
}
.credits .logos {
padding: 0;
}
.credits .logos a {
padding: 0.5rem;
}
}