-
Notifications
You must be signed in to change notification settings - Fork 516
/
Copy pathindex.scss
68 lines (55 loc) · 1.06 KB
/
index.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
56
57
58
59
60
61
62
63
64
65
66
67
68
@use "sass:math";
@import "~@mdn/minimalist/sass/vars/mdn-web-docs-palette";
@import "~@mdn/minimalist/sass/vars/layout";
@import "~@mdn/minimalist/sass/vars/typography";
@import "~@mdn/minimalist/sass/mixins/utils";
.sidebar {
font-size: $small-font-size;
padding: $base-spacing;
h4 {
font-family: $heading-font-family;
font-size: $medium-font-size;
margin-bottom: $base-spacing;
}
ol {
@include reset-list();
width: 100%;
ol,
ul {
@media #{$mq-tablet-and-up} {
padding-left: math.div($base-spacing, 2);
}
}
}
summary,
li {
margin-bottom: math.div($base-spacing, 2);
}
a {
hyphens: auto;
}
code {
background-color: transparent;
white-space: normal;
word-wrap: normal;
}
summary {
cursor: pointer;
}
details {
margin: $base-spacing 0;
}
.icon {
background-size: 18px;
height: 18px;
width: 18px;
}
/* icons in sidebars */
.icon-experimental,
.icon-nonstandard {
color: $mdn-blue700;
}
.icon-deprecated {
color: $mdn-red700;
}
}