From b9582b0dd28c7672c2c2b8bc84076441bb567711 Mon Sep 17 00:00:00 2001 From: hide_d Date: Sun, 2 Jan 2022 00:58:34 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=EA=B2=8C=EC=8B=9C=ED=8C=90=20500px=20?= =?UTF-8?q?=EB=AA=A8=EB=93=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/scss/board.scss | 76 +++++++++++++++ hwe/scss/chiefCenter.scss | 13 +++ hwe/scss/util.scss | 4 + hwe/ts/PageBoard.vue | 146 ++++++++--------------------- hwe/ts/PageChiefCenter.vue | 5 + hwe/ts/components/BoardArticle.vue | 84 ++++++++--------- hwe/ts/components/BoardComment.vue | 11 +-- hwe/ts/components/BottomBar.vue | 5 - hwe/ts/v_board.ts | 7 +- 9 files changed, 185 insertions(+), 166 deletions(-) create mode 100644 hwe/scss/board.scss diff --git a/hwe/scss/board.scss b/hwe/scss/board.scss new file mode 100644 index 00000000..caa657ef --- /dev/null +++ b/hwe/scss/board.scss @@ -0,0 +1,76 @@ +@import "./common/bootstrap5.scss"; +@import "@scss/game_bg.scss"; +@import "./common_legacy.scss"; +@import "../../css/config.css"; +@import "./util.scss"; + + +@include media-1000px { + #container { + width: 1000px; + margin: 0 auto; + } +} + +@include media-500px { + #container { + width: 500px; + margin: 0 auto; + } +} + +.date{ + font-size: 0.9em; +} + +.authorName, +.authorIcon, +.inputCommentHeader { + flex: 0 0 auto; + width: 120px; +} + +#newArticle { + margin-top: 1em; +} + +.titleInput { + width: 100%; + color: white; + background-color: transparent; + border: none; + margin: 1px 5px; +} + +.contentInput { + width: 100%; + min-height: 3em; + color: white; + background-color: transparent; + border: none; + padding: 1px 5px; +} + +.articleFrame { + margin: 20px auto; +} + +.commentText { + width: 100%; +} + +.text { + text-align: left; + padding: 1px 5px; +} + +.submitComment { + width: 100%; +} + +.commentText { + color: white; + background-color: transparent; + border: none; + padding: 1px 5px; +} \ No newline at end of file diff --git a/hwe/scss/chiefCenter.scss b/hwe/scss/chiefCenter.scss index b2c5c6b3..f340adaa 100644 --- a/hwe/scss/chiefCenter.scss +++ b/hwe/scss/chiefCenter.scss @@ -5,6 +5,7 @@ @import "@scss/common/variables.scss"; @import "@scss/common/bootswatch_custom_variables.scss"; @import "@scss/game_bg.scss"; +@import "@scss/util.scss"; $modcolor2: color.adjust($nbase2color, $lightness: -5%); @@ -86,6 +87,12 @@ $modcolor2: color.adjust($nbase2color, $lightness: -5%); background-color: $modcolor2; } } + + #bottomBar{ + width: 1000px; + margin: 0 auto; + position: relative; + } } @include media-500px { @@ -183,4 +190,10 @@ $modcolor2: color.adjust($nbase2color, $lightness: -5%); text-align: center; } } + + #bottomBar { + width: 500px; + margin: 0 auto; + position: relative; + } } \ No newline at end of file diff --git a/hwe/scss/util.scss b/hwe/scss/util.scss index 6fee028f..01557545 100644 --- a/hwe/scss/util.scss +++ b/hwe/scss/util.scss @@ -14,3 +14,7 @@ .avoid-wrap { display: inline-block; } + +.center { + text-align: center; +} diff --git a/hwe/ts/PageBoard.vue b/hwe/ts/PageBoard.vue index 4f8a9e20..04037a63 100644 --- a/hwe/ts/PageBoard.vue +++ b/hwe/ts/PageBoard.vue @@ -1,18 +1,12 @@