Skip to content

Commit

Permalink
clean up talks
Browse files Browse the repository at this point in the history
  • Loading branch information
EndangeredMassa committed Jan 15, 2024
1 parent 21269b8 commit 77e2fe7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
4 changes: 1 addition & 3 deletions app/components/youtube-link.gjs
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,9 @@ function thumbnail(youtubeID) {
<a target="_blank" href={{href @id}}>
<div class="header">
<div class="talk-title">{{@title}}</div>
<div class="talk-date">{{@date}}</div>
<div class="talk-date">[{{@date}}]</div>
</div>

<hr class="accent-rule">

<img src={{thumbnail @id}}>
</a>
</div>
Expand Down
17 changes: 9 additions & 8 deletions app/styles/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@
}
}

h1, h2, h3 {
line-height: 1;
}

a, a:visited {
color:var(--accent);
}
Expand Down Expand Up @@ -149,7 +153,6 @@ footer p a[href^="https://"]:after,
}

.link-list>div {
border: 1px solid var(--accent);
padding: 4px 12px;
}

Expand All @@ -158,15 +161,13 @@ footer p a[href^="https://"]:after,
display: grid;
grid-template-columns: 3fr 1fr;
font-weight: bold;
font-size: 1.5em;
}

.link-list .header .talk-date {
justify-self: end;
.youtube-link a {
text-decoration: none;
}

/* cross-platform <hr> styling */
.accent-rule {
border-color: var(--accent);
background-color: var(--accent);
color: var(--accent);
.link-list .header .talk-date {
justify-self: end;
}

0 comments on commit 77e2fe7

Please sign in to comment.