Skip to content
/ drkb Public

Commit d641d15

Browse files
committed
Scalable font size in code highlighter
1 parent eee92bf commit d641d15

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

kb/css/sh.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
.dp-highlighter
33
{
44
font-family: Consolas, Menlo, Monaco, "Courier New", Courier, monospace;
5-
font-size: 12px;
5+
font-size: .95em;
66
background-color: #efeee8;
77
width: 100%;
88
overflow: auto;
@@ -110,7 +110,7 @@
110110
.dp-highlighter .tools
111111
{
112112
padding: 3px 8px 3px 10px;
113-
font: 9px Verdana, Geneva, Arial, Helvetica, sans-serif;
113+
font-family: Verdana, Helvetica, 'Helvetica Neue', Arial, sans-serif;
114114
color: silver;
115115
background-color: #f8f8f8;
116116
padding-bottom: 10px;
@@ -126,7 +126,7 @@
126126
}
127127
.dp-highlighter .tools a
128128
{
129-
font-size: 9px;
129+
font-size: 80%;
130130
color: #a0a0a0;
131131
background-color: inherit;
132132
text-decoration: none;

0 commit comments

Comments
 (0)