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 b508008c708f1fe22055e4c0cb98ec143e54bd5f Author: Mingshen Sun <[email protected]> AuthorDate: Wed Mar 17 15:21:11 2021 -0700 Update the theme --- site/.vuepress/config.js | 16 ++++++++-------- site/.vuepress/theme/components/DropdownLink.vue | 4 ++-- site/.vuepress/theme/components/NavLinks.vue | 2 +- site/.vuepress/theme/components/Navbar.vue | 5 ++++- site/.vuepress/theme/styles/index.styl | 2 +- 5 files changed, 16 insertions(+), 13 deletions(-) diff --git a/site/.vuepress/config.js b/site/.vuepress/config.js index 6611339..a93a79d 100644 --- a/site/.vuepress/config.js +++ b/site/.vuepress/config.js @@ -14,12 +14,12 @@ module.exports = { domain: 'https://teaclave.apache.org', dateFormat: 'MMMM D, YYYY', nav: [ - { text: 'About', link: '/' }, - { text: 'Community', link: '/community/' }, - { text: 'Download', link: '/download/' }, - { text: 'Contributors', link: '/contributors/' }, + { text: 'ABOUT', link: '/' }, + { text: 'COMMUNITY', link: '/community/' }, + { text: 'DOWNLOAD', link: '/download/' }, + { text: 'CONTRIBUTORS', link: '/contributors/' }, { - text: 'Documentation', + text: 'DOCS', link: '/docs/', items: [ { text: 'Teaclave', link: '/docs/' }, @@ -27,9 +27,9 @@ module.exports = { { text: 'Teaclave TrustZone SDK', link: '/trustzone-sdk-docs/' }, ] }, - { text: 'Blog', link: '/blog/' }, + { text: 'BLOG', link: '/blog/' }, { - text: 'API Docs', + text: 'APIS', items: [ { text: 'Teaclave Client SDK (Rust)', link: 'https://teaclave.apache.org/api-docs/client-sdk-rust/', target: '_self', rel: '' }, { text: 'Teaclave Client SDK (Python)', link: 'https://teaclave.apache.org/api-docs/client-sdk-python/', target: '_self', rel: '' }, @@ -39,7 +39,7 @@ module.exports = { ] }, { - text: 'Repository', + text: 'REPOS', link: 'https://github.com/apache/incubator-teaclave', items: [ { text: 'Teaclave', link: 'https://github.com/apache/incubator-teaclave'}, diff --git a/site/.vuepress/theme/components/DropdownLink.vue b/site/.vuepress/theme/components/DropdownLink.vue index 0c1d77b..f06c67a 100644 --- a/site/.vuepress/theme/components/DropdownLink.vue +++ b/site/.vuepress/theme/components/DropdownLink.vue @@ -124,14 +124,14 @@ export default { cursor pointer .dropdown-title display block - font-size 0.9rem + font-size 0.8rem font-family inherit cursor inherit padding inherit line-height 1.4rem background transparent border none - font-weight 500 + font-weight 700 color $textColor &:hover border-color transparent diff --git a/site/.vuepress/theme/components/NavLinks.vue b/site/.vuepress/theme/components/NavLinks.vue index 2656ae2..c71a106 100644 --- a/site/.vuepress/theme/components/NavLinks.vue +++ b/site/.vuepress/theme/components/NavLinks.vue @@ -133,7 +133,7 @@ export default { .nav-item position relative display inline-block - margin-left 1.5rem + margin-left 1.7rem line-height 2rem &:first-child margin-left 0 diff --git a/site/.vuepress/theme/components/Navbar.vue b/site/.vuepress/theme/components/Navbar.vue index a3d329d..8901550 100644 --- a/site/.vuepress/theme/components/Navbar.vue +++ b/site/.vuepress/theme/components/Navbar.vue @@ -101,6 +101,7 @@ $navbar-horizontal-padding = 1.5rem line-height $navbarHeight - 1.4rem a, span, img display inline-block + font-weight 700 .logo height $navbarHeight - 1.4rem min-width $navbarHeight - 1.4rem @@ -116,7 +117,9 @@ $navbar-horizontal-padding = 1.5rem box-sizing border-box background-color white white-space nowrap - font-size 0.9rem + font-size 0.8rem + font-weight 700 + letter-spacing 0.04em position absolute right $navbar-horizontal-padding top $navbar-vertical-padding diff --git a/site/.vuepress/theme/styles/index.styl b/site/.vuepress/theme/styles/index.styl index eca7958..b754480 100644 --- a/site/.vuepress/theme/styles/index.styl +++ b/site/.vuepress/theme/styles/index.styl @@ -167,7 +167,7 @@ hr table border-collapse collapse margin 1rem 0 - display: block + width 100% overflow-x: auto tr --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
