display narrative events only in narrative mode; make card more minimal

This commit is contained in:
Lachlan Kermode
2019-01-04 10:26:02 +00:00
parent 8749b3ca34
commit 2aaf3d2034
10 changed files with 110 additions and 78 deletions

View File

@@ -11,17 +11,16 @@ $timeline-height: 170px;
right: 10px;
max-height: calc(100% - 208px);
height: auto;
overflow: auto;
overflow: hidden;
box-shadow: 0 19px 38px rgba(0, 0, 0, 0.3), 0 15px 12px rgba(0, 0, 0, 0.22);
z-index: $header;
color: white;
-webkit-font-smoothing: antialiased;
&.narrative-mode {
right: auto;
left: 10px;
top: $narrative-info-max-height + 12px;
height: calc(100% - #{$narrative-info-max-height} - #{$timeline-height});
height: calc(100% - #{$narrative-info-max-height} - #{$timeline-height} - 12px);
}
&.full-height {