|
12 | 12 | <body> |
13 | 13 |
|
14 | 14 | <div class="d-flex"> |
15 | | - <div class="header item-center">RustPython 🐍 😱 🤘</div> |
| 15 | + <div class="header md-flex-grow text-center">RustPython 🐍 😱 🤘</div> |
16 | 16 | <div> |
17 | | - <a target="_blank" class="mr-px-5 text-black" href="https://github.com/RustPython/RustPython/tree/master/wasm/notebook">how this works</a> |
| 17 | + <a target="_blank" class="d-md-none mr-px-5 text-black" href="https://github.com/RustPython/RustPython/tree/master/wasm/notebook">how this works</a> |
18 | 18 | <a target="_blank" class="text-black" href="https://github.com/RustPython/"> github</a> |
19 | 19 | </div> |
20 | 20 | </div> |
21 | 21 |
|
22 | 22 | <!-- navigation bar --> |
23 | 23 | <div class="nav-bar mt-px-5"> |
24 | | - <div class="nav-bar-links d-flex d-flex-space-between"> |
25 | | - <div class="d-flex"> |
26 | | - <a href="#" id="run-btn" class="bg-orange text-white mr-px-5">run ► </a> |
27 | | - <ul class="list-inline" id="buffers-list"></ul> |
28 | | - <a href="#" id="new-tab" class="bg-light mr-px-5 text-black">new tab</a> |
29 | | - <a href="#popup" id="import-code" class="bg-light mr-px-5 text-black">import code</a> |
| 24 | + <div class="nav-bar-links d-flex d-flex-space-between d-sm-flex-direction-column"> |
| 25 | + <div class="d-flex d-sm-flex-direction-column "> |
| 26 | + <a href="#" id="run-btn" class="bg-orange mr-px-5 text-white">run ► </a> |
| 27 | + <ul class="list-inline sm-mt-5px" id="buffers-list"></ul> |
| 28 | + <ul class="list-inline sm-mt-5px"> |
| 29 | + <li class="bg-light mr-px-5"> <a href="#" class="text-black" id="new-tab">new tab</a></li> |
| 30 | + <li class="bg-light mr-px-5"><a href="#popup" class="text-black" id="import-code">import code</a></li> |
| 31 | + </ul> |
30 | 32 | </div> |
31 | | - |
32 | | - <div class="nav-bar-links d-flex"> |
33 | | - <a href="#" id="split-view" class="bg-light mr-px-5 text-black">split view</a> |
34 | | - <a href="#" id="default-view" class="bg-light mr-px-5 text-black">default view</a> |
35 | | - <a href="#" id="reader-view" class="bg-light text-black">reader view</a> |
| 33 | + <div class="nav-bar-links d-flex sm-mt-5px"> |
| 34 | + <ul class="list-inline "> |
| 35 | + <li class="d-md-none bg-light"><a href="#" id="split-view" class="mr-px-5 text-black">split view</a></li> |
| 36 | + <li class="d-md-none bg-light"><a href="#" id="default-view" class="mr-px-5 text-black">default view</a></li> |
| 37 | + <li class="d-md-none bg-light"><a href="#" id="reader-view" class="text-black">reader view</a></li> |
| 38 | + </ul> |
36 | 39 | </div> |
37 | | - |
38 | 40 | </div> |
39 | 41 | </div> |
40 | 42 |
|
41 | 43 | <!-- code editor and output display --> |
42 | 44 | <!-- split view --> |
43 | | - <div class="split-view full-height"> |
| 45 | + <div class="split-view full-height d-sm-flex-direction-column "> |
44 | 46 | <div id="primary-editor"></div> |
45 | 47 | <div id="secondary-editor" class="d-none"> |
46 | 48 | <select class="item-right" id="buffers-selection"></select> |
|
0 commit comments