Skip to content

Commit

Permalink
improve office hours
Browse files Browse the repository at this point in the history
  • Loading branch information
ilaborie committed Sep 21, 2019
1 parent c7a550d commit fd0657f
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 6 deletions.
28 changes: 24 additions & 4 deletions src/style/pages/_schedule.scss
Original file line number Diff line number Diff line change
Expand Up @@ -182,17 +182,14 @@

.speakers {
border: thin solid transparent;
border-top: thin solid var(--darken-1);
border-radius: var(--space-2);
background: var(--base);
padding: 0;
margin: 0;
list-style: none;
}

.speaker + .speaker {
border-top: thin solid var(--darken-1);
}

.speaker {
display: flex;
align-items: center;
Expand Down Expand Up @@ -286,6 +283,11 @@

&.tag-office-hours {
margin: var(--space-3);

.speakers.multi {
padding-top: .125em;
flex-wrap: wrap;
}
}

.start {
Expand All @@ -297,11 +299,24 @@
justify-content: space-evenly;

.speaker {
position: relative;
border-top: none;

.speaker-img {
margin-right: var(--space-1);
}

.speaker-name {
background: var(--base);
z-index: 100;
border-radius: var(--space-2);
border: thin solid var(--darken-1);
box-shadow: 1px 1px var(--space-1) var(--darken-1);
padding: var(--space-1);
position: absolute;
top: 0;
right: 0;
transform: translateX(50%) translateY(-75%);
display: none;
}

Expand Down Expand Up @@ -427,8 +442,13 @@

.speaker {
.speaker-name {
position: relative;
transform: none;
border: none;
display: block;
box-shadow: none;
}
}
}

}
6 changes: 5 additions & 1 deletion src/style/partials/_type.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,8 @@

.type-keynote {
--duration: '30';
}
}

.type-office-hours {
--duration: '30';
}
2 changes: 1 addition & 1 deletion static/theme.css

Large diffs are not rendered by default.

0 comments on commit fd0657f

Please sign in to comment.