From 0a983bf60b8c8ab6de4e21c1f8ddd1ffbc612391 Mon Sep 17 00:00:00 2001 From: Jeremy Kauffman Date: Tue, 15 Dec 2020 14:27:46 -0500 Subject: [PATCH] halfway --- view/template/download/_downloadRow.php | 20 ++++++++-- view/template/nav/_header.php | 2 +- view/template/page/home.php | 24 +++++------- web/components/sass/badge/_index.scss | 13 ------- web/components/sass/button/_index.scss | 9 +---- web/scss/_layout.scss | 6 +-- web/scss/pages/_home.scss | 49 ++++++++++++++++++------- 7 files changed, 66 insertions(+), 57 deletions(-) diff --git a/view/template/download/_downloadRow.php b/view/template/download/_downloadRow.php index 7ff5e60a..6ed8a541 100644 --- a/view/template/download/_downloadRow.php +++ b/view/template/download/_downloadRow.php @@ -1,5 +1,17 @@ -
- 'primary'])?> - Open in Browser - show all platforms +
+
+
+ 'primary'])?> +
+ other platforms +
+ +
+ + + +
+ use LBRY in your browser, with odysee.com + +
\ No newline at end of file diff --git a/view/template/nav/_header.php b/view/template/nav/_header.php index 26b90fdd..b045dba4 100644 --- a/view/template/nav/_header.php +++ b/view/template/nav/_header.php @@ -251,7 +251,7 @@ - Open LBRY + Try Odysee
diff --git a/view/template/page/home.php b/view/template/page/home.php index 8039b51c..0f8bd891 100644 --- a/view/template/page/home.php +++ b/view/template/page/home.php @@ -6,10 +6,11 @@
@@ -29,21 +30,16 @@
-

LBRY is a secure, open, and community-run digital marketplace.

-

Enjoy the latest content from your favorite creators - as a user, not a product.

-
- -
-
-

See previews of the LBRY app and the great content available now on LBRY.

-
- -
+

Enjoy the latest content from your favorite creators - as a user, not a product.

+

This video shows footage from odysee.com, the most popular LBRY app. This same content can be accessed by LBRY Desktop and other clients as part of the web 3.0 LBRY network.

+
+ +
- +
diff --git a/web/components/sass/badge/_index.scss b/web/components/sass/badge/_index.scss index 3fe719b2..1bf49f5c 100644 --- a/web/components/sass/badge/_index.scss +++ b/web/components/sass/badge/_index.scss @@ -22,11 +22,6 @@ .badge--free { background-color: var(--lbry-blue-2); - - [data-mode="dark"] & { - background-color: var(--lbry-blue-3); - color: var(--lbry-black); - } } .badge--large { @@ -34,14 +29,6 @@ line-height: 1; } -.badge--nsfw { - background-color: var(--lbry-grape-2); - - [data-mode="dark"] & { - background-color: var(--lbry-grape-3); - color: var(--lbry-black); - } -} .badge--primary { background-color: var(--lbry-teal-5); diff --git a/web/components/sass/button/_index.scss b/web/components/sass/button/_index.scss index 7ea12b07..afcf60d3 100644 --- a/web/components/sass/button/_index.scss +++ b/web/components/sass/button/_index.scss @@ -2,6 +2,7 @@ fill: currentColor; position: relative; white-space: nowrap; + display: inline-block; } .button--alt { @@ -62,16 +63,8 @@ color: inherit; transition: background-color 0.2s; - [data-mode="dark"] & { - border-color: rgba($lbry-white, 0.1); - } - &:hover { background-color: var(--lbry-gray-1); - - [data-mode="dark"] & { - background-color: rgba($lbry-white, 0.1); - } } } diff --git a/web/scss/_layout.scss b/web/scss/_layout.scss index 0f893e1e..6f409a97 100644 --- a/web/scss/_layout.scss +++ b/web/scss/_layout.scss @@ -127,10 +127,10 @@ section { small { font-size: 0.8rem; +} - &.meta { - color: var(--lbry-gray-5); - } +.meta { + color: var(--lbry-gray-5); } strong { diff --git a/web/scss/pages/_home.scss b/web/scss/pages/_home.scss index 642f020c..62c36570 100644 --- a/web/scss/pages/_home.scss +++ b/web/scss/pages/_home.scss @@ -11,38 +11,62 @@ background-image: linear-gradient(to right, $lbry-teal-2, $lbry-cyan-3 100%); background-size: cover; color: var(--lbry-white); - font-weight: 300; padding: 2rem; text-align: center; - p { - line-height: 1.55; + font-size: 1.2rem; + + h2 { + margin-bottom: 1rem; } - @media (min-width: 1251px) { - font-size: 2rem; + h2, p { + max-width: 1000px; + margin-left: auto; + margin-right: auto; } - @media (min-width: 1001px) and (max-width: 1250px) { - font-size: 1.5rem; + iframe { + max-width: 560px; + margin-left: auto; + margin-right: auto; } - @media (max-width: 1000px) { - font-size: 1.25rem; + a { + text-decoration: underline; + } +} + +.button--odysee { + padding: var(--spacing-xs) var(--spacing-s); // sass-lint:disable-line shorthand-values + background-color: rgb(229, 0, 84); + color: white; + border: 1px solid var(--lbry-gray-1); + border-radius: 1rem; + color: inherit; + transition: background-color 0.2s; + + &:hover { + background-color: var(--lbry-gray-1); } } .home__cta { - margin-bottom: 1rem; text-align: center; align-self: center; + + h1 { font-size: 2.5rem; font-weight: 200; margin-bottom: 1rem; } + p { + margin-bottom: 1rem; + } + div { font-size: 1rem; @@ -53,10 +77,7 @@ } .home__cta-copy { - max-width: 700px; - p { - margin-bottom: 1rem; - } + max-width: 500px; } .home__hero {