forked from olton/Metro-UI-CSS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
code.less
47 lines (42 loc) · 781 Bytes
/
code.less
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/*
* Metro UI CSS
* Copyright 2012 Sergey Pimenov
* Licensed under the MIT Lilcense
*
* Code.less
*
*/
code, pre {
padding: 0 3px 2px;
#font > .normal;
font-size: 10pt;
color: @grayDark;
}
code {
padding: 2px 4px;
#font > .tertiary;
color: #d14;
background-color: #f7f7f9;
border: 1px #e1e1e8 solid;
}
pre {
display: block;
padding: 10px;
margin: 0;
line-height: 14pt;
word-break: break-all;
word-wrap: break-word;
white-space: pre;
white-space: pre-wrap;
background-color: #f5f5f5;
border: 1px solid rgba(0,0,0,.15);
&.prettyprint {
margin-bottom: 10px;
}
code {
padding: 0;
color: inherit;
background-color: transparent;
border: 0;
}
}