forked from scala/docs.scala-lang
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcheatsheet.scss
55 lines (48 loc) · 956 Bytes
/
cheatsheet.scss
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
48
49
50
51
52
53
54
55
// CHEATSHEET
//------------------------------------------------
//------------------------------------------------
.content-primary.cheatsheet {
code {
font-family: 'Consolas';
}
pre.highlight {
margin: 0;
code {
padding: 0;
background: #fff;
border: 0;
}
}
.h2 {
display: block;
font-size: $font-size-h2;
font-weight: $font-black;
color: $gray-darker;
padding-top: 26px;
}
h6 {
color: $base-font-color-light;
font-family: $base-font-family;
text-transform: uppercase;
font-size: $font-size-small;
}
.label {
display: inline-block;
// position: absolute;
// right: 0;
position: relative;
// float: right;
top: 3px;
color: #fff;
text-transform: uppercase;
font-size: 11px;
font-weight: 700;
padding: 1px 5px;
}
.important {
background: $brand-primary;
}
.success {
background: $brand-secondary;
}
}