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 24
24
top : 100px ;
25
25
left : 100px ;
26
26
max-width : 830px ;
27
- z-index : 100 ;
27
+ z-index : 10 ;
28
28
background-color : white;
29
29
font-size : initial;
30
30
display : none;
46
46
position : fixed;
47
47
bottom : 0 ;
48
48
width : 100% ;
49
- z-index : 1000 ;
49
+ z-index : 100 ;
50
50
background-color : white;
51
51
font-size : initial;
52
52
}
58
58
cursor : pointer;
59
59
}
60
60
61
- # float-panel {
62
- position : absolute;
63
- right : 50px ;
64
- }
65
-
66
61
# float-panel a : link , a : visited {
67
62
background-color : white;
68
63
color : black;
100
95
top : 4px ;
101
96
}
102
97
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
+
103
112
# more {
104
113
display : none;
105
114
}
111
120
}
112
121
113
122
@media only screen and (max-width : 1000px ) {
114
- # float-panel {
123
+ # github {
115
124
right : 1px ;
116
125
}
117
126
118
- # float-panel a .icon {
119
- margin-left : -3px ;
120
- }
121
-
122
127
# demos {
123
128
position : absolute;
124
129
top : 31px ;
125
- right : 37px ;
130
+ right : 48px ;
131
+ width : 100px ;
126
132
display : none;
127
133
box-shadow : 0px 8px 16px 0px rgba (0 , 0 , 0 , 0.2 );
128
- z-index : 1 ;
134
+ z-index : 1000 ;
129
135
}
136
+
130
137
# demos .show {
131
138
display : block;
132
139
}
136
143
}
137
144
138
145
# more {
146
+ right : 38px ;
139
147
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;
144
151
background-color : white;
145
152
}
146
153
}
156
163
< a href ="/wasm/example "> Simple</ a >
157
164
< a href ="/wasm/hello "> Hello</ a >
158
165
</ 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 >
160
167
</ div >
161
168
< script type ="application/javascript ">
162
169
let demos = document . getElementById ( "demos" ) ;
You can’t perform that action at this time.
0 commit comments