|
| 1 | +/** |
| 2 | + * Copyright 2025 Google LLC |
| 3 | + * |
| 4 | + * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | + * you may not use this file except in compliance with the License. |
| 6 | + * You may obtain a copy of the License at |
| 7 | + * |
| 8 | + * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | + * |
| 10 | + * Unless required by applicable law or agreed to in writing, software |
| 11 | + * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | + * See the License for the specific language governing permissions and |
| 14 | + * limitations under the License. |
| 15 | + */ |
| 16 | + |
| 17 | +:root { |
| 18 | + font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif; |
| 19 | + line-height: 1.5; |
| 20 | + font-weight: 400; |
| 21 | + |
| 22 | + color-scheme: light dark; |
| 23 | + color: rgba(255, 255, 255, 0.87); |
| 24 | + background-color: #242424; |
| 25 | + |
| 26 | + font-synthesis: none; |
| 27 | + text-rendering: optimizeLegibility; |
| 28 | + -webkit-font-smoothing: antialiased; |
| 29 | + -moz-osx-font-smoothing: grayscale; |
| 30 | +} |
| 31 | + |
| 32 | +a { |
| 33 | + font-weight: 500; |
| 34 | + color: #646cff; |
| 35 | + text-decoration: inherit; |
| 36 | +} |
| 37 | +a:hover { |
| 38 | + color: #535bf2; |
| 39 | +} |
| 40 | + |
| 41 | +body { |
| 42 | + margin: 0; |
| 43 | + display: flex; |
| 44 | + place-items: center; |
| 45 | + min-width: 320px; |
| 46 | + min-height: 100vh; |
| 47 | +} |
| 48 | + |
| 49 | +h1 { |
| 50 | + font-size: 3.2em; |
| 51 | + line-height: 1.1; |
| 52 | +} |
| 53 | + |
| 54 | +button { |
| 55 | + border-radius: 8px; |
| 56 | + border: 1px solid transparent; |
| 57 | + padding: 0.6em 1.2em; |
| 58 | + font-size: 1em; |
| 59 | + font-weight: 500; |
| 60 | + font-family: inherit; |
| 61 | + background-color: #1a1a1a; |
| 62 | + cursor: pointer; |
| 63 | + transition: border-color 0.25s; |
| 64 | +} |
| 65 | +button:hover { |
| 66 | + border-color: #646cff; |
| 67 | +} |
| 68 | +button:focus, |
| 69 | +button:focus-visible { |
| 70 | + outline: 4px auto -webkit-focus-ring-color; |
| 71 | +} |
| 72 | + |
| 73 | +@media (prefers-color-scheme: light) { |
| 74 | + :root { |
| 75 | + color: #213547; |
| 76 | + background-color: #ffffff; |
| 77 | + } |
| 78 | + a:hover { |
| 79 | + color: #747bff; |
| 80 | + } |
| 81 | + button { |
| 82 | + background-color: #f9f9f9; |
| 83 | + } |
| 84 | +} |
0 commit comments