diff options
Diffstat (limited to 'youtube/static/channel.css')
-rw-r--r-- | youtube/static/channel.css | 29 |
1 files changed, 16 insertions, 13 deletions
diff --git a/youtube/static/channel.css b/youtube/static/channel.css index ada086d..e842beb 100644 --- a/youtube/static/channel.css +++ b/youtube/static/channel.css @@ -1,9 +1,3 @@ -html { - font-family: "liberation serif", "times new roman", calibri, carlito, serif; - background: var(--background); - color: var(--text); -} - body { display: grid; grid-gap: 20px; @@ -39,6 +33,8 @@ input[type="search"] { padding: 0.4rem 0.4rem; font-size: 15px; color: var(--search-text); + outline: none; + box-shadow: none; } input[type='search'] { @@ -206,8 +202,10 @@ label[for=options-toggle-cbox] { } #options-toggle-cbox:checked ~ .dropdown-content { - display: inline-grid; + display: block; white-space: nowrap; + background: var(--secondary-background); + padding: 0.5rem 1rem; } /*- ----------- End Menu Mobile sin JS ------------- */ @@ -258,7 +256,8 @@ hr { padding-top: 6px; text-align: center; white-space: nowrap; - border: none; + border: 1px solid; + border-color: var(--button-border); border-radius: 0.2rem; } @@ -510,15 +509,19 @@ hr { .dropdown { display: grid; grid-gap: 1px; - grid-template-columns: minmax(50px, 100px); + grid-template-columns: 100px auto; grid-template-areas: "dropdown-label" "dropdown-content"; grid-area: dropdown; - background: var(--background); - padding-right: 4rem; - z-index: 1; position: absolute; + z-index: 1; + } + + #options-toggle-cbox:checked ~ .dropdown-content { + width: calc(100% + 100px); + max-height: 80vh; + overflow-y: scroll; } .author-container { @@ -534,7 +537,7 @@ hr { grid-area: playlist; } .play-clean { - grid-template-columns: minmax(50px, 100px); + grid-template-columns: 100px auto; } .play-clean > button { padding-left: 0px; |