-
-
Notifications
You must be signed in to change notification settings - Fork 144
/
Copy pathaddon.scss
113 lines (92 loc) · 2.02 KB
/
addon.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
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
@use "sass:meta";
@tailwind base;
@tailwind components;
@tailwind utilities;
@include meta.load-css('tailwind/components/docs-brand-colors');
@include meta.load-css('tailwind/components/docs-btn');
@include meta.load-css('tailwind/components/docs-container');
@include meta.load-css('tailwind/components/docs-md');
@include meta.load-css('utilities/masks');
@include meta.load-css('utilities/nudge');
@include meta.load-css('components/docs-header-search-box');
@include meta.load-css('components/docs-hero');
@include meta.load-css('components/docs-keyboard-shortcuts');
@include meta.load-css('components/docs-viewer-x-current-page-index');
@include meta.load-css('components/docs-viewer-x-nav');
@include meta.load-css('components/modal-dialog');
@include meta.load-css('syntax');
// Figure out how to do this in tailwind
.docs-fill-current {
&,
& * {
fill: currentColor;
}
}
* {
box-sizing: border-box;
}
html {
@apply docs-min-h-screen;
@apply docs-flex;
@apply docs-flex-col;
}
body {
@apply docs-antialiased;
@apply docs-font-sans;
@apply docs-text-base;
@apply docs-leading-normal;
@apply docs-text-grey-darkest;
@apply docs-flex-1;
@apply docs-flex;
@apply docs-flex-col;
}
body > .ember-view {
@apply docs-flex-1;
@apply docs-flex;
@apply docs-flex-col;
@apply docs-bg-white;
}
pre {
margin: 0;
}
svg {
fill: currentColor;
}
.docs-transition {
transition: all 0.15s;
}
h1 > .heading-anchor:before,
h2 > .heading-anchor:before,
h3 > .heading-anchor:before {
content: '\B6';
cursor: pointer;
display: block;
float: left;
visibility: hidden;
color: #aaa;
}
h1 > .heading-anchor:hover:before,
h2 > .heading-anchor:hover:before,
h3 > .heading-anchor:hover:before {
visibility: visible;
}
h1 > a:before {
font-size: 0.7em;
width: 0.7em;
padding: 0.2em 0;
margin-left: -0.9em;
}
h2 > a:before {
font-size: 0.85em;
width: 0.8em;
padding: 0.1em 0em;
margin-left: -0.9em;
}
h3 > a:before {
font-size: 1em;
width: 0em;
margin-left: -0.9em;
}
table {
width: 100%;
}