diff --git a/src/styles/show.css b/src/styles/show.css index dc25043..f0ad71f 100644 --- a/src/styles/show.css +++ b/src/styles/show.css @@ -1,52 +1,60 @@ -.container { - width: 100%; - height: 100%; - padding: 10px; -} -.show-top-text h2{ - padding: 10px; - font-size: 25px; - font-weight: bold; - margin: auto; - font-style: italic; -} -.welcome { - padding: 20px; - font-style: italic; - text-align: right; -} -.show-top-text{ - text-align: center; -} -.newsbox, .articlesbox{ - width: 100%; - height: 100%; -} -.news, .articles{ - display: flex; - flex-wrap: wrap; - justify-content: space-between; - align-items: center; - margin: auto; - padding: 10px; - flex: 2; - height: 100px; -} -.newspic, .articlespic{ - display: inline-block; - background-color: #5b5a5a; - width: 20%; - min-width: 100px; - max-width: 130px; - height: 100%; -} -.newscontent, .articlescontent{ - margin-right: auto; - display: inline-block; - padding: 10px; -} - -.search-input{ - width: 70%; - margin: auto +.container { + width: 100%; + height: 100%; + padding: 10px; +} +.show-top-text h2{ + padding: 10px; + font-size: 25px; + font-weight: bold; + margin: auto; + font-style: italic; +} +.welcome { + padding: 20px; + font-style: italic; + text-align: right; +} +.show-top-text{ + text-align: center; +} +.newsbox, .articlesbox{ + width: 100%; + height: 100%; +} +.news, .articles{ + display: flex; + flex-wrap: wrap; + justify-content: space-between; + align-items: center; + margin: auto; + padding: 10px; + flex: 2; + height: 100px; +} +.newspic, .articlespic{ + display: inline-block; + background-color: #5b5a5a; + width: 20%; + min-width: 100px; + max-width: 130px; + height: 100%; +} +.newscontent, .articlescontent{ + margin-right: auto; + display: inline-block; + padding: 10px; +} + +.search-input{ + width: 70%; + margin: auto +} + +.pagination-block{ + margin-top: 10px; +} + +.el-pagination{ + justify-content: center; } \ No newline at end of file diff --git a/src/views/blog/articles.vue b/src/views/blog/articles.vue index 096ca9b..2168351 100644 --- a/src/views/blog/articles.vue +++ b/src/views/blog/articles.vue @@ -1,92 +1,134 @@ - - - + + + diff --git a/src/views/blog/show.vue b/src/views/blog/show.vue index 40a75c5..c05acb4 100644 --- a/src/views/blog/show.vue +++ b/src/views/blog/show.vue @@ -1,110 +1,149 @@ - - - + + +