Mercurial > code > home > repos > front-door-display
diff src/UpcomingEvents.ts @ 17:472003015880
restyle using css grid
author | drewp@bigasterisk.com |
---|---|
date | Fri, 07 Jun 2024 21:22:37 -0700 |
parents | 20d1fa4250c0 |
children | e8c90d893919 |
line wrap: on
line diff
--- a/src/UpcomingEvents.ts Thu Jun 06 17:52:46 2024 -0700 +++ b/src/UpcomingEvents.ts Fri Jun 07 21:22:37 2024 -0700 @@ -13,19 +13,6 @@ static styles = [ shared, css` - ol { - list-style-type: circle; - font-size: 16px; - background: #cd66bb2e; - padding: 9px; - width: fit-content; - position: relative; - top: -21px; - border-radius: 14px; - } - span.d { - opacity: 0.5; - } `, ]; @property() evs: DisplayEvent[]; @@ -53,7 +40,7 @@ render() { return html` - <h1 data-text="Calendar">Calendar</h1> + <h1>Calendar</h1> <ol> ${this.evs.map((d) => html`<li><span class="date">${d.shortDate()}</span> ${d.title}</li>`)} </ol>