From ac1319e7204200577eb8aba74655de8b3e2d4f0a Mon Sep 17 00:00:00 2001 From: James Taylor Date: Mon, 16 Jul 2018 02:05:46 -0700 Subject: Support for downloading video in all available formats --- youtube/shared.css | 38 ++++++++++++++++++++++++++++++++------ 1 file changed, 32 insertions(+), 6 deletions(-) (limited to 'youtube/shared.css') diff --git a/youtube/shared.css b/youtube/shared.css index 33acb4f..6803e05 100644 --- a/youtube/shared.css +++ b/youtube/shared.css @@ -1,4 +1,4 @@ -h1, h2, h3, h4, h5, h6, div{ +h1, h2, h3, h4, h5, h6, div, button{ margin:0; padding:0; @@ -32,9 +32,6 @@ body{ grid-row: 2; } -button{ - padding:0; /* Fuck browser-specific styling. Fix your shit mozilla */ -} address{ font-style:normal; } @@ -126,7 +123,7 @@ address{ .full-item{ display: grid; - grid-template-rows: 0fr 0fr 0fr 0fr 0fr; + grid-template-rows: 0fr 0fr 0fr 0fr 20px 0fr 0fr; grid-template-columns: 1fr 1fr; align-content: start; } @@ -372,4 +369,33 @@ address{ border-width: 2px; font-weight: bold; text-align: center; - } \ No newline at end of file + } + + +.dropdown{ + z-index:1; + justify-self:start; + min-width:0px; +} + + .dropdown-label{ + background-color: #e9e9e9; + border-style: outset; + border-width: 2px; + font-weight: bold; + } + + .dropdown-content{ + display:none; + background-color: #e9e9e9; + } + .dropdown:hover .dropdown-content { + display: grid; + grid-auto-rows:30px; + } + .dropdown-content a{ + white-space: nowrap; + display:grid; + grid-template-columns: 60px 90px auto; + max-height: 1.2em; + } \ No newline at end of file -- cgit v1.2.3