From 880157860ffaa81ee8e44f978a554d355c44f07c Mon Sep 17 00:00:00 2001 From: hyperbola Date: Tue, 19 Jan 2021 21:53:12 +0800 Subject: [PATCH] [Style] Adjust font size; fix some css --- src/assets/scss/CFP/intro.scss | 60 +++++++++++++---- src/components/CFP/Intro.vue | 114 +++++++++++++++++++++------------ 2 files changed, 121 insertions(+), 53 deletions(-) diff --git a/src/assets/scss/CFP/intro.scss b/src/assets/scss/CFP/intro.scss index c3fd03a..8f23724 100644 --- a/src/assets/scss/CFP/intro.scss +++ b/src/assets/scss/CFP/intro.scss @@ -103,7 +103,7 @@ $buttonHoverBg: #226bb4; letter-spacing: $contextLetterSpace; // line-height: 42px; - width: 1100px; + // width: 1100px; @media screen and(max-width: 414px) { margin-top: 60%; @@ -716,16 +716,35 @@ $buttonHoverBg: #226bb4; line-height: 1.75; } - h1 { + h1, + .h1 { font-size: 42pt; + font-weight: 900; } - h2 { + h2, + .h2 { font-size: 26pt; + font-weight: 900; } - h3 { + h3, + .h3 { font-size: 22pt; + font-weight: 900; + } +} + +// Utiliy +#cfp-intro { + .mr-2 { + margin-right: 2em; + } + .ml-2 { + margin-left: 2em; + } + .mt-1 { + margin-top: 1em; } } @@ -767,13 +786,32 @@ $buttonHoverBg: #226bb4; } .join-discuss { - .link-group { - margin-top: 1em; - .btn { - &:not(:first-child) { - margin-left: 2em; - } - } + // empty + } + } + + .box-back2 { + width: 760px; + + .about-topic { + margin-bottom: 1em; + } + + .cfp-deadline { + margin-bottom: 7em; + .cfp-deadline-content { + margin-top: -1.5em; + display: flex; + flex-direction: row; + align-items: flex-end; + } + } + + .give-me-money { + .whisper { + font-weight: 900; + font-size: 1.25em; + margin-bottom: 0.5em; } } } diff --git a/src/components/CFP/Intro.vue b/src/components/CFP/Intro.vue index 98900fd..2bebce8 100644 --- a/src/components/CFP/Intro.vue +++ b/src/components/CFP/Intro.vue @@ -17,7 +17,7 @@ -
+

關於 SITCON

@@ -61,13 +61,17 @@ 的會議記錄。

-