Socket
Book a DemoInstallSign in
Socket

github-badge

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github-badge

0.1.1
bundlerRubygems
Version published
Maintainers
1
Created
Source

github-badge

A 3d Github badge as Compass extension (original blog post)

Usage

Make sure, you’re using Sass and Compass.

gem install github-badge

config.rb

require "github-badge"

HTML:

<a id="github" href="https://github.com/hagenburger">
  <span>Fork me on GitHub!</span>
  <span>Get free lemonade!</span>
</a>

SCSS:

@import "compass";
@import "github-badge";

#github {
  @include github-badge;
}

Customization

@import "compass";
@import "github-badge";

#github {
  @include github-badge(
    $background: image-url("background.png"),
    $backside-backround: blue,
    $text-color: #00f,
    $backside-text-color: rgba(white, 0.5)
  );
}

Dependencies

  • Sass 3.1 (3.0 is not supported)
  • Compass 0.10 and 0.11

Licence

Released under the MIT License. See MIT-LICENSE for details.

© Nico Hagenburger 2011

Follow Nico on Twitter or Github.

FAQs

Package last updated on 24 Jan 2011

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.