summaryrefslogtreecommitdiff
path: root/public/assets/css/css.css
diff options
context:
space:
mode:
Diffstat (limited to 'public/assets/css/css.css')
-rw-r--r--public/assets/css/css.css97
1 files changed, 97 insertions, 0 deletions
diff --git a/public/assets/css/css.css b/public/assets/css/css.css
index 3d4f9e0..fd62f45 100644
--- a/public/assets/css/css.css
+++ b/public/assets/css/css.css
@@ -6,6 +6,7 @@ body {
height: 100%;
overflow: hidden;
background: black;
+ font-family: "Merriweather", serif;
}
.scene-tooltip {
background: black;
@@ -17,3 +18,99 @@ body {
line-height: 1.3;
font-family: serif !important;
}
+
+/** Detail view */
+
+.detail {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100vw;
+ height: 100vh;
+ pointer-events: none;
+ transition: opacity 0.2s;
+ opacity: 0;
+ background: rgba(0, 0, 0, 0.75);
+ color: white;
+ display: flex;
+ flex-direction: row;
+}
+.detail.visible {
+ opacity: 1;
+ pointer-events: auto;
+}
+.detail > div {
+ height: 100vh;
+ width: 50vw;
+}
+.detail .content > div {
+ padding: 3rem 5rem 6rem 5rem;
+}
+.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;
+ text-transform: capitalize;
+ font-variant: small-caps;
+}
+.detail .title .index {
+ margin-bottom: 1rem;
+}
+.detail .citation {
+ font-size: 1rem;
+ line-height: 1.5;
+ margin-bottom: 2rem;
+}
+.detail .description {
+ font-size: 1rem;
+ line-height: 1.75;
+}
+.detail .description p {
+ text-indent: 2rem;
+}
+.detail .description p:first-of-type {
+ text-indent: 0;
+}
+
+/** 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;
+}