diff options
author | Joe Fernandez <joefernandez@google.com> | 2015-08-13 23:02:37 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-08-13 23:02:37 +0000 |
commit | 71e0a80c2c2fdc26bb014685eebb874aa40f782d (patch) | |
tree | 07864118cf8f8d79c326927a053a35c3a7310770 /tools/droiddoc/templates-sdk | |
parent | 743938fb0d4f56d7d009486fb90891eab9b50897 (diff) | |
parent | 083da203472b9cdb190db8c63ccd8609bd1e8e73 (diff) | |
download | build-71e0a80c2c2fdc26bb014685eebb874aa40f782d.zip build-71e0a80c2c2fdc26bb014685eebb874aa40f782d.tar.gz build-71e0a80c2c2fdc26bb014685eebb874aa40f782d.tar.bz2 |
Merge "doc change: Add hero image for m and css for landing pages." into mnc-dev
Diffstat (limited to 'tools/droiddoc/templates-sdk')
-rw-r--r-- | tools/droiddoc/templates-sdk/assets/css/default.css | 66 | ||||
-rw-r--r-- | tools/droiddoc/templates-sdk/assets/images/home/android_m_hero_1200.jpg | bin | 0 -> 112883 bytes |
2 files changed, 66 insertions, 0 deletions
diff --git a/tools/droiddoc/templates-sdk/assets/css/default.css b/tools/droiddoc/templates-sdk/assets/css/default.css index 693027a..5a2967f 100644 --- a/tools/droiddoc/templates-sdk/assets/css/default.css +++ b/tools/droiddoc/templates-sdk/assets/css/default.css @@ -8787,3 +8787,69 @@ $spritesheet: width height image $spritesheet-sprites; position: absolute; top: -4px; } + +/* CHANGE EXISTING SELECTOR FOR ANDROID M HERO ONLY + REMOVE THE BELOW STYLES WHEN THE ANDROID M CAROUSEL + GRAPHIC ON THE MAIN LANDING IS TAKEN DOWN */ +.dac-hero.mprev { + background-color: #fff; + background-position: 50% 53%; + background-size: cover; + background-image: url(../../assets/images/home/android_m_hero_1200.jpg); + box-sizing: border-box; + font-size: 16px; + min-height: 550px; + padding-top: 88px; +} +.dac-hero.dac-darken.mprev::before { + background: rgba(0, 0, 0, 0.3); + bottom: 0; + content: ''; + display: block; + left: 0; + position: absolute; + right: 0; + top: 0; +} + +.dac-hero.dac-darken.mprev::before { + background: -webkit-linear-gradient(top, rgba(0, 0, 0, .05), rgba(0, 0, 0, .05), #000 950px); + background: linear-gradient(to bottom, rgba(0, 0, 0, .05), rgba(0, 0, 0, 0.05), #000 950px); +} + +@media (max-width: 719px) { + + .dac-hero.dac-darken.mprev { + background-size: auto 600px; + background-position: 55% 0; + background-repeat: no-repeat; + } + + .dac-hero-figure.mprev { + height: 10px; + margin: 15px 0; + } +} + +@media (max-width: 719px) { + + .dac-hero.dac-darken.mprev { + background-size: auto 600px; + background-position: 55% 0; + background-repeat: no-repeat; + } + + .dac-hero-figure.mprev { + height: 10px; + margin: 15px 0; + } +} + +@media (max-width: 1200px) { + + .dac-hero.dac-darken.mprev { + background-size: auto 600px; + background-position: 55% 0; + background-repeat: no-repeat; + } +}
\ No newline at end of file diff --git a/tools/droiddoc/templates-sdk/assets/images/home/android_m_hero_1200.jpg b/tools/droiddoc/templates-sdk/assets/images/home/android_m_hero_1200.jpg Binary files differnew file mode 100644 index 0000000..6b79295 --- /dev/null +++ b/tools/droiddoc/templates-sdk/assets/images/home/android_m_hero_1200.jpg |