|
- <!DOCTYPE html>
- <html lang="en-PH">
- <head>
- <meta charset="UTF-8" />
- <link rel="icon" type="image/svg+xml" href="/src/favicon.svg" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <title>Numerica</title>
- <style>
- :root {
- --color-bg: white;
- --color-fg: black;
- }
-
- :root {
- background-color: var(--color-bg);
- color: var(--color-fg);
- }
-
- body {
- margin: 0;
- font-size: 5vw;
- }
-
- form {
- display: block;
- width: 100vw;
- height: 100vh;
- text-align: center;
- }
-
- .locale {
- width: 100%;
- height: 5%;
- border: 0;
- padding: 0 2rem;
- margin: 0;
- text-align: inherit;
- font: inherit;
- font-size: 0.25em;
- display: grid;
- place-content: center;
- outline: 0;
- appearance: none;
- -webkit-appearance: none;
- -moz-appearance: none;
- background-color: var(--color-bg);
- color: var(--color-fg);
- border-radius: 0;
- box-sizing: border-box;
- }
-
- .input {
- width: 100%;
- height: 45%;
- border: 0;
- padding: 0 2rem;
- margin: 0;
- text-align: inherit;
- font: inherit;
- display: grid;
- place-content: center;
- outline: 0;
- background-color: inherit;
- color: inherit;
- border-radius: 0;
- box-sizing: border-box;
- resize: none;
- }
-
- .output {
- width: 100%;
- height: 50%;
- border: 0;
- padding: 0 2rem;
- margin: 0;
- text-align: inherit;
- font: inherit;
- display: grid;
- place-content: center;
- outline: 0;
- background-color: inherit;
- color: inherit;
- border-radius: 0;
- box-sizing: border-box;
- font-size: 0.5em;
- resize: none;
- }
-
- @media only screen and (prefers-color-scheme: dark) {
- :root {
- --color-bg: black;
- --color-fg: white;
- }
- }
- </style>
- </head>
- <body>
- <div id="root"></div>
- <script type="module" src="/src/main.tsx"></script>
- </body>
- </html>
|