From 8f9cefc98e25d9e0f931dfe6dc2acced818700ee Mon Sep 17 00:00:00 2001 From: sanine-a Date: Tue, 13 Apr 2021 15:12:25 -0500 Subject: add style dropdowns and reset() function --- style.css | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'style.css') diff --git a/style.css b/style.css index d233b02..564d6df 100644 --- a/style.css +++ b/style.css @@ -58,6 +58,7 @@ body { border-style: solid; border-width: 2px; display: inline-block; + margin: 2px; } @@ -84,12 +85,21 @@ body { .StyleDropdownButton { + color: black; + background-color: white; padding: 10px; border-radius: 8px; border-style: solid; border-width: 2px; + border-color: #2af; display: inline-block; - min-width: 100px; + min-width: 180px; + margin: 2px; +} + +.StyleDropdownButton:hover +{ + background-color: #eee; } .StyleDropdownContainer @@ -102,10 +112,10 @@ body { { display: none; position: absolute; - min-width: 160px; + min-width: 220px; max-height: 500%; z-index: -1; - overflow: scroll; + overflow-y: scroll; } .StyleDropdownContent a -- cgit v1.2.1