From 39d778ab43cb9b9f459d3cb697cc6277312aa617 Mon Sep 17 00:00:00 2001 From: Tony Yang Date: Thu, 1 Apr 2021 01:55:24 +0800 Subject: [PATCH] [Add] vote introduction, rules and link Style: article text style Style: vote button Style: ordered list --- src/assets/scss/agenda.scss | 62 ++++++++++++++++++++++++++++++------- src/pages/Agenda.vue | 36 ++++++++++++++++++++- 2 files changed, 86 insertions(+), 12 deletions(-) diff --git a/src/assets/scss/agenda.scss b/src/assets/scss/agenda.scss index 76a6ea8..fa90a36 100644 --- a/src/assets/scss/agenda.scss +++ b/src/assets/scss/agenda.scss @@ -1,16 +1,56 @@ +@import './breakpoint'; +@import './color'; + +$fontFamily: "Noto Serif CJK TC -Black"; + #agenda { - margin: 0 auto; - max-width: 1200px; + margin: 0 auto; + max-width: 1200px; - div.event.container { - display: grid; - grid-template-columns: min-content repeat(6, 1fr) min-content; - column-gap: 30px; + font-family: $fontFamily; + font-size: 22px; - img.arrow { - margin: auto; - width: fit-content; - height: calc(99/217 * 100%); - } + article { + white-space: pre-wrap; + line-height: 2; + } + + p.vote { + text-align: center; + padding: 80px 0; + + a.vote.button { + display: inline-block; + padding: 7px 20px; + + background-color: $indigo-blue; + border: none; + border-radius: 32px; + + font: inherit; + color: white; + font-size: 26px; + line-height: 1.44; } + } + + ol.vote.rule { + counter-reset: 0; + + li { + line-height: 2; + } + } + + div.event.container { + display: grid; + grid-template-columns: min-content repeat(6, 1fr) min-content; + column-gap: 30px; + + img.arrow { + margin: auto; + width: fit-content; + height: calc(99/217 * 100%); + } + } } \ No newline at end of file diff --git a/src/pages/Agenda.vue b/src/pages/Agenda.vue index aa742bc..2964475 100644 --- a/src/pages/Agenda.vue +++ b/src/pages/Agenda.vue @@ -1,6 +1,27 @@