From d5a800627cfd9566f6ef7e5338c9816841eb690f Mon Sep 17 00:00:00 2001 From: swee Date: Tue, 14 Jan 2025 20:03:34 -0800 Subject: [PATCH] Update style.css --- style.css | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/style.css b/style.css index ece8cfc..0481499 100644 --- a/style.css +++ b/style.css @@ -10,6 +10,22 @@ a { text-decoration:underline; text-decoration-style: dotted; } +input[type="file"]::file-selector-button { + border: none; + border-radius: 5px; + background: deepskyblue; + transition: filter 0.1s; + transition-timing-function: ease-in; + padding: 10px; + display: inline-block; + cursor: pointer; +} +input[type="file"]::file-selector-button:hover { + filter: brightness(150%); +} +input[type="file"]::file-selector-button:active { + filter: brightness(75%); +} .greentext { color: #00ae00; }