Skip to content

Commit 3dd3e5b

Browse files
committed
Add sytle for kbd.
1 parent a56ce41 commit 3dd3e5b

File tree

1 file changed

+27
-8
lines changed

1 file changed

+27
-8
lines changed

assets/css/extended/custom.css

Lines changed: 27 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,34 @@
4141
}
4242

4343
.qr-container {
44-
display: flex;
45-
flex-direction: column;
46-
align-items: center;
47-
justify-content: center;
48-
margin: 20px 0;
44+
display: flex;
45+
flex-direction: column;
46+
align-items: center;
47+
justify-content: center;
48+
margin: 20px 0;
4949
}
5050

5151
.qr-container > image {
52-
width: 150px;
53-
height: 150px;
54-
display: block;
52+
width: 150px;
53+
height: 150px;
54+
display: block;
55+
}
56+
57+
kbd {
58+
background-color: #f7f7f7;
59+
border: 1px solid #ccc;
60+
border-radius: 3px;
61+
box-shadow: 0 1px 0 rgba(0,0,0,0.2);
62+
color: #333;
63+
display: inline-block;
64+
font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
65+
font-size: 0.85em;
66+
line-height: 1.4;
67+
margin: 0 0.1em;
68+
padding: 0.1em 0.6em;
69+
text-shadow: 0 1px 0 #fff;
70+
}
71+
72+
kbd + kbd {
73+
margin-left: 0.3em;
5574
}

0 commit comments

Comments
 (0)