blob: 4abeeee34b24e926aa41fae3c96ecd75eb279e09 [file] [log] [blame]
/* Copyright 2022 The Chromium Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file. */
@import '//resources/css/md_colors.css';
@import '//resources/css/text_defaults_md.css';
html {
--google-grey-200: rgb(232, 234, 237);
--google-grey-900: rgb(32, 33, 36);
}
body {
box-sizing: border-box;
color: var(--google-grey-900);
height: 100%;
margin: 0;
padding: 16px;
width: 100%;
}
@media (prefers-color-scheme: dark) {
body {
background: var(--md-background-color);
color: var(--google-grey-200);
}
}
h1 {
font-size: 1.5em;
margin: 0;
margin-block-end: 16px;
}
h2 {
font-size: 1.2em;
margin-block-end: 12px;
margin-block-start: 16px;
}
.demos {
align-items: flex-start;
display: flex;
flex-direction: column;
gap: 16px;
margin-bottom: 24px;
}
.row {
display: flex;
gap: 16px;
}
.row.center {
align-items: center;
}
.flex {
display: flex;
}