From 76e2c230a289d789f10bfeebc1f607f527098be8 Mon Sep 17 00:00:00 2001 From: Tyler <26290074+tylersayshi@users.noreply.github.com> Date: Fri, 25 Apr 2025 21:35:18 -0700 Subject: [PATCH] mail button --- index.html | 75 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) diff --git a/index.html b/index.html index b209eb7..308f0d1 100644 --- a/index.html +++ b/index.html @@ -45,6 +45,48 @@ color: var(--accent-light); } + button { + /* Remove all default styling */ + background: none; + border: none; + padding: 0; + margin: 0; + font: inherit; + color: inherit; + cursor: pointer; + outline: none; + + /* Fix for odd text sizing in some browsers */ + line-height: normal; + + /* Prevent text selection */ + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + + /* Remove default focus styles */ + -webkit-tap-highlight-color: transparent; + } + + button:focus-visible { + outline: 2px solid #4d90fe; + outline-offset: 2px; + } + + button::-moz-focus-inner { + border: 0; + padding: 0; + } + + body button { + background: none; + color: unset; + } + body button:hover { + color: var(--accent-light); + } + body .secondary-text { color: var(--text-secondary-light); } @@ -295,6 +337,33 @@ /> + + -- 2.51.2