From 583e8cbae2f202d6ab92db68f6b3f70a4238d33c Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Sat, 11 Jul 2020 19:33:56 +0200 Subject: [PATCH] Updated design --- assets/img/background.svg | 102 ++++++++++++++++++++++++++++++++++++++ assets/styles.css | 17 +++++-- views/404.php | 2 +- views/encrypt.php | 2 +- views/faq.php | 2 +- views/guide.php | 2 +- views/guides.php | 2 +- views/index.php | 2 +- views/proofs.php | 2 +- views/verify.php | 2 +- 10 files changed, 124 insertions(+), 11 deletions(-) create mode 100644 assets/img/background.svg diff --git a/assets/img/background.svg b/assets/img/background.svg new file mode 100644 index 0000000..ea25295 --- /dev/null +++ b/assets/img/background.svg @@ -0,0 +1,102 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + diff --git a/assets/styles.css b/assets/styles.css index ab40a53..a3d21dc 100644 --- a/assets/styles.css +++ b/assets/styles.css @@ -5,13 +5,18 @@ body { margin: 0; color: #333; font-family: sans-serif; - background-color: #eee; + background-color: #9dd3f0; + background-image: url('/assets/img/background.svg'); + background-repeat: repeat; + background-size: 512px; + background-position: -16px -16px; } header { padding: 16px; margin: 0 0 48px; font-size: 1.1em; background-color: #fff; + box-shadow: 0 8px 16px rgba(0,0,0,0.15); } header .container { display: flex; @@ -24,6 +29,9 @@ footer { margin: 64px 0; padding: 0 32px; } +footer a { + color: #777; +} .container { max-width: 720px; width: 100%; @@ -32,6 +40,8 @@ footer { .content { padding: 16px 32px 32px; background-color: #fff; + border-radius: 8px; + box-shadow: 0 8px 16px rgba(0,0,0,0.15); } .spacer { flex: 1; @@ -56,8 +66,9 @@ footer { h1 { margin: 0; - padding: 16px 32px; - background-color: #9dd3f0; + padding: 0 32px 16px 32px; + /* background-color: #9dd3f0; */ + background-color: #fff; text-align: center; cursor: default; } diff --git a/views/404.php b/views/404.php index d3d6b65..f705c3e 100644 --- a/views/404.php +++ b/views/404.php @@ -1,6 +1,6 @@ layout('template.base', ['title' => $title]) ?> -

404

+

404

The requested page could not be found :(

diff --git a/views/encrypt.php b/views/encrypt.php index a31624e..31e5875 100644 --- a/views/encrypt.php +++ b/views/encrypt.php @@ -1,7 +1,7 @@ layout('template.base', ['title' => $title]) ?> -

Encrypt

+

Encrypt

Recipient

diff --git a/views/faq.php b/views/faq.php index 4362b13..7336fbd 100644 --- a/views/faq.php +++ b/views/faq.php @@ -1,7 +1,7 @@ layout('template.base', ['title' => $title]) ?> -

FAQ

+

FAQ

# What is Keyoxide?

Keyoxide is a lightweight and FOSS solution to make basic cryptography operations accessible to regular humans. It is built to be privacy friendly and secure, it can even be self-hosted.

diff --git a/views/guide.php b/views/guide.php index 0c8bdfe..aa783d1 100644 --- a/views/guide.php +++ b/views/guide.php @@ -1,7 +1,7 @@ layout('template.base', ['title' => $title]) ?> -

insert("guides/$id.title") ?>

+

insert("guides/$id.title") ?>

Back to guides

insert("guides/$id.content") ?>
diff --git a/views/guides.php b/views/guides.php index 9d85f3e..35bdc8a 100644 --- a/views/guides.php +++ b/views/guides.php @@ -1,7 +1,7 @@ layout('template.base', ['title' => $title]) ?> -

Guides

+

Guides

Using Keyoxide.org

Verifying a signature
Encrypting a message
diff --git a/views/index.php b/views/index.php index b2de7aa..885f969 100644 --- a/views/index.php +++ b/views/index.php @@ -1,7 +1,7 @@ layout('template.base', ['title' => $title]) ?> -

Keyoxide

+

Keyoxide

PGP actions

verify signature diff --git a/views/proofs.php b/views/proofs.php index 37ffc40..134708e 100644 --- a/views/proofs.php +++ b/views/proofs.php @@ -1,7 +1,7 @@ layout('template.base', ['title' => $title]) ?> -

Proofs

+

Proofs

Public key

diff --git a/views/verify.php b/views/verify.php index 40204dd..914b6e4 100644 --- a/views/verify.php +++ b/views/verify.php @@ -1,7 +1,7 @@ layout('template.base', ['title' => $title]) ?> -

Verify

+

Verify

Signer