-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathall.less
69 lines (59 loc) · 1.47 KB
/
all.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
@import 'markdown.less';
body {
font-family: 'Roboto';
}
#otc {
h1, h2, h3, h4 {
font-weight: 100;
}
}
#documentation {
p {
line-height: 1.5;
}
.comment {
p {
margin: 0px;
}
}
}
a {
color: rgb(66, 66, 66);
}
/*
* Adds always visible scrollbars on OSX so that user knows the content is scrollable
* Source: https://davidwalsh.name/osx-overflow
*/
::-webkit-scrollbar {
-webkit-appearance: none;
width: 7px;
}
::-webkit-scrollbar-thumb {
border-radius: 4px;
background-color: rgba(0, 0, 0, .5);
-webkit-box-shadow: 0 0 1px rgba(255, 255, 255, .5);
}
// Hack: For some reason the animation applied to the material-ui textfield causes the overflow
// applied to other elements to fail while the animation is underway. Adding this class to the
// affected component fixes the issue
// Source: http://stackoverflow.com/questions/14383632/webkit-border-radius-and-overflow-bug-when-using-any-animation-transition
.transitionFix {
-webkit-backface-visibility: hidden;
-moz-backface-visibility: hidden;
-webkit-transform: translate3d(0, 0, 0);
-moz-transform: translate3d(0, 0, 0);
}
.thin {
font-weight: 100;
}
code {
font-family: 'Roboto';
background-color: #f3f4f4;
color: rgb(36, 41, 46);
padding: 3px;
&.hljs {
background-color: #dde4e9 !important; // blue gray
border-left: 5px solid #00b8d4 !important; // colors.cyanA700
padding: 30px;
}
}