xref: /aosp_15_r20/external/pigweed/pw_web/webconsole/styles/globals.css (revision 61c4878ac05f98d0ceed94b57d316916de578985)
1/*
2 * Copyright 2022 The Pigweed Authors
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5 * use this file except in compliance with the License. You may obtain a copy of
6 * the License at
7 *
8 *     https://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, WITHOUT
12 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 * License for the specific language governing permissions and limitations under
14 * the License.
15 */
16@import url('https://fonts.googleapis.com/css2?family=Google+Sans&family=Roboto+Mono:wght@400;500&family=Material+Symbols+Outlined&display=swap');
17html,
18body {
19  padding: 0;
20  margin: 0;
21  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,
22    Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
23}
24
25a {
26  color: inherit;
27  text-decoration: none;
28}
29
30* {
31  box-sizing: border-box;
32}
33
34@media (prefers-color-scheme: dark) {
35  html {
36    color-scheme: dark;
37  }
38  body {
39    color: white;
40    background: black;
41  }
42}
43