64ad58f19f
This also re-introduces app-theme.html that we will use for general color choices and any other CSS vars that should be shared. In the future it should be separated into two different files: one for theming and one for UI layout that we'd prefer users not to change. The use of ems and rems is for the responsive layout. In the case that the font size changes as a result of the window changing size, the margins/padding should be relative to that font size, not absolute. Not everything was fixed to be relative sizing. That will come in a further change as the UI is more fleshed out. Change-Id: I5a0e7cb6e46a4ca4e1ea52c71c9b7c75f1b42608
51 lines
1.1 KiB
CSS
51 lines
1.1 KiB
CSS
/*
|
|
Copyright (C) 2015 The Android Open Source Project
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
*/
|
|
|
|
@import "//fonts.googleapis.com/css?family=Open+Sans:400,700";
|
|
@import "//fonts.googleapis.com/css?family=Source+Code+Pro";
|
|
|
|
*,
|
|
*::after,
|
|
*::before {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
html,
|
|
body {
|
|
height: 100%;
|
|
transition: none; /* Override the default Polymer fade-in. */
|
|
}
|
|
body {
|
|
font: 11px 'Open Sans', sans-serif;
|
|
}
|
|
|
|
@media only screen and (min-width: 1240px) {
|
|
body {
|
|
font-size: 12px;
|
|
}
|
|
}
|
|
@media only screen and (min-width: 1340px) {
|
|
body {
|
|
font-size: 13px;
|
|
}
|
|
}
|
|
@media only screen and (min-width: 1450px) {
|
|
body {
|
|
font-size: 14px;
|
|
}
|
|
}
|