about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2020-02-10T00·08+0000
committerVincent Ambo <tazjin@google.com>2020-02-10T00·08+0000
commitb56b3db2f4aa008e8df6205451a89046bec81226 (patch)
tree976501225326de04e15a6a2f7075e8693df2098b
parent9ed53f420123620f558f0ba89174c219f0e12d52 (diff)
style(web/homepage): Highlight <kbd> elements like buttons r/523
-rw-r--r--web/homepage/static/tazjin.css14
1 files changed, 14 insertions, 0 deletions
diff --git a/web/homepage/static/tazjin.css b/web/homepage/static/tazjin.css
index 668c27606c..aea4d426ea 100644
--- a/web/homepage/static/tazjin.css
+++ b/web/homepage/static/tazjin.css
@@ -167,3 +167,17 @@ img {
     color: #a52714;
     background-color: #fbe9e7;
 }
+
+kbd {
+    background-color: #eee;
+    border-radius: 3px;
+    border: 1px solid #b4b4b4;
+    box-shadow: 0 1px 1px rgba(0, 0, 0, .2), 0 2px 0 0 rgba(255, 255, 255, .7) inset;
+    color: #333;
+    display: inline-block;
+    font-size: .85em;
+    font-weight: 700;
+    line-height: 1;
+    padding: 2px 4px;
+    white-space: nowrap;
+}