From ced8d251d9d6efaab4168c345dc8994c55f5457f Mon Sep 17 00:00:00 2001 From: Jonathan Wren Date: Sat, 5 Sep 2020 12:07:47 -0700 Subject: [PATCH] Change styling of terminal on docs site, small copy changes (#1038) The terminal now overlaps the header (the purple area at the top of the page) and the main area (the white area underneath). This draws more focus to it, and quite literally puts the terminal front and center. This also fixes a few typos, and updates the commands in the terminal to match jrnl v2.5 updates. --- docs/theme/index.css | 10 +++++----- docs/theme/index.html | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/theme/index.css b/docs/theme/index.css index db3fb0c5..a46b95f2 100644 --- a/docs/theme/index.css +++ b/docs/theme/index.css @@ -65,18 +65,18 @@ header { border: 0px solid transparent; display: relative; padding-top: 150px; - overflow: hidden; + overflow: visible; } #terminal { background: #1B1C2E; max-width: 520px; box-shadow: 0 -2px 16px 0 rgba(0,0,0,0.35); - border-radius: 6px 6px 0 0; - min-height: 100px; + border-radius: 6px; + min-height: 120px; margin: 0px auto; position: relative; - /*transform: translateY(40px);*/ + transform: translateY(75px); color: #f7f8f9; font-family: "Monaco", "Courier New"; font-size: 12pt; @@ -146,7 +146,7 @@ header { #prompt { max-width: 700px; - margin: 100px auto 0px auto; + margin: 25px auto 100px auto; padding: 0px 20px; } diff --git a/docs/theme/index.html b/docs/theme/index.html index 00391e14..aaeaf44e 100755 --- a/docs/theme/index.html +++ b/docs/theme/index.html @@ -75,12 +75,12 @@

Secure.

-

Encrypt your journals with the industry-strength AES encryption. The NSA won't be able to read your dirty secrets.

+

Encrypt your journals with industry-strength AES encryption. The NSA won't be able to read your dirty secrets.

Accessible anywhere.

-

Sync your journals with Dropbox and capture your thoughts where ever you are

+

Sync your journals with Dropbox and capture your thoughts where ever you are.

@@ -106,8 +106,8 @@ "jrnl -from 2009 -until may
`(Displays all entries from January 2009 to last may)`", "jrnl A day on the beach with @beth and @frank. Taggidy-tag-tag.", "jrnl --tags
`@idea 7
@beth 5
`", - "jrnl --export json
`(Exports your entire journal to json)`", - "jrnl --encrypt
`(256 bit AES encryption. Crack this, NSA)`" + "jrnl --format json
`(Outputs your entire journal as json)`", + "jrnl --encrypt
`(AES encryption. Crack this, NSA)`" ], typeSpeed: 35, backSpeed: 15,