|
1 | 1 | <head> |
2 | | - <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Roboto:300,400,500,700" type="text/css"> |
| 2 | + <script src="https://cdn.jsdelivr.net/npm/deeplearn@latest"></script> |
3 | 3 | <link rel="stylesheet" href="https://code.getmdl.io/1.3.0/material.cyan-teal.min.css" /> |
| 4 | + <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/solarized-dark.min.css"> |
4 | 5 | <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
5 | 6 |
|
6 | 7 | <style> |
|
15 | 16 | color: inherit; |
16 | 17 | } |
17 | 18 |
|
| 19 | + table { |
| 20 | + text-align: left; |
| 21 | + font-family: "Roboto Mono", monospace; |
| 22 | + } |
| 23 | + |
| 24 | + thead { |
| 25 | + background-color: #dedede; |
| 26 | + } |
| 27 | + |
| 28 | + th { |
| 29 | + text-align: left; |
| 30 | + padding: 4px; |
| 31 | + } |
| 32 | + |
| 33 | + td { |
| 34 | + text-align: left; |
| 35 | + padding: 8px; |
| 36 | + padding-right: 16px; |
| 37 | + } |
| 38 | + |
18 | 39 | .container { |
19 | 40 | display: flex; |
20 | 41 | flex-direction: column; |
|
131 | 152 | } |
132 | 153 |
|
133 | 154 | .reference .subsection-title { |
134 | | - font-weight: 200; |
135 | | - margin-bottom: 80px; |
| 155 | + font-weight: 300; |
| 156 | + margin-bottom: 16px; |
| 157 | + /* border-bottom: 1px solid rgb(96,125,139); */ |
| 158 | + } |
| 159 | + |
| 160 | + .reference .subsection-description { |
| 161 | + font-weight: 300; |
| 162 | + margin-bottom: 96px; |
136 | 163 | border-bottom: 1px solid rgb(96,125,139); |
| 164 | + margin-left: 8px; |
| 165 | + } |
| 166 | + |
| 167 | + .reference .symbol-marker { |
| 168 | + display: inline-block; |
| 169 | + margin-right: 12px; |
| 170 | + font-style: italic; |
| 171 | + font-size: 90%; |
| 172 | + color: grey; |
137 | 173 | } |
138 | 174 |
|
139 | 175 | .documentation pre, .param-docs pre { |
140 | 176 | background: #f4f4f4; |
141 | 177 | } |
142 | 178 |
|
| 179 | + code.hljs { |
| 180 | + border-radius: 5px; |
| 181 | + padding-left: 16px; |
| 182 | + } |
| 183 | + |
| 184 | + pre.hljs { |
| 185 | + margin: 0; |
| 186 | + padding: 0; |
| 187 | + } |
| 188 | + |
| 189 | + |
| 190 | + |
143 | 191 | code, .param-name, .return-type { |
| 192 | + background: #f7f7f7; |
144 | 193 | background: #f4f4f4; |
145 | 194 | color: #37474f; |
146 | 195 | padding: 2px 4px; |
147 | 196 | font: 500 90%/2 Roboto Mono, monospace; |
148 | | - } |
149 | | - code { |
150 | 197 | word-break: break-word; |
151 | 198 | } |
152 | 199 |
|
|
162 | 209 |
|
163 | 210 | .reference .symbol { |
164 | 211 | margin-left: 32px; |
165 | | - margin-bottom: 80px; |
| 212 | + margin-bottom: 96px; |
166 | 213 | border-bottom: 1px dashed lightgrey; |
167 | | - padding-bottom: 50px; |
| 214 | + padding-bottom: 16px; |
168 | 215 | } |
169 | 216 |
|
170 | 217 | .reference .symbol .documentation p { |
|
256 | 303 | {{#subheadings}} |
257 | 304 | <div class="subsection"> |
258 | 305 | <div class="subsection-title mdl-typography--display-3">{{../name}} / {{name}}</div> |
259 | | - <div class="subheading-description">{{description}}</div> |
| 306 | + <div class="subsection-description mdl-typography--headline">{{{description}}}</div> |
260 | 307 | {{#symbols}} |
261 | 308 | <div class="symbol"> |
262 | | - <h5># |
| 309 | + <h5> |
| 310 | + <span class='symbol-marker'>ƒ</span> |
263 | 311 | <a name="{{urlHash}}" href="#{{urlHash}}">{{displayName}}</a>{{paramStr}} |
264 | 312 | {{#isClass}} |
265 | 313 | <span class="class-chip mdl-chip"> |
|
0 commit comments