diff --git a/src/pages/login.css b/src/pages/login.css new file mode 100644 index 00000000..69cc6c28 --- /dev/null +++ b/src/pages/login.css @@ -0,0 +1,26 @@ +#login { + padding: 16px; + background-image: radial-gradient( + closest-side at 50% 50%, + var(--bg-color), + transparent + ); +} + +#login .error { + color: var(--red-color); +} + +#login label p { + margin: 0 0 0.25em 0; + padding: 0; + text-transform: uppercase; + font-size: 90%; + font-weight: bold; + color: var(--text-insignificant-color); +} + +#login input { + display: block; + width: 100%; +} diff --git a/src/pages/login.jsx b/src/pages/login.jsx index 39975136..9dd2dc76 100644 --- a/src/pages/login.jsx +++ b/src/pages/login.jsx @@ -1,3 +1,5 @@ +import './login.css'; + import { useEffect, useRef, useState } from 'preact/hooks'; import Loader from '../components/loader'; @@ -53,7 +55,7 @@ function Login() { }; return ( -
+

Log in