Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for GetMonitorWidth/Height #62

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mundusnine
Copy link

the css needs to be changed to this to actually view the effect:

        body {
            /* Lite Mode */
            background: var(--color-lite);
            color: var(--color-dark);
            margin: 0px;
            border: 0;
           /*  Disable scrollbars */
            overflow: hidden;
            /* No floating content on sides */
            display: block;
            /* Dark Mode */
            @media (prefers-color-scheme: dark) {
                background: var(--color-dark);
                color: var(--color-lite);
            }
        }

        #game {
            position: absolute;
            top: 0px;
            left: 0px;
            /* transform: translate(-50%, -50%); */
            border: 1px solid var(--color-dark);

            @media (prefers-color-scheme: dark) {
               border: 1px solid var(--color-lite);
            }

        }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant