File tree Expand file tree Collapse file tree 6 files changed +43
-19
lines changed
Expand file tree Collapse file tree 6 files changed +43
-19
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,8 @@ Import the library into a JavaScript file or script tag in your web page
1616
1717``` html
1818<script type =" module" >
19- import Vizzu from ' https://cdn.jsdelivr.net/npm/[email protected] /dist/vizzu.min.js' ;19+ import Vizzu from
20+ ' https://cdn.jsdelivr.net/npm/[email protected] /dist/vizzu.min.js' ; 2021 </script >
2122```
2223
Original file line number Diff line number Diff line change 3131 < div class ="container ">
3232
3333 < div id ="toc-view ">
34- < div >
34+ < div id =" logo-header " >
3535 < img class ='logo ' id ='logo-vizzu ' src ='images/logo-white.svg ' width ='110 ' />
36- < a href ='https://github.com/vizzuhq/vizzu-lib '>
37- < img class ='logo ' id ='logo-github ' src ='images/github-logo.svg ' width ='30 ' height ='30 ' />
38- </ a >
39- < a href ='https://join.slack.com/t/vizzu-community/shared_invite/zt-w2nqhq44-2CCWL4o7qn2Ns1EFSf9kEg '>
40- < img class ='logo ' id ='logo-slack ' src ='images/slack-logo.svg ' width ='30 ' height ='30 ' />
41- </ a >
36+ < div id ="logos ">
37+ < a href ='https://github.com/vizzuhq/vizzu-lib '>
38+ < img class ='logo ' id ='logo-github ' src ='images/github-logo.svg ' width ='30 ' height ='30 ' />
39+ </ a >
40+ < a href ='https://join.slack.com/t/vizzu-community/shared_invite/zt-w2nqhq44-2CCWL4o7qn2Ns1EFSf9kEg '>
41+ < img class ='logo ' id ='logo-slack ' src ='images/slack-logo.svg ' width ='30 ' height ='30 ' />
42+ </ a >
43+ </ div >
4244 </ div >
4345 < ul id ='table-of-contents ' class ='menu '>
4446 < li class ="menuitem " id ="menuitem-0 "> TUTORIAL
Original file line number Diff line number Diff line change 1313 top : 0px ;
1414 padding-bottom : 10px ;
1515 filter : drop-shadow (0 4px 4px # fafafa );
16+ z-index : 100 ;
1617}
1718
1819# examples-title {
Original file line number Diff line number Diff line change 11.container {
22 display : grid;
33 height : 100vh ;
4- grid-template-columns : 300 px 1fr ;
4+ grid-template-columns : minmax ( 200 px , 1fr ) 5 fr ;
55 grid-template-rows : 1fr ;
66 gap : 0px 0px ;
77 grid-auto-flow : row;
1313# content-view {
1414 grid-area : content-view;
1515}
16+
17+ @media screen and (max-width : 700px ) {
18+
19+ .container {
20+ display : grid;
21+ height : 100vh ;
22+ grid-template-columns : 1fr ;
23+ grid-template-rows : 1fr ;
24+ gap : 0px ;
25+ grid-auto-flow : row;
26+ grid-template-areas : "content-view" ;
27+ }
28+
29+ # toc-view { display : none; }
30+
31+ }
Original file line number Diff line number Diff line change @@ -12,14 +12,6 @@ body {
1212 line-height : 1.5em ;
1313}
1414
15- # logo-vizzu {
16- padding-right : 15px ;
17- }
18-
19- .logo {
20- outline : none;
21- }
22-
2315.subtitle {
2416 padding-top : 2em ;
2517 padding-left : 1.2em ;
Original file line number Diff line number Diff line change 22 overflow-y : auto;
33 background-color : # 333 ;
44 padding : 15px 30px 15px ;
5- padding-left : 50px ;
5+ padding-left : calc (50% - 100px );
6+ }
7+
8+ .logo {
9+ padding-left : 4px ;
10+ padding-bottom : 5px ;
11+ outline : none;
12+ }
13+
14+ # logos {
15+ padding-left : 11px ;
16+ white-space : nowrap;
17+ display : inline-block;
618}
719
820# table-of-contents {
9- padding-top : 15 px ;
21+ padding-top : 10 px ;
1022 padding-inline-start : 0px ;
1123}
1224
You can’t perform that action at this time.
0 commit comments