File tree Expand file tree Collapse file tree 5 files changed +21
-6
lines changed
Expand file tree Collapse file tree 5 files changed +21
-6
lines changed Original file line number Diff line number Diff line change 3434 }
3535}
3636
37+ /* logo based on color theme */
38+ @media not (prefers-color-scheme : dark) {
39+ .logo .dark {
40+ display : none;
41+ }
42+ }
43+ @media (prefers-color-scheme : dark) {
44+ .logo .light {
45+ display : none;
46+ }
47+ }
48+
3749html {
3850 scroll-behavior : smooth;
3951 background-color : var (--bg-color );
Original file line number Diff line number Diff line change 1515 name ="description "
1616 content ="3D game framework on top of Three.js and Ammo.js (bullet3) which integrates perfectly with Phaser 3. "
1717 />
18- < link rel ="stylesheet " href ="/css/style.css?ver=1.2.3 " />
18+ < link rel ="stylesheet " href ="/css/style.css?ver=1.3.0 " />
1919 < link rel ="stylesheet " href ="/css/floating-action-button.css?ver=1.0.1 " />
2020
2121 < script SSROnly src ="//cdn.jsdelivr.net/npm/marked@3/lib/marked.min.js "> </ script >
5555 < header >
5656 < div class ="container navbar ">
5757 < a href ="/ ">
58- < div id ="logo "> < img src ="/img/enable3d-logo.png " /> </ div >
58+ < div id ="logo " class ="logo light "> < img src ="/img/enable3d-logo.png " /> </ div >
59+ < div id ="logo " class ="logo dark "> < img src ="/img/enable3d-logo-dark.png " /> </ div >
5960 </ a >
6061 < ul class ="navbar-items ">
6162 < a href ="/examples.html ">
Original file line number Diff line number Diff line change 1515 name ="description "
1616 content ="3D game framework on top of Three.js and Ammo.js (bullet3) which integrates perfectly with Phaser 3. "
1717 />
18- < link rel ="stylesheet " href ="/css/style.css?ver=1.2.3 " />
18+ < link rel ="stylesheet " href ="/css/style.css?ver=1.3.0 " />
1919 </ head >
2020
2121 < body >
3030 < header >
3131 < div class ="container navbar ">
3232 < a href ="/ ">
33- < div id ="logo "> < img src ="/img/enable3d-logo.png " /> </ div >
33+ < div id ="logo " class ="logo light "> < img src ="/img/enable3d-logo.png " /> </ div >
34+ < div id ="logo " class ="logo dark "> < img src ="/img/enable3d-logo-dark.png " /> </ div >
3435 </ a >
3536 < ul class ="navbar-items ">
3637 < a href ="/examples.html ">
Original file line number Diff line number Diff line change 1515 name ="description "
1616 content ="Cross-Platform 3D Game Framework using HTML5 and WebGL wrapping Three.js and ammo.js (bullet3). Includes Headless Physics mode for your Node.js Server and a Phaser 3D Extension. "
1717 />
18- < link rel ="stylesheet " href ="/css/style.css?ver=1.2.3 " />
18+ < link rel ="stylesheet " href ="/css/style.css?ver=1.3.0 " />
1919 </ head >
2020
2121 < body >
3030 < header >
3131 < div class ="container navbar ">
3232 < a href ="/ ">
33- < div id ="logo "> < img src ="/img/enable3d-logo.png " /> </ div >
33+ < div id ="logo " class ="logo light "> < img src ="/img/enable3d-logo.png " /> </ div >
34+ < div id ="logo " class ="logo dark "> < img src ="/img/enable3d-logo-dark.png " /> </ div >
3435 </ a >
3536 < ul class ="navbar-items ">
3637 < a href ="/examples.html ">
You can’t perform that action at this time.
0 commit comments