File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -475,7 +475,8 @@ function drawBranchInfo(array $release): void
475475
476476 (() => {
477477 const layout = document.querySelector('#landing-content');
478- const isLightMode = window.matchMedia('(prefers-color-scheme: light)').matches
478+ const isLightMode = <?= (($ _GET ['theme ' ] ?? 'dark ' ) === 'light ' ? 'true ' : 'false ' ) ?> ;
479+ // window.matchMedia('(prefers-color-scheme: light)').matches
479480 if (isLightMode) {
480481 layout.classList.remove('landing-dark');
481482 layout.classList.add('landing-light');
Original file line number Diff line number Diff line change 150150 margin-bottom : 1em ;
151151}
152152
153+ .landing-light .landing-ver-hero-img {
154+ background : # aaaaaa ;
155+ padding : 1em ;
156+ border-radius : var (--card-radius );
157+ box-sizing : border-box;
158+ }
159+
153160@media (max-width : 400px ) {
154161 .landing-ver-hero-img {
155162 height : 40px ;
You can’t perform that action at this time.
0 commit comments