diff --git a/src/styles/base.css b/src/styles/base.css index 8816868..54d7dcb 100644 --- a/src/styles/base.css +++ b/src/styles/base.css @@ -84,3 +84,7 @@ body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } + +.el-scrollbar__view{ + height: 100%; +} \ No newline at end of file diff --git a/src/styles/show.css b/src/styles/show.css index 551fb6a..d5dec5f 100644 --- a/src/styles/show.css +++ b/src/styles/show.css @@ -3,9 +3,9 @@ height: 100%; padding: 10px; } -h1 { +.show-top-text h2{ padding: 10px; - font-size: 30px; + font-size: 25px; font-weight: bold; margin: auto; font-style: italic; @@ -15,6 +15,9 @@ h1 { font-style: italic; text-align: right; } +.show-top-text{ + text-align: center; +} .newsbox { width: 100%; height: 100%; @@ -27,15 +30,23 @@ h1 { margin: auto; padding: 10px; flex: 2; + height: 100px; } .newspic { display: inline-block; background-color: #5b5a5a; - width: 170px; - height: 110px; + width: 20%; + min-width: 100px; + max-width: 130px; + height: 100%; } .newscontent { margin-right: auto; display: inline-block; padding: 10px; } + +.search-input{ + width: 70%; + margin: auto +} \ No newline at end of file diff --git a/src/views/blog/blog.vue b/src/views/blog/blog.vue index c64365c..4a2f3de 100644 --- a/src/views/blog/blog.vue +++ b/src/views/blog/blog.vue @@ -2,10 +2,11 @@
Welcome to Merlin's blog
-{{ item.synopsis }}
-{{ item.published }}
-{{ item.published }}
+