From fbdac374165c32a53040a8f2896ac2306b60313d Mon Sep 17 00:00:00 2001 From: Clay Murphy Date: Fri, 3 Oct 2014 14:58:50 -0700 Subject: [PATCH] Docs: Making source.android.com headers match those of developer.android.com Bug: 17814801 Change-Id: I128a76b32b0d92118f621062c62d72460313f4d6 --- .../templates-sac/assets/css/default.css | 33 +++++++++++-------- 1 file changed, 20 insertions(+), 13 deletions(-) diff --git a/tools/droiddoc/templates-sac/assets/css/default.css b/tools/droiddoc/templates-sac/assets/css/default.css index 0d9e60105f..c1a0c19d79 100644 --- a/tools/droiddoc/templates-sac/assets/css/default.css +++ b/tools/droiddoc/templates-sac/assets/css/default.css @@ -1016,12 +1016,13 @@ table, fieldset { } h1 { color:#333; - font-size: 22px; - margin: 20px 0 20px; + font-size: 34px; + margin: 36px 0 27px; padding:0 0 10px; + font-weight:300; } h1, h2 { - line-height: 32px; + line-height: 30px; } h1.short { margin-right:320px; @@ -1030,35 +1031,41 @@ h1.short { margin-right:320px; } h1.super { - font-size: 37px; + font-size: 37px; } h2 { color:#333; - font-size: 20px; - margin: 20px 0 20px; + font-size: 26px; + margin: 32px 0 20px; padding:0; + font-weight:300; } h3 { color:#333; - font-size: 18px; + font-size: 21px; + font-weight:400; + margin:21px 0 14px 0; } h3, h4 { - color:#333; - line-height: 20px; - margin: 10px 0; + line-height: 21px; } h4 { - font-size: 16px; + font-size: 18px; + margin: 12px 0; + font-weight:500; } h5 { - font-size: 14px; + font-size: 14px; } h5, h6 { margin: 5px 0; } h6 { - font-size: 12px; + font-size: 12px; } + + + hr { /* applied to the bottom of h2 elements */ height: 1px; margin: 5px 0 20px;