From a4d2b1dd343c2abde14843055c40a77e4cc7643b Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Sun, 13 Nov 2011 12:44:30 +0100 Subject: Add buttons for sharing on FB, Google+ and Delicious --- src/stylesheets/application.sass | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) (limited to 'src/stylesheets') diff --git a/src/stylesheets/application.sass b/src/stylesheets/application.sass index 8541f20..711de1d 100644 --- a/src/stylesheets/application.sass +++ b/src/stylesheets/application.sass @@ -42,6 +42,7 @@ strong #content +content-pane background-image: url('/images/content_background.jpg') + padding-bottom: 40px #body position: relative top: 160px @@ -61,4 +62,38 @@ strong .intro font-size: 105% - font-weight: bolder \ No newline at end of file + font-weight: bolder + +$sharebar-height: 40px +$button-height: $sharebar-height - 5px + +#sharebar + position: fixed + bottom: 0 + left: 10% + right: 10% + height: $sharebar-height + border-top: 1px solid lightgray + font-size: 80% + background-color: rgba(0, 0, 0, 0.7) + +.sharebutton + display: inline-block + vertical-align: top + padding-top: 6px + +#facebook_button + +#delicious_button + padding-right: 3em + .icon + display: inline-block + height: $button-height + .link + display: inline-block + height: $button-height + padding-top: 3px + vertical-align: middle + font-size: 8pt + +#google_plus_button -- cgit v1.2.3