From 9be15f0f0d7b0e6db5da4300e3a312f9a333ef44 Mon Sep 17 00:00:00 2001 From: Surma Date: Mon, 6 Jul 2015 16:11:25 +0100 Subject: [PATCH] Fix microsite footer (fixes #731) (Closes #732) --- docs/_assets/github_white_24.svg | 16 ++++++++++++++++ docs/_assets/main.css | 21 ++++++++++----------- docs/_templates/layout.html | 9 ++++----- 3 files changed, 30 insertions(+), 16 deletions(-) create mode 100644 docs/_assets/github_white_24.svg diff --git a/docs/_assets/github_white_24.svg b/docs/_assets/github_white_24.svg new file mode 100644 index 00000000..14625a56 --- /dev/null +++ b/docs/_assets/github_white_24.svg @@ -0,0 +1,16 @@ + + + + Shape + Created with Sketch. + + + + + + + + + + + \ No newline at end of file diff --git a/docs/_assets/main.css b/docs/_assets/main.css index 218d3c89..fa9caf6c 100644 --- a/docs/_assets/main.css +++ b/docs/_assets/main.css @@ -249,20 +249,20 @@ body:not(.about) .mdl-navigation__link.download > button { font-weight: 500; text-transform: uppercase; } -.docs-footer { +.docs-footer.mdl-mini-footer { flex-direction: column; align-items: stretch; justify-content: center; height: 120px; } -.docs-footer ul { +.docs-footer.mdl-mini-footer ul { padding: 0; display: flex; flex-direction: row; justify-content: center; align-items: center; } -.docs-footer ul > a { +.docs-footer.mdl-mini-footer ul > a { margin: 0 8px; font-weight: 400; font-size: 12px; @@ -490,7 +490,7 @@ body:not(.about) .mdl-navigation__link.download > button { .component-description .mdl-button:first-of-type { margin-top: 8px; } -.social-btn { +.docs-footer.mdl-mini-footer .social-btn { background-position: center; background-size: contain; background-repeat: no-repeat; @@ -501,13 +501,15 @@ body:not(.about) .mdl-navigation__link.download > button { cursor: pointer; } .social-btn__twitter { - background-image: url('https://www.gstatic.com/images/icons/material/system/1x/post_twitter_white_24dp.png'); + background-image: url('https://www.gstatic.com/images/icons/material/system/2x/post_twitter_white_24dp.png'); } -.social-btn__blogger { - background-image: url('https://www.gstatic.com/images/icons/material/system/1x/post_blogger_white_24dp.png'); +.social-btn__github { + background-image: url('github_white_24.svg'); + width: 22px; + height: 22px; } .social-btn__gplus { - background-image: url('https://www.gstatic.com/images/icons/material/system/1x/post_gplus_white_24dp.png'); + background-image: url('https://www.gstatic.com/images/icons/material/system/2x/post_gplus_white_24dp.png'); } .subpageheader { margin-top: 60px; @@ -1208,9 +1210,6 @@ code[class*=language-], pre[class*=language-] { .social-btn__twitter { background-image: url('https://www.gstatic.com/images/icons/material/system/2x/post_twitter_white_24dp.png'); } - .social-btn__blogger { - background-image: url('https://www.gstatic.com/images/icons/material/system/2x/post_blogger_white_24dp.png'); - } .social-btn__gplus { background-image: url('https://www.gstatic.com/images/icons/material/system/2x/post_gplus_white_24dp.png'); } diff --git a/docs/_templates/layout.html b/docs/_templates/layout.html index 7cf1347f..e9bd2815 100644 --- a/docs/_templates/layout.html +++ b/docs/_templates/layout.html @@ -116,14 +116,13 @@