]> git.ardis.lu - ardislu.dev/commitdiff
Add styling for the <kbd> tag
authorArdis Lu <ardisglu@gmail.com>
Wed, 15 Sep 2021 05:25:50 +0000 (22:25 -0700)
committerArdis Lu <ardisglu@gmail.com>
Wed, 15 Sep 2021 05:25:50 +0000 (22:25 -0700)
style.css

index 23d2a77563cd5221de6340428ba5cd28df210d51..58ca69ef4363cfcc1f6ffbf64017ce5b196ceba1 100644 (file)
--- a/style.css
+++ b/style.css
@@ -23,6 +23,14 @@ a:hover, a:focus {
   text-decoration: underline;
 }
 
+kbd {
+       font-family: Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;
+       font-size: 0.75em;
+       padding: 0 0.5em;
+       border: 1px solid;
+       background-color: hsl(0deg 0% 94%);
+}
+
 .card-container {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
This page took 0.038968 seconds and 4 git commands to generate.