]> git.ardis.lu - static-encrypt/commitdiff
Add basic styling
authorArdis Lu <ardisglu@gmail.com>
Thu, 23 Feb 2023 04:16:21 +0000 (20:16 -0800)
committerArdis Lu <ardisglu@gmail.com>
Thu, 23 Feb 2023 04:16:21 +0000 (20:16 -0800)
template.html

index 0e587ee1125fe35dda1a0b7f968e7983445d63c1..6725b95d2a3c717e8bccd65e2ec152dba596a9bd 100644 (file)
@@ -8,11 +8,36 @@
   <title>Enter password</title>
   <style>
     body {
+      font-family: -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif;
       min-block-size: 100dvb;
       margin: 0;
+      background: hsl(216deg 50% 98%);
+      color: hsl(216deg 50% 10%);
       display: grid;
       place-items: center;
     }
+
+    input,
+    button {
+      font-size: 1rem;
+      padding-inline: 4px;
+      padding-block: 8px 6px;
+      border-radius: 4px;
+      border: 1px solid hsl(216deg 50% 80%);
+      transition: filter 600ms, border 600ms;
+    }
+
+    :is(input, button):focus-within,
+    button:hover {
+      border: 1px solid hsl(216deg 50% 70%);
+      filter: drop-shadow(0 0 4px hsl(216deg 50% 80%));
+      transition: filter 200ms, border 200ms;
+    }
+
+    button {
+      background: hsl(216deg 50% 90%);
+      cursor: pointer;
+    }
   </style>
 </head>
 
This page took 0.038652 seconds and 4 git commands to generate.