From 1b63fdedb55c1c652c8a46afce73865ad46861f2 Mon Sep 17 00:00:00 2001 From: dan Date: Wed, 8 Mar 2023 16:37:47 -0500 Subject: feat: posts can have an image --- style.css | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'style.css') diff --git a/style.css b/style.css index 2b8fc44..890b398 100644 --- a/style.css +++ b/style.css @@ -162,3 +162,19 @@ textarea { .navbar { height: 2em; } + +#image::file-selector-button { + border: 0; + line-height: 2.5; + padding: 0 20px; + font-size: 1rem; + text-align: center; + color: #fff; + text-shadow: 1px 1px 1px #000; + border-radius: 10px; + background-color: rgba(0, 0, 240, 0.6); + background-image: linear-gradient(to top left, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 30%, rgba(0, 0, 0, 0)); + box-shadow: inset 2px 2px 3px rgba(255, 255, 255, 0.6), inset -2px -2px 3px rgba(0, 0, 0, 0.6); + margin-top:2px; + cursor: pointer; +} -- cgit v1.2.3