diff --git a/css/poketube.css b/css/poketube.css index c6d0566e..6c21f29b 100644 --- a/css/poketube.css +++ b/css/poketube.css @@ -73,6 +73,7 @@ --ptd-margin-base: 4px; --ptd-avatar-size: 32px; --ptd-toolbar-height: 56px; + --ptd-button-spacing: 6px; /* margins */ --ptd-margin-2x: 8px; @@ -131,6 +132,21 @@ a { color: var(--text-link); } +a.avatar { + height: 36px; + margin-left: 6px; + font-size: 0; +} + +.video-chnl-info-pill > a:first-child { + margin-right: -8px; +} + +/* If the "Encryption duh" duplication bug is fixed, remove this rule. */ +.new-button.button-encryption + a[title="Encryption duh"] { + display: none; +} + .video > .info > .title { font-family: var(--text-font-primary); width: 10em; @@ -260,7 +276,7 @@ a { font-family: Inter; clear: both; margin-top: 1.1em; - padding: 4.5px; + padding: 5px 0; background: #0009; margin-right: -13px; width: fit-content; @@ -282,7 +298,7 @@ a { grid-area: buttons; display: flex; flex-direction: row; - column-gap: 3px; + column-gap: var(--ptd-button-spacing); height: min-content; width: -moz-fit-content; width: fit-content; @@ -557,6 +573,10 @@ a { display: block; } +label[for="loggedout-dropdown"] { + cursor: pointer; +} + .new-button.engagement:hover { background-color: #0009; } diff --git a/css/watch.main.css b/css/watch.main.css index 2ce77b98..e279af09 100644 --- a/css/watch.main.css +++ b/css/watch.main.css @@ -322,7 +322,7 @@ a.icon-button > img { color: var(--text-primary); justify-content: center; align-content: center; - column-gap: 4px; + column-gap: var(--ptd-button-spacing); text-decoration: none; height: 36px; line-height: 32px; diff --git a/html/landing.ejs b/html/landing.ejs index b7a1af78..edca9255 100644 --- a/html/landing.ejs +++ b/html/landing.ejs @@ -212,7 +212,16 @@ section#landing-page { font-stretch: ultra-expanded; font-weight: 1000; } - + +.product-container { + display: flex; + justify-content: center; + position: relative; + top: 11.5em; + padding-bottom: 2em; + overflow: hidden; +} + .btn-explore { padding: 20px; display: flex; @@ -253,13 +262,13 @@ font-stretch: ultra-expanded; margin-block-end: 1em; margin-inline-start: 0; margin-inline-end: 0; - margin-top: 0; + margin-top: 1rem; margin-bottom: 1rem; + margin-left: 0.2rem; font-family: Whitney, Helvetica Neue, Helvetica, Arial, sans-serif; font-weight: 400; font-size: 16px; line-height: 24px; -margin-top: 12px; z-index: 10; /* Was 2 */" } @@ -316,8 +325,8 @@ z-index: 10; /* Was 2 */" Discover Videos -