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 2021/03/16 22:09:25 UTC
[incubator-teaclave-website] 01/02: Update style
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 cb0d8ee9d424e0e089070063efd91df3720c0839
Author: Mingshen Sun <bo...@mssun.me>
AuthorDate: Tue Mar 16 14:35:12 2021 -0700
Update style
---
site/.vuepress/config.js | 2 +-
site/.vuepress/theme/components/Home.vue | 26 ++++++++++++++++----------
site/.vuepress/theme/components/Navbar.vue | 2 +-
site/.vuepress/theme/styles/index.styl | 12 ++++++++----
site/index.md | 12 ++++++------
5 files changed, 32 insertions(+), 22 deletions(-)
diff --git a/site/.vuepress/config.js b/site/.vuepress/config.js
index c664d4a..7186426 100644
--- a/site/.vuepress/config.js
+++ b/site/.vuepress/config.js
@@ -3,7 +3,7 @@ module.exports = {
description: 'Apache Teaclave (incubating) is an open source universal secure computing platform, making computation on privacy-sensitive data safe and simple.',
base: '/',
head: [
- ['link', { rel: 'stylesheet', href: 'https://fonts.googleapis.com/css2?family=Lato&display=swap' }],
+ ['link', { rel: 'stylesheet', href: 'https://fonts.googleapis.com/css?family=Cutive+Mono|Roboto:100,300,400,500,700,900|Roboto+Condensed:300,400|Noto+Sans+SC:400,500,700,900' }],
],
themeConfig: {
search: false,
diff --git a/site/.vuepress/theme/components/Home.vue b/site/.vuepress/theme/components/Home.vue
index 4a090e4..d63106b 100644
--- a/site/.vuepress/theme/components/Home.vue
+++ b/site/.vuepress/theme/components/Home.vue
@@ -95,7 +95,7 @@ export default {
.home
padding $navbarHeight 2rem 0
max-width $homePageWidth
- margin 0px auto
+ margin 20px auto
display block
.hero
text-align center
@@ -105,17 +105,20 @@ export default {
display block
margin 3rem auto 1.5rem
h1
- font-size 3rem
+ font-size 2.5rem
+ font-weight 900
+ letter-spacing: 0.06em;
h1, .description, .action
margin 1.8rem auto
.description
max-width 45rem
- font-size 1.6rem
+ font-size 1.2rem
+ font-weight 300
line-height 1.3
- color lighten($textColor, 40%)
+ color lighten($textColor, 20%)
.action-button
display inline-block
- font-size 1.2rem
+ font-size 1rem
color #fff
background-color $accentColor
padding 0.5rem 1.6rem
@@ -138,21 +141,24 @@ export default {
flex-grow 1
flex-basis 47%
max-width 47%
- h2
- font-size 1.4rem
- font-weight 500
+ h3
+ font-size 1.35rem
+ font-weight 700
+ text-transform uppercase
border-bottom none
padding-bottom 0
- color lighten($textColor, 10%)
+ color lighten($textColor, 15%)
p
color lighten($textColor, 25%)
+ font-family Roboto Condensed
+ font-weight 400
.footer
font-size 0.7rem
padding 2.5rem 0 2.5rem 0
margin-top 2.5rem
border-top 1px solid $borderColor
text-align left
- color lighten($textColor, 25%)
+ color lighten($textColor, 30%)
@media (max-width: $MQMobile)
.home
diff --git a/site/.vuepress/theme/components/Navbar.vue b/site/.vuepress/theme/components/Navbar.vue
index 465e879..a3d329d 100644
--- a/site/.vuepress/theme/components/Navbar.vue
+++ b/site/.vuepress/theme/components/Navbar.vue
@@ -108,7 +108,7 @@ $navbar-horizontal-padding = 1.5rem
vertical-align top
.site-name
font-size 1.3rem
- font-weight 600
+ font-weight 700
color $textColor
position relative
.links
diff --git a/site/.vuepress/theme/styles/index.styl b/site/.vuepress/theme/styles/index.styl
index 89a416e..eca7958 100644
--- a/site/.vuepress/theme/styles/index.styl
+++ b/site/.vuepress/theme/styles/index.styl
@@ -11,7 +11,7 @@ html, body
background-color #fff
body
- font-family -apple-system, BlinkMacSystemFont, "Lato", "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif
+ font-family Roboto, Noto Sans SC, "Lato", "Segoe UI", Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif
-webkit-font-smoothing antialiased
-moz-osx-font-smoothing grayscale
font-size 16px
@@ -107,10 +107,10 @@ ul, ol
padding-left 1.2em
strong
- font-weight 600
+ font-weight 500
h1, h2, h3, h4, h5, h6
- font-weight 600
+ font-weight 700
line-height 1.25
{$contentClass}:not(.custom) > &
@@ -129,7 +129,9 @@ h1, h2, h3, h4, h5, h6
opacity: 1
h1
+ font-weight 900
font-size 2.2rem
+ text-transform uppercase
h2
font-size 1.65rem
@@ -138,6 +140,8 @@ h2
h3
font-size 1.35rem
+h3, h4, h4, h6
+ font-weight 500
a.header-anchor
font-size 0.85em
@@ -154,7 +158,7 @@ code, kbd, .line-number
font-family SF Mono, Menlo, Monaco, source-code-pro, Consolas, "Courier New", monospace
p, ul, ol
- line-height 1.7
+ line-height 1.9
hr
border 0
diff --git a/site/index.md b/site/index.md
index 87cd718..dff6213 100644
--- a/site/index.md
+++ b/site/index.md
@@ -3,8 +3,8 @@ title: Apache Teaclave (incubating)
home: true
description: Apache Teaclave (incubating) is an open source universal secure computing platform, making computation on privacy-sensitive data safe and simple.
heroText: Apache Teaclave (incubating)
-tagline: an open source universal secure computing platform, making computation on privacy-sensitive data safe and simple
-actionText: Get Started →
+tagline: Apache Teaclave (incubating) is an open source universal secure computing platform, making computation on privacy-sensitive data safe and simple.
+actionText: GET STARTED →
actionLink: /docs/my-first-function/
---
@@ -40,11 +40,11 @@ client SDKs and command line tools. </p>
</div>
<div class="feature">
-<h3>Flexibility</h3>
+<h3>Flexible</h3>
<p> Components in Teaclave are designed in
-modular, and some like remote attestation can be easily embedded in other
-projects. In addition, Teaclave SGX SDK can also be used separately to write
-standalone SGX enclaves for other purposes. </p>
+modular, and features like remote attestation can be easily embedded in other
+projects. In addition, Teaclave SGX SDK and Teaclave TrustZone SDK can also be
+used separately to write TEE apps for other purposes. </p>
</div>
</div>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@teaclave.apache.org
For additional commands, e-mail: commits-help@teaclave.apache.org