@import './breakpoint'; @import './color'; $fontFamily: "Noto Serif CJK TC -SemiBold"; $fontFamilyVote: "Noto Serif CJK TC -Black"; @mixin RWDFontSize { font-size: 14pt; @media screen and (max-width: $max-width-medium-0) { font-size: 12pt; } @media screen and (max-width: $max-width-small-0) { font-size: 10pt; } @media screen and (max-width: $max-width-small-2) { font-size: 8pt } } @mixin RWDWidth { max-width: 80%; @media screen and (max-width: $max-width-medium-0) { max-width: 85%; } @media screen and (max-width: $max-width-small-0) { max-width: 85%; } @media screen and (max-width: $max-width-small-2) { max-width: 85%; } } @mixin RWDButton { font-size: 16pt; line-height: 1.44; @media screen and (max-width: $max-width-medium-0) { } @media screen and (max-width: $max-width-small-0) { font-size: 14pt; line-height: 1.3; } @media screen and (max-width: $max-width-small-2) { } } #agenda { margin: 0 auto; @include RWDWidth; padding-top: 50px; font-family: $fontFamily; @include RWDFontSize; article { white-space: pre-wrap; line-height: 2; margin: 50px 0; &.bold { font-weight: bold; } } p.vote { text-align: center; padding: 50px 0; a.vote.button { display: inline-block; padding: 7px 20px; background-color: $indigo-blue; border: none; border-radius: 32px; font-family: $fontFamilyVote; color: white; @include RWDButton; } } ol.vote.rule { list-style-type: decimal; li { line-height: 2; // prevent marker overflow margin-left: 1.5em; } } 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%); } } } @media screen and (max-width: $max-width-medium-1) { #agenda { p.vote { padding: 0; } } }