diff options
author | David Gay <david@davidgay.org> | 2021-04-06 21:56:44 -0400 |
---|---|---|
committer | David Gay <david@davidgay.org> | 2021-04-06 21:56:44 -0400 |
commit | 4ed2a36d48b6677d7ddb137e073a985d6391b8b4 (patch) | |
tree | 5e94cc8de10e747f3157142a6fab73e99b047dcf /app/javascript/stylesheets | |
parent | b85c671ca482e9d36bd2ee94231f365e7e0d65a5 (diff) |
Super-bare-bones pokemon adding and viewing
Diffstat (limited to 'app/javascript/stylesheets')
-rw-r--r-- | app/javascript/stylesheets/core.css | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/app/javascript/stylesheets/core.css b/app/javascript/stylesheets/core.css index a174cfb..15b234b 100644 --- a/app/javascript/stylesheets/core.css +++ b/app/javascript/stylesheets/core.css @@ -8,3 +8,38 @@ a:hover { p { margin-top: 1rem; } + +label { + @apply mb-2; +} + +input { + @apply border border-black p-1; +} +input:focus { + @apply outline-none border; +} + +button, [type="button"], [type="reset"], [type="submit"] { + @apply py-1 px-2 cursor-pointer; +} +button:hover, [type="button"]:hover, [type="reset"]:hover, [type="submit"]:hover { + @apply bg-gray-300; +} + +button:focus, [type="button"]:focus, [type="reset"]:focus, [type="submit"]:focus { +} + +select { + @apply border border-black p-1; +} +select:focus { + @apply border-gray-700; +} + +textarea { + @apply border border-black p-1; +} +textarea:focus { + @apply border-gray-700; +} |