diff --git a/public/assets/css/general.css b/public/assets/css/general.css index aa214c6a..0224c884 100644 --- a/public/assets/css/general.css +++ b/public/assets/css/general.css @@ -3,6 +3,13 @@ html, body { padding: 0; height: 100%; } + +.page-contents { + margin: 0px auto; + padding: 0px; + height: calc(100% - 5rem); + max-width: 1200px; +} /* TEXT */ body, button, input, textarea, label, select, option { @@ -15,10 +22,6 @@ p { padding-left: 0.3em; } -.center-text { - text-align: center; -} - .url-text { margin:0px; padding:0px; @@ -123,7 +126,7 @@ h3 { } .row--full-height { - height: calc(100% - 9rem); + height: calc(100% - 4rem); } .column { diff --git a/public/assets/css/mediaQueries.css b/public/assets/css/mediaQueries.css index bb8919c1..4f8b2f75 100644 --- a/public/assets/css/mediaQueries.css +++ b/public/assets/css/mediaQueries.css @@ -1,23 +1,6 @@ -@media (max-width: 1000px) { +@media (max-width: 1050px) { - .main { - float: none; - width: 100%; - margin-right: 0px; - padding-right: 0px; - border-right: 0px; - margin-bottom: 5px; - } - - .sidebar { - border-top: 1px solid lightgray; - float: none; - width: 100%; - } -} - -@media (max-width: 850px) { .nav-bar-title, .nav-bar-subtitle { padding-bottom: 0px; } @@ -38,6 +21,10 @@ .nav-bar { height: 8rem; } + + .page-contents { + height: calc(100% - 8rem); + } } @media (max-width: 750px ) { diff --git a/views/about.handlebars b/views/about.handlebars index 29bb110e..43e32903 100644 --- a/views/about.handlebars +++ b/views/about.handlebars @@ -1,4 +1,3 @@ -{{> navBar}}
diff --git a/views/channel.handlebars b/views/channel.handlebars index 488bc9fa..24fef2b2 100644 --- a/views/channel.handlebars +++ b/views/channel.handlebars @@ -1,4 +1,3 @@ -{{> navBar}}

{{this.channelName}}:{{this.longChannelId}}

Below is all the free content in this channel.

diff --git a/views/fourOhFour.handlebars b/views/fourOhFour.handlebars index ac0b00cc..3eebc496 100644 --- a/views/fourOhFour.handlebars +++ b/views/fourOhFour.handlebars @@ -1,4 +1,3 @@ -{{> navBar}}

404: Not Found

That page does not exist. Return home.

diff --git a/views/index.handlebars b/views/index.handlebars index 25d17387..e89f4756 100644 --- a/views/index.handlebars +++ b/views/index.handlebars @@ -1,4 +1,3 @@ -{{> navBar}}
diff --git a/views/layouts/main.handlebars b/views/layouts/main.handlebars index 300e480b..330582a1 100644 --- a/views/layouts/main.handlebars +++ b/views/layouts/main.handlebars @@ -27,6 +27,9 @@ - {{{ body }}} + {{> navBar}} +
+ {{{ body }}} +
\ No newline at end of file diff --git a/views/layouts/show.handlebars b/views/layouts/show.handlebars index 221e3f1a..b6448b8b 100644 --- a/views/layouts/show.handlebars +++ b/views/layouts/show.handlebars @@ -22,7 +22,10 @@ - {{{ body }}} + {{> navBar}} +
+ {{{ body }}} +
diff --git a/views/login.handlebars b/views/login.handlebars index da1d0f2e..d7726de2 100644 --- a/views/login.handlebars +++ b/views/login.handlebars @@ -1,5 +1,3 @@ -{{> navBar}} -

Log in to an existing channel:

diff --git a/views/new.handlebars b/views/new.handlebars index 25adda81..ceced433 100644 --- a/views/new.handlebars +++ b/views/new.handlebars @@ -1,23 +1,22 @@ - {{> navBar}} -
-

New on Spee.ch

-

The 25 most recent publishes on spee.ch

- {{#each newClaims}} - - {{/each}} -
+
+

New on Spee.ch

+

The 25 most recent publishes on spee.ch

+ {{#each newClaims}} + + {{/each}} +
diff --git a/views/noChannel.handlebars b/views/noChannel.handlebars index 8e146980..103e3f0b 100644 --- a/views/noChannel.handlebars +++ b/views/noChannel.handlebars @@ -1,6 +1,5 @@ - {{> navBar}} -
-

No Claims

-

There are no free assets on this channel.

-

If you think this message is an error, contact us in the LBRY slack!

-
+
+

No Claims

+

There are no free assets on this channel.

+

If you think this message is an error, contact us in the LBRY slack!

+
diff --git a/views/noClaims.handlebars b/views/noClaims.handlebars index edc1c28d..c68c1cb5 100644 --- a/views/noClaims.handlebars +++ b/views/noClaims.handlebars @@ -1,4 +1,3 @@ -{{> navBar}}

No Claims

There are no free assets at that claim. You should publish one at spee.ch.

diff --git a/views/popular.handlebars b/views/popular.handlebars index cf5a961d..effbd996 100644 --- a/views/popular.handlebars +++ b/views/popular.handlebars @@ -1,4 +1,3 @@ -{{> navBar}}
{{#each trendingAssets}} {{> contentListItem}} diff --git a/views/show.handlebars b/views/show.handlebars index 7143c2c4..1d136cf1 100644 --- a/views/show.handlebars +++ b/views/show.handlebars @@ -1,23 +1,20 @@ - - {{> navBar}} -
-
- - {{fileInfo.title}} -
-
- -
- {{> asset}} -
-
- {{fileInfo.description}} -
-
- -
- {{> assetInfo}} -
-
- -
\ No newline at end of file +
+
+ + {{fileInfo.title}} +
+
+ +
+ {{> asset}} +
+
+ {{fileInfo.description}} +
+
+ +
+ {{> assetInfo}} +
+
+
\ No newline at end of file diff --git a/views/statistics.handlebars b/views/statistics.handlebars index 1737eef9..09c4747f 100644 --- a/views/statistics.handlebars +++ b/views/statistics.handlebars @@ -1,37 +1,32 @@ - -
- {{> navBar}} -
-
-

Site Statistics

-

Serve: {{ totals.totalServe }}

-

Publish: {{ totals.totalPublish }}

-

Show: {{ totals.totalShow }}

-

Percent Success: {{ percentSuccess}}%

- - - - - - - - - {{#each records}} - - - - - - - - {{/each}} - - - - - - - -
actionurlcountsuccessfailure
{{ this.action }}{{ this.url }}{{ this.count }}{{ this.success }}{{ this.failure }}
{{ totals.totalCount }}{{ totals.totalSuccess }}{{ totals.totalFailure }}
- -
+
+

Site Statistics

+

Serve: {{ totals.totalServe }}

+

Publish: {{ totals.totalPublish }}

+

Show: {{ totals.totalShow }}

+

Percent Success: {{ percentSuccess}}%

+ + + + + + + + + {{#each records}} + + + + + + + + {{/each}} + + + + + + + +
actionurlcountsuccessfailure
{{ this.action }}{{ this.url }}{{ this.count }}{{ this.success }}{{ this.failure }}
{{ totals.totalCount }}{{ totals.totalSuccess }}{{ totals.totalFailure }}
+