You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@teaclave.apache.org by ms...@apache.org on 2020/10/16 03:08:17 UTC
[incubator-teaclave-website] 06/07: Fix footer width
This is an automated email from the ASF dual-hosted git repository.
mssun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-teaclave-website.git
commit bfb7190f117b932d06d638a2cdae2605e5f74a15
Author: Mingshen Sun <bo...@mssun.me>
AuthorDate: Mon Oct 12 17:04:18 2020 -0700
Fix footer width
---
site/.vuepress/theme/layouts/IndexPost.vue | 10 +++++++++-
site/.vuepress/theme/layouts/Post.vue | 10 +++++++++-
site/.vuepress/theme/styles/footer.styl | 8 --------
3 files changed, 18 insertions(+), 10 deletions(-)
diff --git a/site/.vuepress/theme/layouts/IndexPost.vue b/site/.vuepress/theme/layouts/IndexPost.vue
index beeeea7..7497251 100644
--- a/site/.vuepress/theme/layouts/IndexPost.vue
+++ b/site/.vuepress/theme/layouts/IndexPost.vue
@@ -181,5 +181,13 @@ export default {
</script>
<style lang="stylus">
-@require '../styles/footer.styl'
+.page
+ .footer
+ max-width $contentWidth
+ margin: 2.5rem auto 0 auto
+ font-size 0.7rem
+ padding 2.5rem 0 2.5rem 0
+ border-top 1px solid $borderColor
+ text-align left
+ color lighten($textColor, 25%)
</style>
\ No newline at end of file
diff --git a/site/.vuepress/theme/layouts/Post.vue b/site/.vuepress/theme/layouts/Post.vue
index 59bdb50..540856b 100644
--- a/site/.vuepress/theme/layouts/Post.vue
+++ b/site/.vuepress/theme/layouts/Post.vue
@@ -183,8 +183,16 @@ export default {
</script>
<style lang="stylus">
-@require '../styles/footer.styl'
.publish-date-author {
margin: -10px 0 40px 0
}
+.page
+ .footer
+ max-width $contentWidth
+ margin: 2.5rem auto 0 auto
+ font-size 0.7rem
+ padding 2.5rem 0 2.5rem 0
+ border-top 1px solid $borderColor
+ text-align left
+ color lighten($textColor, 25%)
</style>
\ No newline at end of file
diff --git a/site/.vuepress/theme/styles/footer.styl b/site/.vuepress/theme/styles/footer.styl
deleted file mode 100644
index 87073dc..0000000
--- a/site/.vuepress/theme/styles/footer.styl
+++ /dev/null
@@ -1,8 +0,0 @@
-.footer
- max-width $contentWidth
- margin: 2.5rem auto 0 auto
- font-size 0.7rem
- padding 2.5rem 0 2.5rem 0
- border-top 1px solid $borderColor
- text-align left
- color lighten($textColor, 25%)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@teaclave.apache.org
For additional commands, e-mail: commits-help@teaclave.apache.org