From 35a598df038259af2dc2f07c828b44d7dd1281b5 Mon Sep 17 00:00:00 2001 From: Frederic Hemberger Date: Mon, 17 Oct 2011 20:14:29 +0200 Subject: Adds support for Google+ widget, supports author information in search results, fixes #203 --- .themes/classic/sass/partials/_sidebar.scss | 1 + .../classic/sass/partials/sidebar/_googleplus.scss | 26 ++++++++++++++++++++++ .../source/_includes/asides/googleplus.html | 11 +++++++++ 3 files changed, 38 insertions(+) create mode 100644 .themes/classic/sass/partials/sidebar/_googleplus.scss create mode 100644 .themes/classic/source/_includes/asides/googleplus.html (limited to '.themes/classic') diff --git a/.themes/classic/sass/partials/_sidebar.scss b/.themes/classic/sass/partials/_sidebar.scss index ac790e04..eec540ba 100644 --- a/.themes/classic/sass/partials/_sidebar.scss +++ b/.themes/classic/sass/partials/_sidebar.scss @@ -1,4 +1,5 @@ @import "sidebar/base"; @import "sidebar/twitter"; +@import "sidebar/googleplus"; @import "sidebar/pinboard"; @import "sidebar/delicious"; diff --git a/.themes/classic/sass/partials/sidebar/_googleplus.scss b/.themes/classic/sass/partials/sidebar/_googleplus.scss new file mode 100644 index 00000000..c2a693ee --- /dev/null +++ b/.themes/classic/sass/partials/sidebar/_googleplus.scss @@ -0,0 +1,26 @@ +.googleplus { + h1 { + -moz-box-shadow: none !important; + -webkit-box-shadow: none !important; + -o-box-shadow: none !important; + box-shadow: none !important; + border-bottom: 0px none !important; + } + a { + text-decoration: none; + white-space: normal !important; + line-height: 32px; + + img { + float: left; + margin-right: 0.5em; + border: 0 none; + } + } +} + +.googleplus-hidden { + position: absolute; + top: -1000em; + left: -1000em; +} diff --git a/.themes/classic/source/_includes/asides/googleplus.html b/.themes/classic/source/_includes/asides/googleplus.html new file mode 100644 index 00000000..00a0aa85 --- /dev/null +++ b/.themes/classic/source/_includes/asides/googleplus.html @@ -0,0 +1,11 @@ +{% if site.googleplus_user %} +
+

+ + + Google+ + +

+
+{% endif %} + -- cgit v1.2.1