aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/less/all.less
blob: d288b182b0e675637cc5907ec28b29345db6c63a (plain) (blame)
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
body {
    font-family: 'Roboto';
}

a {
    color: black;
}

#faq {
    li {
        padding-bottom: 5px;
    }

    a {
        color: rgb(66, 66, 66);
    }
}

#landing {
    .h1,
    .h2,
    .h3,
    .h4 {
        font-family: 'Roboto Mono';
    }
}

#portal {
    h1,
    h2,
    h3,
    h4 {
        font-weight: 100;
    }
}

#scroll_container {
    .typeTooltip {
        border: 1px solid lightgray;
        opacity: 1;
    }
}

/*
 * 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: 4px;
    height: 2px;
}
::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, 0.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 {
    border: 1px solid #e3eefe;
    border-radius: 4px;
    font-family: 'Roboto Mono';
    //background-color: #f2f6ff !important; // lightBlue
}

#wiki {
    p {
        color: #515151; // grey750
        fontsize: 15;
    }

    a {
        color: #1d5cde; // linkBlue
    }

    p,
    blockquote,
    ol,
    dl,
    li,
    table,
    pre {
        margin: 15px 0;
    }

    li {
        margin: 5px 0;
    }

    table {
        padding: 0;
        border-collapse: collapse;
    }
    table tr {
        border-top: 1px solid #cccccc;
        background-color: white;
        margin: 0;
        padding: 0;
    }
    table tr:nth-child(2n) {
        background-color: #f8f8f8;
    }
    table tr th {
        font-weight: bold;
        border: 1px solid #cccccc;
        text-align: left;
        margin: 0;
        padding: 6px 13px;
    }
    table tr td {
        border: 1px solid #cccccc;
        text-align: left;
        margin: 0;
        padding: 6px 13px;
    }
    table tr th :first-child,
    table tr td :first-child {
        margin-top: 0;
    }
    table tr th :last-child,
    table tr td :last-child {
        margin-bottom: 0;
    }
}