File tree Expand file tree Collapse file tree 1 file changed +26
-19
lines changed
Expand file tree Collapse file tree 1 file changed +26
-19
lines changed Original file line number Diff line number Diff line change 2424 top : 100px ;
2525 left : 100px ;
2626 max-width : 830px ;
27- z-index : 100 ;
27+ z-index : 10 ;
2828 background-color : white;
2929 font-size : initial;
3030 display : none;
4646 position : fixed;
4747 bottom : 0 ;
4848 width : 100% ;
49- z-index : 1000 ;
49+ z-index : 100 ;
5050 background-color : white;
5151 font-size : initial;
5252 }
5858 cursor : pointer;
5959 }
6060
61- # float-panel {
62- position : absolute;
63- right : 50px ;
64- }
65-
6661 # float-panel a : link , a : visited {
6762 background-color : white;
6863 color : black;
10095 top : 4px ;
10196 }
10297
98+ # demos , # more , # github {
99+ position : absolute;
100+ top : 0 ;
101+ }
102+
103+ # demos {
104+ right : 90px ;
105+ width : 285px ;
106+ }
107+
108+ # github {
109+ right : 50px ;
110+ }
111+
103112 # more {
104113 display : none;
105114 }
111120 }
112121
113122 @media only screen and (max-width : 1000px ) {
114- # float-panel {
123+ # github {
115124 right : 1px ;
116125 }
117126
118- # float-panel a .icon {
119- margin-left : -3px ;
120- }
121-
122127 # demos {
123128 position : absolute;
124129 top : 31px ;
125- right : 37px ;
130+ right : 48px ;
131+ width : 100px ;
126132 display : none;
127133 box-shadow : 0px 8px 16px 0px rgba (0 , 0 , 0 , 0.2 );
128- z-index : 1 ;
134+ z-index : 1000 ;
129135 }
136+
130137 # demos .show {
131138 display : block;
132139 }
136143 }
137144
138145 # more {
146+ right : 38px ;
139147 border : 1px solid # 654ff0 ;
140- padding : 4px 1px ;
141- margin-left : -5px ;
142- height : 22px ;
143- display : inline-block;
148+ padding : 5px 1px ;
149+ height : 20px ;
150+ display : block;
144151 background-color : white;
145152 }
146153 }
156163 < a href ="/wasm/example "> Simple</ a >
157164 < a href ="/wasm/hello "> Hello</ a >
158165 </ span >
159- < a href ="https://kotl.in/wasm-examples " target ="_blank " class ="icon " title ="https://kotl.in/wasm-examples "> < img src ="/resources/github-mark.svg " width ="20 " alt ="github "/> </ a >
166+ < a id =" github " href ="https://kotl.in/wasm-examples " target ="_blank " class ="icon " title ="https://kotl.in/wasm-examples "> < img src ="/resources/github-mark.svg " width ="20 " alt ="github "/> </ a >
160167</ div >
161168< script type ="application/javascript ">
162169 let demos = document . getElementById ( "demos" ) ;
You can’t perform that action at this time.
0 commit comments