Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(70)

Unified Diff: ui/webui/resources/css/text_defaults_md.css

Issue 1516233003: Incognito NTP style tweaks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update Roboto font with full charset version Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/webui/resources/css/roboto.css ('k') | ui/webui/resources/roboto/roboto-light.woff2 » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/webui/resources/css/text_defaults_md.css
diff --git a/ui/webui/resources/css/text_defaults.css b/ui/webui/resources/css/text_defaults_md.css
similarity index 70%
copy from ui/webui/resources/css/text_defaults.css
copy to ui/webui/resources/css/text_defaults_md.css
index 037ade7efb1ba8ba3cf1594976eff8b7f2822e3f..a2b2022667a8bfa2a1e68e4ff115d2ca835a34b5 100644
--- a/ui/webui/resources/css/text_defaults.css
+++ b/ui/webui/resources/css/text_defaults_md.css
@@ -1,4 +1,4 @@
-/* Copyright 2014 The Chromium Authors. All rights reserved.
+/* Copyright 2015 The Chromium Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file. */
@@ -9,21 +9,23 @@
* There are two ways to include this stylesheet:
* 1. via its chrome://resources/ URL in HTML, i.e.:
*
- * <link rel="stylesheet" href="chrome://resources/css/text_defaults.css">
+ * <link rel="stylesheet" href="chrome://resources/css/text_defaults_md.css">
*
- * 2. via the webui::AppendWebUICSSTextDefaults() method to directly append it
+ * 2. via the webui::AppendWebUICSSTextDefaultsMd() method to directly append it
* to an HTML string.
* Otherwise its $placeholders won't be expanded. */
+@import url(chrome://resources/css/roboto.css);
+
html {
direction: ${textDirection};
}
body {
- font-family: ${fontFamily};
+ font-family: Roboto, ${fontFamily};
font-size: ${fontSize};
}
button {
- font-family: ${fontFamily};
+ font-family: Roboto, ${fontFamily};
}
« no previous file with comments | « ui/webui/resources/css/roboto.css ('k') | ui/webui/resources/roboto/roboto-light.woff2 » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698